Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Too many tag manager tags firing on page load: how to fix it

PRF-045Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A tag manager is a single snippet on your site that loads and runs many other scripts (tags): analytics, ad pixels, heatmaps, chat widgets and more. Each tag has a trigger that decides when it runs. The most common trigger is All Pages (called Page View in GTM), which runs the tag as soon as the page starts loading.

Why it costs you leads or sales

While the main thread is busy running tag code, it cannot respond to a visitor. A person who taps your Book now button or starts typing in a form during that window sees nothing happen. This shows up as poor INP (Interaction to Next Paint, the Core Web Vitals measure of how fast a page reacts to input) and as long tasks over 50 ms.

How tag overload reaches your conversions
  1. Page starts loadingGTM container loads
  2. All Pages tags fireDozens of scripts and requests start at once
  3. Main thread busyTaps and keystrokes wait
  4. Visitor leaves or double-tapsForm or checkout not started

The break happens on page load, before the visitor can act.

Tags on All Pages vs time the page is blockedExample numbers
Tags on All Pages vs time the page is blocked (example)5 tags: 150 ms; 15 tags: 450 ms; 30 tags: 900 ms03456901504509005 tags15 tags30 tagsms

Example: illustrative numbers showing how blocking time can grow as more tags fire on page load. Your own figures will differ.

How to check if your site has it

Count what fires on a page
  1. Open GTM Preview modeGoogle Tag Manager

    In your container click Preview, enter your page URL and open it. Tag Assistant lists every tag under Tags Fired for each event.

  2. Count tags on the Container Loaded and Page View events

    Select Container Loaded, Page View (or Initialization, Consent Initialization) and DOM Ready in the left panel. Note how many tags appear under Tags Fired on each.

  3. Check the Network tab

    Open browser DevTools, go to Network, reload and filter by Fetch/XHR or Img. Count requests to analytics and ad domains. Several hits to the same vendor often mean duplicate tags.

  4. Check the Performance panel

    Record a page load in DevTools Performance. Look for long tasks (marked with a red corner) that start from googletagmanager.com or vendor scripts.

  5. Review the tag listGoogle Tag Manager

    In GTM go to Tags and sort by Firing Triggers. Look for many tags on All Pages, paused-looking old names, and tags with no recent use.

How to fix it

Trim and re-time your tags
  1. List every tag with its trigger and owner

    Export the list from GTM (Admin > Export Container, or copy names into a sheet). Add who needs each tag and which report it feeds.

  2. Delete dead and duplicate tags

    Remove tags for ended campaigns, tools you no longer use and second copies of the same pixel. Pause first if unsure, then delete after a week of checking.

  3. Keep only essentials on page view

    Consent setup, your main analytics config tag and the key ad pixels can stay early. Everything else should wait.

  4. Move non-essential tags to later triggers

    Change heatmaps, chat widgets, social embeds and remarketing helpers to the Window Loaded trigger, a timer trigger, or a scroll or click trigger.

  5. Fire conversion tags on the real event

    Conversion tags should fire on the form submit, thank-you page or purchase event, not on every page.

  6. Merge where possible

    Use one GA4 config tag with event tags instead of many near-identical tags. Use tag sequencing only where order really matters.

  7. Publish with a version noteGoogle Tag Manager

    Write what you changed so you can roll back from Versions if something breaks.

Where to make the change
  1. Change the trigger

    Open the tag, click Triggering, remove All Pages and add a trigger of type Window Loaded, Timer or a click/scroll trigger.

  2. Use folders and naming

    Put tags in folders by vendor so duplicates are easy to spot.

Delay a non-essential script until the page has loadedjavascript
window.addEventListener('load', function () {
  setTimeout(function () {
    var s = document.createElement('script');
    s.src = 'https://example.com/widget.js';
    s.async = true;
    document.head.appendChild(s);
  }, 2000);
});
Container before and after

Before

  • All tags on All Pages
  • Two copies of the Meta pixel
  • Old campaign tags still live
  • Chat and heatmap load immediately

After

  • Only consent and core analytics early
  • One copy of each pixel
  • Dead tags removed
  • Chat and heatmap on Window Loaded

How to confirm it's fixed

Confirmation checks
  • GTM Preview shows fewer tags under Page View and Container Loaded
  • Each vendor receives one hit per event, not two
  • Network tab shows fewer requests during the first seconds
  • DevTools Performance shows shorter long tasks from GTM and vendor scripts
  • Conversion events still reach GA4, Google Ads and Meta when you submit a test form
  • Lighthouse or PageSpeed Insights shows lower Total Blocking Time than before

How to prevent it happening again

Habits that keep the container lean
  • Require a named owner and a purpose for every new tag
  • Default new tags to a specific trigger, never All Pages
  • Review the container every quarter and delete unused tags
  • Add an expiry date to campaign tags in their name or notes
  • Check for hard-coded pixels before adding the same one in GTM
  • Re-test page speed after each container publish

How FunnelGuard handles this

FunnelGuard detects this issue only partly. When its robot visitor runs your journeys, it counts the tracking hits sent to each ad and analytics vendor (GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X, Reddit). If a vendor receives more hits than expected, that can point to duplicate or over-firing tags.

Questions people ask

Why is Google Tag Manager slowing down my website?

GTM itself is small, but it loads every tag you put in it. If many tags fire on page load, they download scripts and run code at the same time, which keeps the browser busy and delays clicks. Remove unused tags and move non-essential ones to later triggers.

How many tags is too many in Google Tag Manager?

There is no fixed limit. What matters is how many fire on page load and how heavy they are. A few light tags are fine, while a dozen heavy ones such as heatmaps, chat and ad pixels on All Pages can cause long tasks.

How do I see which tags fire on page load in GTM?

Click Preview in your container, enter the page URL and open it. In Tag Assistant select events such as Container Loaded and Page View, then read the Tags Fired list. Cross-check with the Network tab in browser DevTools.

Should I use the All Pages trigger for every tag?

No. Use All Pages only for tags that truly need to run on every page right away, such as consent setup and core analytics. Use Window Loaded, timers or event triggers for the rest, and fire conversion tags on the real conversion event.

Do tag manager tags hurt INP?

They can. Tags run JavaScript on the main thread, and if that work is happening when a visitor taps a button, the response is delayed. Fewer and later-firing tags reduce long tasks and help INP.

Why are my conversions counted twice after adding GTM?

The same pixel is often installed twice, once in GTM and once in the theme, a plugin or a platform setting. Look at the page source and the Network tab for two hits to the same vendor, then remove one copy.

Can FunnelGuard tell me if I have too many tags?

Only partly. FunnelGuard counts tracking hits per vendor during its journey checks, which can reveal duplicates. It does not list your container tags or measure script blocking time, so use GTM Preview and DevTools for that.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: hits counted per vendor.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.