BLUENEXUS INTEGRATIONSHOW-TO

How to audit a Google Tag Manager container: old tags, duplicates, and tags that fire before consent

A Google Tag Manager container grows a tag at a time. A campaign pixel here, a chat widget there, a second purchase tag when checkout moved. Two years later nobody knows which tags still matter, two of them count the same order, and an ad pixel fires before the cookie banner has been answered.

An audit fixes that, and it's mostly reading. List every tag, find the duplicates, check consent, then make every fix in one workspace and publish once. An AI connected to Tag Manager can do the reading in minutes. Changing the container and publishing to the live site stay with people.

Here are four steps, three prompts, and how an outdoor gear shop checks its container every Monday.

This is a way to organize the work, not legal or privacy advice.

Four steps, in this order

Four steps, in this order

List everythingEvery tag with its type, triggers, consent settings and whether it's paused.
Find duplicatesTwo tags sending the same event to the same place, on the same pages.
Check consentWhich tags can fire before a visitor answers the cookie banner.
Fix in one workspaceMake every fix in one workspace, check it in Preview, and publish once.

Start with Google Tag Manager's own tools

Tag Diagnostics, under Tag quality in your Google tag's settings, flags problems like "Your conversions may be overcounted", consent mode set up out of order, and landing pages that aren't tagged. Consent Overview, turned on in Admin, then Container Settings, shows every tag's consent setting in one place.

You can pause a tag without deleting it, but a pause only takes effect once it's published. And Preview shows which tags fire on a page before anything goes live.

What's left is the list: every tag, sorted, with an owner for each fix.

Do it in Claude or ChatGPT

Connect Google Tag Manager with our guide to Google Tag Manager in Claude, ChatGPT and MCP. All three prompts only read.

List everything.

1Paste this into Claude or ChatGPT

Using Google Tag Manager, for container [ID], list every tag with its type, firing triggers, exception triggers, folder, and whether it's paused. Flag paused tags, tags with no firing trigger, and variables nothing uses. Don't change anything.

Copy prompt

Find duplicates.

1Paste this into Claude or ChatGPT

In the same container, list every Google tag, GA4 event tag and ad conversion tag with its measurement or conversion ID, event name and triggers. Flag any two that send the same event to the same ID on overlapping triggers. Don't change anything.

Copy prompt

Check consent.

1Paste this into Claude or ChatGPT

For every tag that isn't from Google, show its consent settings and its firing trigger. Flag tags set to Not set or No additional consent required that fire on All Pages, and say whether the container has a Consent Initialization trigger. Don't change anything.

Copy prompt

A few things to know:

  • The container isn't the whole site. Tags added in the site's code don't show in Tag Manager. A duplicate can be one tag in the container and one in the page.
  • Google tags check consent themselves. Google Ads, Google Analytics and Floodlight tags have built-in consent checks. Other tags need additional consent checks or a trigger that waits for consent.
  • Ask before removing. A paused tag may be waiting for next year's sale. Ask whoever added it.
  • One workspace, one publish. Fixes spread over several publishes are hard to undo. One version is easy to roll back.

When the container is shared

On your own, you'd tidy your own tags. In a team, paid media adds pixels, the web developer owns the site code, the operations manager owns the cookie banner, and nobody wants to remove someone else's tag.

Saltmarsh Outdoor, a 45-person outdoor gear retailer in Portland, Maine, sells online in the US, Canada and the UK. It looks after its container in BlueNexus, with Google Tag Manager connected. Every Monday at 09:00, the marketing agent reads the live container and sorts what needs a look, for Rowan, the marketing operations lead.

Illustration of the BlueNexus app with example data.

Illustration of the BlueNexus app with example data.

Of 64 tags, 17 need a look. Eleven can go: seven paused and four whose triggers were deleted. Six need fixing: two tags count the same purchase, and four non-Google tags fire on every page with no consent check. The agent prepares the next steps for Rowan.

Rowan approves. Jules, the operations manager, confirms the consent types match the cookie banner's categories. Emery checks both purchase tags in Preview and finds the older one was left in when checkout moved in September. Rowan asks the owners of the 11 old tags in the channel, removes them and the older purchase tag in the same workspace, and publishes on Tuesday after Preview.

Illustration of the BlueNexus app with example data.

For connecting Google Tag Manager, see Google Tag Manager in Claude, ChatGPT and MCP. For the team, see a Google Tag Manager release checklist. To look after your container with your team, sign up for BlueNexus.

Questions people ask about Google Tag Manager and AI

How do I audit a Google Tag Manager container?

List every tag with its triggers, consent settings and paused status. Flag paused and untriggered tags, look for two tags sending the same event, and check which tags can fire before consent. Then fix everything in one workspace, check it in Preview, and publish once.

Should I delete paused tags in Google Tag Manager?

Paused tags don't fire, but they make a container harder to read. Ask whoever added them, then remove them in a workspace. Old versions keep a copy, so you can bring a tag back.

How do I find duplicate GA4 tags?

List GA4 tags by measurement ID, event and trigger, and look for two that match. Also check the site's code: a tag added outside Tag Manager won't show in the container. Tag Diagnostics can warn that conversions may be overcounted.

How do I stop tags firing before consent?

Use a Consent Initialization trigger for your consent banner, and set additional consent checks on tags that need them, especially non-Google tags. Consent Overview shows every tag's setting in one place. Check the rules for your visitors with whoever handles privacy questions.

Can AI audit Google Tag Manager?

It can read every tag, trigger and variable and sort them in minutes. It can't see what fires on the live site or tags added outside the container. People check in Preview and decide what to publish.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.