Google Tag Manager Audit: A Container Clean-Up Checklist for Marketers and Agencies
A numbered checklist for auditing a Google Tag Manager container that has grown for years: access, installation, dead tags, risky Custom HTML, broad triggers, consent settings, naming and safe deletion. Written for marketers and agency account managers.
In short
A Google Tag Manager audit is a pass through one container. Export a backup, review who can publish, confirm one correct container loads on each page, list dead tags, triggers and variables, give every Custom HTML tag an owner, check consent settings, then delete in small tested batches and sort the rest into fix now, fix soon and decide later.
A Google Tag Manager audit is a structured pass through one container to answer five questions: who can change it, what is installed on the page, which tags, triggers and variables are dead, which ones carry risk, and whether consent settings are applied. Written for a marketer or account manager, not a developer, it takes roughly an hour on a container of moderate size. Whether conversions reach each ad platform correctly is a separate job, covered in our conversion tracking audit checklist.
Step 1: export a backup before you touch anything
Tag Manager keeps every published version, but a downloaded copy gives you a fixed record and a file you can search.
- 1In the top navigation, click Admin.
- 2In the Container column, click Export Container.
- 3Click Choose a version or workspace and pick the live version. Export the workspace as well if it holds unpublished changes.
- 4Click Download. The container is saved as a JSON file.
- 5Rename the file with the date and save it in a folder the client owns.
The export doubles as your worksheet. Open it in a text editor: each tag lists the IDs of its firing triggers (firingTriggerId) and blocking triggers (blockingTriggerId), a paused tag carries paused: true, and every use of a variable appears as its name in double braces, such as {{Page URL}}. Searching the file is the quickest way to find what nothing uses.
Step 2: review who can change and publish
Tag Manager has two layers of access. At account level a person is a User, who can view basic account information, or an Admin, who can create containers and change user permissions. At container level the options are No access, Read, Edit, Approve and Publish, and only Publish can push changes live. Open Admin, then User Management in the Account column, and again in the Container column. Check both lists, because a person can appear in one and not the other.
- Every Admin still works for the client or a current agency. An Admin can change container permissions, so treat each one as a potential publisher.
- Publish is held by a few named people, not a shared login.
- Former staff, freelancers and previous agencies are removed at both levels.
- Under Admin, Account Settings, the option Require 2-step login verification for certain operations is switched on. Tag Manager then requires 2-step verification before anyone changes Custom JavaScript variables, Custom HTML tags or user settings.
- If the container has been optimised (a feature Google released in October 2026), open External Account Links in the container's Admin section and confirm which Google destinations are linked and what level of access each has to the container. These permissions are not versioned, so rolling back a version does not undo them.
Which permission each person should hold is a separate decision, explained step by step in our guide to adding users to Google Tag Manager.
Step 3: check what is installed on the page
Google describes a unique container for each website as the most common practice, and web.dev's tag best practices warn that several containers on one page can create significant performance issues. On the homepage, an advertised landing page and the confirmation page, view the source and search for GTM- and for gtag/js?id=. To see your own ID, click the container ID, which starts with GTM-, in the Workspace tab.
| What you find | What it means | Action |
|---|---|---|
| One GTM- ID that matches your container | Correct | None |
| A second GTM- ID, or one that is not yours | An old or extra container still loads | Find its owner, then remove it or move its tags into one container |
| A hard-coded gtag/js snippet with a G- or AW- ID, and the same GA4 or Google Ads destination set up in the container | The same hits or conversions are likely sent twice | Keep one path, usually the container, and remove the other |
| The snippet missing from some templates | Pages built on those templates send nothing | Add the snippet to the missing templates |
Two notes. Since a July 2026 change, a container loaded by a G- or AW- ID only runs Google-provided tags and variables, so a site that loads your container that way will not run its Meta or Custom HTML tags. Our explainer on the Google tag vs Google Tag Manager covers the background. Page source only shows the initial HTML. The free tracking audit lists the marketing tags one public page loads and scores the setup, but it does not log in to Tag Manager or read the container's tags, triggers and variables.
Step 4: inventory dead tags, triggers and variables
Go through the Tags, Triggers and Variables lists alongside the export and flag:
- Tags with no firing trigger: an empty or missing firingTriggerId in the export. They never fire and only add clutter.
- Paused tags, which carry paused: true in the export. Ask why each was paused and whether it is coming back.
- Tags kept quiet with a blocking trigger. web.dev advises pausing or removing unused tags rather than blocking them with a trigger exception, because blocking leaves the code in the container.
- Triggers whose ID appears in no tag's firing or blocking list.
- User-defined variables whose {{name}} appears nowhere else in the export.
- Tags for vendors you no longer pay for: an old heatmap tool, a replaced chat widget, a pixel for a platform you stopped buying, and any legacy Universal Analytics tags.
- Container size. The Versions pages show a Size indicator on large containers, and Google advises optimising above 70 percent. web.dev gives the limit as 300 KB.
Step 5: risk pass on Custom HTML, custom JavaScript and broad triggers
A Custom HTML tag can run almost any code, and web.dev points out that a Custom JavaScript variable can contain code of unlimited capability and size. For each one, record who owns it, what it does and why it cannot be a template. Google's help page says the built-in tag templates are the best way to avoid performance and malware issues, so check the Community Template Gallery for a template from the same vendor.
- Tags on the All Pages trigger that only matter on a few pages, such as a conversion pixel that should fire on the confirmation page alone.
- Click triggers that fire on every click instead of only on the button or link that matters.
- Non-essential tags firing as the page loads. web.dev suggests firing them after Window Loaded, and our article on whether Tag Manager slows down a website explains the trade-off.
- Custom event triggers that match any event name with a wildcard, such as the regex .*. Since October 2026, gtag config commands appear in the data layer as gtag.config events, and Google warns that wildcard custom event triggers may fire unexpectedly as a result.
Step 6: consent settings on every tag
Each web tag has Consent Settings under Advanced Settings. The default, Not set, means the tag runs no additional consent checks. Google Ads, Google Analytics and Floodlight tags have built-in consent checks that change their behaviour with the visitor's consent state. Many non-Google tags have none, so they depend on this setting or on triggers from your consent platform.
- 1Go to Admin, Container Settings and, under Additional Settings, tick Enable consent overview.
- 2Click Tags, then the Consent Overview icon. Tags are grouped into Consent Not Configured and Consent Configured.
- 3For each tag under Consent Not Configured, choose No additional consent required (for tags you have reviewed, such as the consent banner itself) or Require additional consent for tag to fire and add the consent types it needs, such as ad_storage. You can select several tags and use Edit Consent Settings to change them together.
- 4Start Preview and decline on the banner. In Tag Assistant, open the Consent tab and check the On-page Default column, then the Tags tab: ad tags without built-in checks should not fire.
- 5Repeat after accepting and check the On-page Update column.
If preview will not connect, see why GTM preview mode is not working. The four consent signals are explained in our consent mode v2 guide.
Step 7: naming, folders and version notes
A naming pattern of platform, type and detail lets anyone find a tag by searching the list: a tag called GA4 | event | generate_lead, a trigger called Click | book demo button, a data layer variable called DLV | ecommerce.value.
Folders group items by vendor or owner. Open Folders in the left menu and click New Folder, or select tags, triggers or variables and choose a folder from the Move menu. When you publish, click Submit, choose Publish and Create Version, and fill in Version Name and Version Description with what changed, why and who asked. Since September 2026 the submit page can suggest an AI-written name and description; check it before saving.
Step 8: delete safely and sort what is left
- 1Create a separate workspace named for the audit. Standard accounts allow the Default Workspace plus two custom ones.
- 2Remove in small batches, one vendor or one item type at a time. Tags can be paused or deleted in bulk by ticking them in the list. Pause first when you are unsure and delete in a later pass.
- 3Preview each batch on the key pages and check that every conversion tag still fires once.
- 4Publish each batch with a version name such as Audit 2 of 4: remove old heatmap and chat tags.
- 5If Tag Manager says the workspace is out of date, click Update Workspace and review the merged changes before publishing.
- 6If something breaks, open Versions, choose Set as Latest Version from the Actions menu on the last good version, and publish it.
| Bucket | What goes in it |
|---|---|
| Fix now | Conversions sent twice, former staff or agencies with Admin or Publish, unowned Custom HTML on every page, ad tags with consent not configured where your banner requires consent |
| Fix soon | Broad triggers, dead tags, orphaned triggers and variables, missing folders and names |
| Decide later | Paused tags waiting for a campaign, vendors whose contract status is unclear, consolidating near-identical tags |
Give each decide-later item an owner and a date, so the next audit starts from that list.
Frequently asked questions
Does deleting a tag in Google Tag Manager delete data in GA4 or the ad platform?
No. Deleting or pausing a tag only stops it collecting from the moment you publish. Data the tag already sent stays in GA4, Google Ads or the vendor's account. The risk runs the other way: if you delete a tag that was still feeding a conversion action or an audience, new data stops arriving, so check what each tag feeds before you remove it.
Should I pause unused tags or delete them?
Pause when you are not sure. A paused tag stays in the container with its triggers intact and does not fire, so you can unpause it if someone asks for it back. Delete once nobody has claimed it after a few weeks. Deleted tags are still recoverable from earlier versions, because each published version keeps the full container.
How often should a Tag Manager container be audited?
A light pass every quarter suits most sites: access, new Custom HTML tags and anything added since the last version you reviewed. Run the full checklist when an agency or in-house owner changes, before and after a website redesign, and when a consent banner or consent platform is replaced, because those are the moments when tags are added without anyone removing the old ones.
Can an agency run this audit with Read access?
Partly. Read access lets someone browse tags, triggers and variables, and a person with Read access can review an exported file you send them. Creating a workspace and deleting items need Edit, publishing needs Publish, and changing user permissions or turning on 2-step verification needs an account Admin. The usual split is that the agency prepares the findings and someone with Publish applies them.
Sources
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required