Google Tag Manager is a tag management system: a layer that sits between your site and the tools you measure with, so adding or changing a tracking tag is a change in an interface rather than a change to your site’s code.
What it replaces
Without a tag manager, each tool you measure with (Google Ads, GA4, a retargeting pixel) gets its own snippet pasted directly into the site, usually by whoever can touch the code. Adding a tool means another snippet and another deploy. Removing one means finding every place it was pasted.
Google Tag Manager replaces that with one snippet, added once. Everything after that is configured in Tag Manager’s own interface: which tags exist, when they fire, what data they carry. Each change is published as a new version without touching the site’s code again.
Tags, triggers and variables
Three parts make up a Tag Manager configuration:
- A tag is what fires: a GA4 configuration tag, a Google Ads conversion tag, a custom script.
- A trigger decides when: a page view, a button click, a form submission.
- A variable is a value tags and triggers reuse: an event parameter, a cookie value, a constant you’d otherwise retype everywhere.
You attach a trigger to a tag, fill in the details with variables where needed, and Tag Manager fires that tag whenever the trigger condition is met. Everything else is built around that one relationship: ordering, firing rules, and a preview mode to check it before publishing.
A web container, and a server container
The container you start with is a web container: it runs in the visitor’s browser, identified by an ID that looks like GTM-XXXXXXX, pasted into the page’s <head>.
Alongside it, you can run a server container: the same tag-trigger-variable model, but running on a server instead of in the browser, usually reachable on a subdomain of your own site. The web container (or your site directly) sends events to it, and it decides what happens to them from there. That second container is what people mean by server-side tagging specifically, as opposed to server-side tracking done with a custom integration instead of a tag manager. What is server-side tracking covers that distinction and the mechanism behind it in full; client-side vs server-side tracking is the shorter version if you just want the difference it makes.
Where the Conversions API fits in
If you want to send a Conversions API call to Meta, Google or another platform without building your own backend integration, a server container is the common way to do it: it receives the event once from the browser or your site, and forwards it on to each platform’s API from there. What is the Conversions API covers what that call actually contains and why most platforms expect it alongside the browser pixel rather than instead of it.
What it does not decide for you
Tag Manager has a consent framework: tags can be told to wait for a signal before firing. That is a mechanism for respecting a choice, not a decision about which choice is required. What you are allowed to collect, from whom, and under what basis still follows from what you store on and read from a visitor’s device and what you do with it afterwards, not from which tool fires the tag. A tag manager makes that easier to implement consistently; it does not make the underlying question go away.
