Skip to Content
Tag ManagerGetting StartedWhat Is A Tag Manager

What Is A Tag Manager

A tag manager is a browser-side system for managing tracking and page behavior from a central interface.

Instead of placing every tracking pixel, conversion script, link rule, and event listener directly in website code, a site loads one container script. The container script loads a published configuration. That configuration tells the browser which actions should run, when they should run, and which page values they should use.

Most tag managers use the same basic parts:

  • a container script installed on the website
  • tags that perform actions
  • triggers that decide when tags run
  • variables that provide values to tags and trigger conditions
  • versions or publishing controls that decide what is live

The Core Idea

A tag manager answers four questions:

  • what should happen
  • when it should happen
  • what data it should use
  • which saved version is currently live

The answer to “what should happen” is a tag. A tag might report a conversion, fire an image pixel, append a click ID to a link, push a custom event, or run custom code.

The answer to “when it should happen” is a trigger. A trigger might listen for page load, DOM ready, a route change, a click, a form submit, a timer, a scroll threshold, a visible element, or a custom event.

The answer to “what data it should use” is usually a variable. A variable might read the page URL, a query parameter, a cookie, a data-layer value, a DOM value, or a value from the current click or form event.

The answer to “what is live” is the published container version. Draft changes are configuration changes. Published changes are the version the website can load.

Common Terms

Tag manager terms

Container

The installed package that holds tags, triggers, variables, and versions.

The website loads the container script, not each tag separately.

Tag

An action the browser performs, such as sending an event, firing a pixel, rewriting a link, or running custom code.

Tags are the work the tag manager performs.

Trigger

A rule that listens for a browser event and checks whether a tag should run.

Triggers connect page behavior to tag execution.

Variable

A reusable value that can be read from the page, browser, event, URL, cookie, or data layer.

Variables let tags use dynamic values without duplicating the lookup everywhere.

Data layer

A JavaScript object or event queue that the website and tag manager can use to share structured values.

A data layer gives tags a stable place to read page, order, visitor, or event context.

Published version

The saved container configuration that the installed script can load.

Publishing separates editing from live browser behavior.

What A Tag Manager Is Not

A tag manager does not replace every tracking method.

It runs in the visitor’s browser, so it can read browser-visible page context and react to browser events. Server-side postbacks, API integrations, order imports, and platform webhooks can still be needed when events happen outside the page or when the browser cannot send the signal.

It also does not create values that are not available to the page. If a tag needs an order ID, payout, click ID, consent state, product ID, or account ID, that value needs to be present in the page, URL, cookie, data layer, browser storage, or another readable source.

Was this page helpful?