Feedback

Google Tag Manager: impact on page speed

Category: Tag management

Google Tag Manager loads a container that in turn loads and runs other tags such as analytics, ad pixels and heatmaps. Its cost depends far more on what is inside the container than on the container script itself.

On 62 % of the 41458 homepages measured, Google Tag Manager is among the five heaviest third parties. Where it is, it takes a median of 284 ms of main-thread time; on the heaviest quarter of those sites it takes 550 ms or more.

62 %

of homepages: among the five heaviest third parties

284 ms

median main-thread time

550 ms

main-thread time on the heaviest quarter (p75)

323 KB

median transfer size

Distribution across homepages

Percentiles across 25882 homepages with Google Tag Manager.

Percentile Main-thread time Transfer size
p25
155 ms
179 KB
Median
284 ms
323 KB
p75
550 ms
548 KB
p90
922 ms
851 KB

In context

On 55 % of the homepages where it appears, Google Tag Manager alone uses 250 milliseconds of main-thread time or more, the mark from which Lighthouse flags third-party code.

On a typical homepage Google Tag Manager makes up 8.6 % of the page weight.

Other Tag management tools

Based on homepages where the tool is among the five heaviest third parties (measurements before October 18, 2026).

Tools per category

Often loaded together with

Share of homepages with Google Tag Manager where the other tool is also among the five heaviest third parties.

How to spot Google Tag Manager on your page

In the network panel the container appears as gtm.js from googletagmanager.com, followed by everything it injects. Main-thread time attributed to Google Tag Manager therefore often includes the work of tags inside it, so the number says as much about the container's contents as about the tool. A container that has grown over several agencies and campaigns is the typical case where a cleanup pays off faster than any code change on the site itself.

How long Google Tag Manager blocks the main thread on your own page is shown by the Total Blocking Time test.

How to reduce the impact of Google Tag Manager

Frequently asked questions

How can I load Google Tag Manager with less impact?

Audit the container and remove tags, triggers and variables that no longer feed a report anyone reads. Replace "All Pages" triggers with page-specific or event-based triggers wherever a tag is only needed in one place.

Does Google Tag Manager affect Core Web Vitals?

Google Tag Manager itself rarely moves a Core Web Vital. What it loads does: tags that fire on page load run on the main thread while the page is still rendering and handling the first taps, which shows up in INP, and tags that insert banners or widgets above the content cause layout shifts. Container size and trigger timing therefore matter more than the container script.

Method and sample: Third-Party Benchmark.

Run a free test Create a free account All third parties in the benchmark