Skip to content

How to control third-party script weight

Speed1 min readFixes check third-party-weight

Tag managers, chat widgets, ads and pixels often outweigh the page itself and block the main thread. Load them late, remove what nobody uses.

Step by step, with screenshots: Core Web Vitals for news and publisher sites: ads, embeds and CLS →

Check your own site

Runs this check and the other 186, free, in about 45 seconds.

What a passing site looks like

  • Third-party code weight: passeswarning · −2 ptseffort M

Third-party code weight

Why it matters. Tags, widgets and embeds from other companies run on your visitors' phones at your page's expense. Over 250 KB or 250 ms of blocking is a sign they dominate the load.

How to fix it.
  1. List what each third party gives you; remove the ones nobody looks at.
  2. Load the rest after interaction or with a facade (a static thumbnail for YouTube, a click-to-load chat button).
  3. Move tags into a tag manager that fires them late, not in <head>.

Filed under Speed & Core Web Vitals. Copy is generated from the same catalogue that scores every report, so what you read here is what the report says.