← All Guides

GTM Container Hygiene: Naming Conventions, Folders, Workspaces, Versions and the 2026 Container Optimisation

How to keep a Google Tag Manager container readable and safe to change: a naming convention that sorts itself, folders per platform, workspace discipline, version notes, a quarterly clean-up, and what to do with the 2026 container optimisation wizard.

Atiqul Islam
Written by Atiqul Islam

Tracking & analytics specialist. 278+ GTM, GA4 and server-side tracking projects for clients in the US, UK and Australia.

Rather not do this yourself? I set this up for clients every week. Free 15-minute audit, no obligation.

Book a Free Audit

A tidy container is not about aesthetics. It is about being able to change tracking safely, hand it to someone else, and find the cause when a number looks wrong. This guide gives the conventions I apply to every container, a release discipline, a clean-up routine, and notes on the 2026 interface changes.

Naming Convention

Prefix by type, then platform, then what it does. Everything sorts by type and reads as a sentence.

Asset Pattern Examples
Tags Platform - Type - Detail GA4 - Event - generate_lead, GAds - Conversion - Purchase, Meta - Purchase, Listener - Gravity Forms, Google tag - G-XXXX
Triggers Type - Detail CE - form_submit_success, Click - tel link, PV - thank-you page, Vis - pricing section, Init - All Pages
Variables Type - Detail dlv - ecommerce.value, url - form param, cookie - gclid, cjs - items to content_ids, LT - form id to name, const - GAds Conversion ID, UPD - email and phone
Folders Platform or purpose GA4, Google Ads, Meta, Listeners, Consent, Utilities

Rules: no spaces at the ends, no versions in names such as v2 or new, no personal names, and the event name in a tag name matches the actual event it sends.

Folders

Create a folder per platform and one for listeners and utilities. Move every asset into a folder when you create it. The unfiled list should be empty. Folders do nothing functionally, which is exactly why they are safe to use freely.

Workspaces and Versions

Every version description is your change log. Future you will read it before anything else.

Environments

For sites with a staging server, create a Staging environment and publish to it first. The site's staging GTM snippet includes the environment parameters. Production gets the version only after staging checks pass. Small sites can skip this and rely on Preview.

Reuse Over Duplication

Blocking and Safety

The Quarterly Clean-Up

  1. Open the latest version and review each tag's last fired date if your host shows it, or check Preview on the key pages.
  2. Pause tags for platforms the business no longer uses.
  3. Delete paused tags older than one quarter, their now-unused triggers, and variables with zero references. GTM shows references on each variable's page.
  4. Check for duplicates: two tags sending the same event to the same platform.
  5. Re-run the main conversion flows in Preview to confirm nothing depended on what you removed.
  6. Publish with a version note: Quarterly clean-up. Removed TikTok tags, 4 unused variables.

The 2026 Interface and Optimisation

Google announced in August 2026 that the Google tag and Tag Manager are being unified, with the new layout rolling out through the year. Practical consequences:

Documentation Outside GTM

Keep a one-page tracking document per site: the dataLayer specification, the list of conversions with their IDs and which tags send them, and the consent setup. Store it with the business, not with the specialist. The GTM version notes handle the history; the document handles the current state.

Outcome

A container someone else can read in ten minutes, changes that ship through named versions with a rollback path, and a clean-up habit that stops the slow decay into forty tags nobody understands.

Frequently Asked Questions

Why does naming matter so much?

Because the next person to open the container, including you in six months, needs to know what each tag does without opening it. A container with Tag 1, Tag 1 copy and New Tag is a liability. A prefix-based convention sorts the list by type and platform automatically.

How many workspaces should I use?

One per piece of work in progress. Finish it, create a version, publish, and let the workspace close. Three workspaces with half-finished changes from different people is how containers break.

What is the 2026 container optimisation?

Part of the Google tag and GTM unification. A wizard lets you convert Google tags into destinations with shared container settings, so Google Analytics and Google Ads load without the extra gtag.js step. Nothing changes until you run it and publish. Review the summary before publishing, because it touches your Google tag and Conversion Linker.

How often should I clean up?

Quarterly. Pause anything that has not fired in 90 days according to the version's tag usage, delete paused items after another quarter, and remove variables no tag or trigger references.

Should each client or site have its own container?

Yes. One web container per site, one server container per site. Shared containers across unrelated sites cause accidental cross-firing and make access control impossible.

Want This Done Right the First Time?

Book a free 15-minute audit call. I'll review your setup, show you what is broken, and tell you exactly what it takes to fix it.

Chat Now