What is GTM container?

Also called: container, GTM-XXXXXXX, tag manager container

Containers are versioned rather than saved. Changes accumulate in a workspace; publishing snapshots that workspace into a numbered version and pushes it live. Every version is retained, so a bad publish is a two-click rollback rather than an incident.

A container can be exported as JSON — the complete definition of every tag, trigger, and variable. That export is what makes containers portable: you can move a working setup between sites, diff two containers, or restore one from backup.

One container normally serves one site or one brand. Splitting a single site across multiple containers is possible but causes double-loading and racing dataLayer reads, so it is usually a mistake made during agency handovers.

Why it matters

Containers rot. A two-year-old container typically carries pixels for platforms the business stopped using, duplicate GA4 tags firing the same event twice, and triggers pointing at pages that no longer exist — each one costing page speed or corrupting reports.

Common questions about GTM container

How do I find my GTM container ID?

It is shown at the top right of the Google Tag Manager interface, in the form GTM-XXXXXXX, and it appears in the installed snippet on your site. Viewing the page source and searching for "GTM-" also finds it.

Can one GTM container be used on multiple websites?

Yes, and it is common for sites that share a template. Use lookup-table variables keyed on hostname so each site sends to its own GA4 property and ad accounts, otherwise all traffic merges into one dataset.

What is a GTM workspace?

A workspace is an editable draft of the container. Multiple people can work in separate workspaces at once; each is merged and published independently, which prevents one person's half-finished tag from going live with someone else's fix.

Related terms

See how your site handles this

TagEasy's free auditor checks any URL for Consent Mode v2 signals, PII in tracking, duplicate pixels, and 10 other tracking-quality faults. No signup.