How to audit a messy Google Tag Manager container (a checklist)

By Motabar Javaid · · 4 min read

Short answer: To audit a Google Tag Manager container, check in this order: is GA4 loaded twice (in GTM and hard coded), are conversions firing more than once, do triggers rely on fragile CSS selectors or URLs, are tags respecting consent, are old agency and paused tags still there, and can anyone tell what each tag does from its name. Then test the key conversions end to end in Preview mode. Most containers I audit have at least three of these problems.

Containers rot. Agencies come and go, campaigns end, someone adds "a quick tag" for a test and never removes it. After a couple of years, nobody knows what half the tags do, and everybody's afraid to touch it.

Before you start

  1. Export the container (Admin, Export container) so you have a backup.
  2. Check the version history under Versions. It shows who published what and when, which often explains when tracking broke.
  3. Work in a new workspace, not the Default Workspace, so you don't collide with anyone else.

1. Is GA4 loaded twice?

The most common and most damaging problem. Check whether GA4 is:

  1. Loaded by a Google tag in GTM, and
  2. Hard coded into the site with gtag.js, or
  3. Added by a plugin, like a Shopify app or a WordPress plugin.

Two copies means every page view and conversion is counted twice. Open your site with your browser's Network tab, filter by collect, and see whether each page view sends one request to GA4 or two.

2. Are conversions firing once?

For each key event, like purchases and leads:

  1. Run through it in Preview mode and confirm the tag fires exactly once.
  2. Refresh the thank you page and check it doesn't fire again.
  3. Check that purchase events send a transaction_id.
  4. Check Google Ads and Meta conversion tags too. It's common to find the same conversion sent by two tags, or a Meta event sent by both the Pixel and a separate plugin.

3. Are triggers fragile?

Look for triggers based on:

  1. CSS classes or element IDs like button.btn-primary
  2. Click text like "Submit"
  3. Page URL contains checks that depend on URLs your marketing team changes

These break when the site changes. Wherever possible, replace them with data layer events your site pushes on confirmed success. Also check custom event triggers that match any event name: since October 2026 they can fire on new gtag.config events, as explained in the 2026 Google tag and Tag Manager changes.

4. Consent

  1. Is the consent banner integrated with GTM, and does it set Consent Mode defaults before any tags fire?
  2. Turn on Consent Overview (Admin, Container settings) to see each tag's consent requirements in one place.
  3. Do marketing tags, like Meta and LinkedIn, wait for consent where required?

My guide on Consent Mode v2, basic vs advanced explains what good looks like.

5. Dead and unknown tags

  1. Paused tags: if a tag has been paused for months, delete it.
  2. Old vendors: pixels for tools you no longer pay for still load and still slow your site down.
  3. Custom HTML tags: read every one. They can do anything, including load scripts from domains you don't recognise.
  4. Unused triggers and variables: GTM shows which aren't referenced by any tag. Remove them.

6. Naming and structure

A tag called "GA4 event 3" helps nobody. Use a simple convention like:

[Platform] [Type] [What], for example GA4 Event - generate_lead or Meta - Purchase.

Use folders for each platform. Add notes to anything unusual. The next person, possibly you in a year, will thank you.

7. Site speed

Every tag adds weight. If your container still loads the Google tag just to send data to GA4 or Google Ads, Google's new destination tags can send it directly instead. Check how many tags fire on every page view, and whether any heavy scripts, like chat widgets, heatmaps or session recording, load on pages where nobody uses them.

8. Test end to end, then publish

After cleaning up:

  1. Test every key conversion in Preview mode.
  2. Confirm in GA4 DebugView, Google Ads tag diagnostics and Meta's Test Events.
  3. Publish with a clear version name and description.
  4. Watch real conversion numbers for a week and compare them with your orders or CRM.

My guide on how to debug Google Tag Manager tags walks through the testing tools.

If you'd rather have this done for you, a container audit and rebuild is the core of my Google Tag Manager implementation service, and it comes with full documentation.

Frequently asked questions

How do I know if GA4 is installed twice?

Open your site with the browser's developer tools, go to the Network tab and filter by collect. If a single page view sends two requests to google-analytics.com, GA4 is loaded twice.

Should I delete paused tags in GTM?

If a tag has been paused for months and nobody knows why, export the container as a backup, then delete it. Old tags make the container harder to understand and easier to break.

How often should I audit my GTM container?

At least once a year, and after any website redesign, platform migration or agency change.