# Google Tag Manager audit: clean up an inherited container

How to audit a Tag Manager container you inherited and remove old tags safely, with a test of what broke when we paused three of its tags in turn.

_Shaun Brown · November 20, 2026 · https://tagsentry.ai/blog/google-tag-manager-audit_

> **The short answer:** To audit an inherited Google Tag Manager container, export it first, then sort every tag by its trigger and watch what the browser sends on a page view and on each event. Pause tags before you delete them, a few per published version, and compare your conversion counts after each one. A tag that stays quiet in preview may be waiting for an event you didn't perform, and a tag that looks unrelated can hold up another one.

## Why a quiet tag can still matter

A tag is a piece of code Tag Manager runs when its trigger happens. Most of a container runs on every page. The tags that earn money usually wait for something rarer, like a purchase or a lead form.

Preview mode [shows](https://support.google.com/tagmanager/answer/6107056?hl=en) "which tags fired and in which order" for the visit you make. Click around the homepage and the purchase tag sits under Tags Not Fired. It looks dead, and it's the one the ad account depends on.

Tags can also lean on each other. Tag Manager shows the link when someone set up [tag sequencing](https://support.google.com/tagmanager/answer/6238868?hl=en), where one tag is told to fire before another. It can't show that one pasted script defines a function another pasted script calls.

## What one visit to a messy container sent

On 20 November 2026 we loaded a test container on a local page, using Google's real Tag Manager file. The container has 43 tags and made-up IDs, built to look like a small business's container after a few years of agencies. Google's and Meta's own library files loaded as normal. We recorded every other request and stopped it before it left the browser.

Of the 43 tags, 36 are set to fire on page load and 7 wait for an event. One of the 36 is already paused and one is an empty script. Our visit loaded the page, added to cart, sent a lead form and bought something.

| What we saw | Why it matters in an audit |
|---|---|
| The page load made 39 requests to 16 hosts, library files aside | Most of a container's weight lands on every visitor |
| 13 of those went to `localhost` | Somebody's test tags, still published |
| Hotjar's script was requested twice, by Tag Manager's built-in Hotjar tag and a pasted embed | A duplicate you can remove |
| Intercom's widget was requested twice, with different app IDs | One of the accounts may be closed. Ask before guessing which |
| Google Analytics 4 (GA4) got a `newsletter_signup` event, with no sign-up on the visit | The tag's trigger is All Pages, so that report counts page views |
| The LinkedIn conversion pixel fired only on the lead form | Quiet on a page view, and alive |
| The purchase sent two Google Ads conversions with the same label | The built-in Ads conversion tag and an older pasted snippet both report the sale |

The last row is the kind of thing that makes [Google Ads report more conversions than you had](/blog/google-ads-conversions-higher-than-actual).

## What broke when we paused one tag

Then we repeated the visit three times, each with a different tag paused. We can't publish to this container from a test, so we served Google's file with that tag swapped for the form Tag Manager itself publishes for a paused tag.

| Paused tag | What changed |
|---|---|
| The pasted Hotjar embed | Hotjar's script was requested once. Nothing else changed |
| The `newsletter_signup` tag | The false event stopped. So did one of the two Google Ads purchase conversions, with the error `gtag is not defined` |
| The Meta Pixel base code | The Meta purchase tag failed with `fbq is not defined` |

We didn't expect the newsletter row. That tag was a pasted script that happened to define `gtag`, the function Google's snippets call. The older Ads conversion snippet had been leaning on it for years. Nothing in the Tag Manager screens connects the two.

Here the lost conversion was the duplicate, so the count got more accurate by accident. Picture a container where that older snippet is the only conversion tag, on a site with no `gtag` code in its own pages. The same tidy-up takes Google Ads conversions to zero, and the only sign is an error in the browser console.

The Meta row needs a caveat. Our made-up pixel ID sent no purchase either way, so the error is the only trace we have of that break.

## A safe order of work

1. Export the container (Admin › Export Container). Google [says](https://support.google.com/tagmanager/answer/6106997?hl=en) exports are JSON files that can be "compared, modified, shared, stored in a version control system, and imported back". Keep the file somewhere outside Tag Manager.
2. List every tag with its type, its trigger and whether it's paused. A spreadsheet is fine. Group the tags by vendor so duplicates sit next to each other.
3. In preview, do the whole journey: a page view, then every event a trigger names. Have the browser's Network tab open and note which hosts get requests at each point.
4. Search the pasted scripts (Custom HTML tags) for functions they define or call, such as `gtag` and `fbq`. If one tag defines a function, find every tag that calls it.
5. Write down this week's counts for each conversion, in the ad platforms and in GA4.
6. Pause a small group of tags and publish. Google's [help page](https://support.google.com/tagmanager/answer/7679308?hl=en) describes pausing as a way to "put a tag on hold without deleting the tag or adjusting triggers". Check tag sequencing first: a tag that waits on a paused setup tag may stop firing too.
7. Wait long enough for each conversion to happen a few times, then compare with step 5. If a number fell, unpause.
8. Delete what stayed paused without anyone missing it, then tidy the triggers and variables nothing uses.

If something goes wrong after a publish, Tag Manager keeps every version. Under Versions you can publish an earlier one, or pick ["Set as Latest Version"](https://support.google.com/tagmanager/answer/6107163?hl=en) to bring an old version back as the working draft.

## Signs a tag is dead

A tag is probably dead when several of these are true:

- It's already paused, and the version history shows it has been for months.
- Its trigger waits for an event the site no longer sends. Search the site's code for the event name, including the data layer (the list of events the site hands to Tag Manager).
- Its vendor account is closed, or nobody at the company can log in to it.
- It points at a test address such as `localhost` or a staging domain.
- It has a name like "test" or "new tag copy 2" (the asker's examples), and its ID matches another tag's.
- Preview shows it fired, the Network tab shows no request from it, and no other tag calls a function it defines (step 4).

When the checks disagree, pause the tag and let a week of real visits decide.

## Watching the numbers after each change

The risk in a cleanup comes after you publish, when a tag you needed [stops and nobody tells you](/blog/tags-stop-firing-silently). Comparing counts by hand works for the first round or two. By the fifth, most people have stopped checking.

TagSentry's [event monitoring](/monitoring) watches the events your tags send on real visits. It sees which events fired, where they were sent, and which fields each one carried, with their types. Save `purchase` or `generate_lead` as a key event and it emails you once if the event stops arriving, and once when it's back.

With Tag Manager connected, the Events screen names the tag that sent an event, for Google Analytics, Google Ads, Meta and Pinterest tags with the event name typed in. It's one line of code above Tag Manager, free up to 250,000 events a month. If the cleanup also touches consent settings, read [where the Consent Mode default goes in Tag Manager](/blog/google-tag-manager-consent-mode) first.

## Sources

- [Tag Manager Help: Container export and import](https://support.google.com/tagmanager/answer/6106997?hl=en)
- [Tag Manager Help: Publishing, versions, and approvals](https://support.google.com/tagmanager/answer/6107163?hl=en)
- [Tag Manager Help: Pause tags](https://support.google.com/tagmanager/answer/7679308?hl=en)
- [Tag Manager Help: Preview and debug containers](https://support.google.com/tagmanager/answer/6107056?hl=en)
- [Tag Manager Help: Tag sequencing](https://support.google.com/tagmanager/answer/6238868?hl=en)
