TechnicalTag bloat

Third-party scripts

Externally hosted JavaScript such as analytics, tag managers, consent tools, chat widgets and ad code, which are a leading cause of poor INP and CLS.

In full

Third parties add uncontrolled DNS lookups, connections and main-thread work, and a tag manager makes it easy to accumulate them without review. Mitigations include auditing tags against actual business use, loading them after interaction or with `async`, using facades for chat and video embeds, and running an in-house performance budget on tag weight. Consent banners deserve special attention because they run early and often shift layout.

Example

Removing four unused marketing tags cuts total blocking time by 1.1 s and moves INP from 340 ms to 180 ms.

Related terms

Interaction to Next Paint

A Core Web Vital measuring overall responsiveness as the latency of the worst (approximately) interaction on a page; good is 200 ms or…

Cumulative Layout Shift

A Core Web Vital scoring unexpected visual movement of page content, computed from the largest burst of layout shifts; good is 0.1 or less…

Render-blocking resources

Stylesheets and synchronous scripts in the head that must be downloaded and processed before the browser can paint anything.

Core Web Vitals

Google's set of three field-measured user experience metrics — LCP, INP and CLS — used as part of the page experience signals in ranking.

Google Analytics 4

Google's event-based analytics platform, which replaced Universal Analytics in July 2023 and models sessions and users from event streams.