Skip to content
Nazmul Nikhil
Menu

3rd Parties in PageSpeed Insights: Measure and Trim Third-Party Code

PageSpeed lists every third-party script with its size and main-thread time. Here's how to decide what to keep, delay or remove, from analytics to chat widgets.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
3rd Parties in PageSpeed Insights: Measure and Trim Third-Party Code
Photo: Compare Fibre on Unsplash

In short

The 3rd parties insight lists third-party resources loaded on the page, grouped by provider, with transfer size and main-thread time. It doesn't fail by itself; it shows where weight comes from. Remove what you don't use, delay what isn't needed for the first screen, and choose lighter versions where you can.

Analytics, tag managers, chat widgets, review badges, maps and ads all come from other domains, and they add up.

Replaced: third-party-summary ("Reduce the impact of third-party code").

Keep, delay or remove

Type Usually
Analytics (one instance) Keep
Duplicate analytics or old pixels Remove
Chat widgets Load on interaction or after a delay
YouTube or map embeds Click-to-load placeholder
A/B testing scripts Keep only during tests
Social share widgets Replace with plain links

Tag managers

Google Tag Manager shows up here often. The container itself is small; the tags inside it are the cost. Audit tags and triggers, and remove ones for past campaigns.

The "Show 3rd-party resources" toggle

Other insights have this toggle. Turn it on to see whether a problem is your code or someone else's.

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsThird party scripts pagespeedReduce the impact of third-party codeThird parties insight
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Core Web Vitals

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com