Skip to content
Tracking and technical

What is a tag manager?

3 min read · Updated · By the Reveata team

Short answerA tag manager is a tool, such as Google Tag Manager, that you install once on your website and then use to add, change and fire analytics and marketing scripts (tags) from a web dashboard instead of editing your site's code each time.

Marketing sites collect scripts: analytics, ad platforms, chat widgets, heatmaps. Adding each one used to mean a code change and a deployment. A tag manager replaces that with one container snippet in your pages. Everything else is configured in the tag manager's interface and published from there.

The three building blocks

Term Meaning Example
Tag A piece of code to run Load the analytics script; record a goal
Trigger When the tag runs All pages; a click on the sign-up button; a form submission
Variable A value a tag or trigger needs The page path; a plan from the data layer

Most tag managers also keep versions, so you can preview a change, publish it and roll it back.

Why teams use one

  • Speed. Marketers can add or change tags without waiting for a release.
  • One place. Every third-party script is listed in one container.
  • Consistent triggers. One "sign-up completed" trigger can feed several tools.

Why some teams avoid one

  • Another layer to debug. When a number is wrong, you check the site, the container and the tool.
  • Performance. The container itself must load before its tags, and many tags slow pages down.
  • Governance. Anyone with publish rights can add a script to every page, which is a security and privacy question as much as a technical one.
  • Blocked together. If a blocker stops the container, every tag inside it is lost too.

For a single analytics script, pasting it directly into the page is often simpler.

How Reveata works with Google Tag Manager

Reveata provides a Reveata Analytics tag template. You import the template file into your container, create a tag with Load the Reveata script, enter your website's tracking id and set the trigger to All Pages (Install with Google Tag Manager).

Tag Manager cannot add data- attributes to scripts it injects, so the template passes settings in the script address instead, for example /js/script.js?website-id=ws_…. The script reads them from there. Further tags of the same template can Track a goal with properties, or Identify the visitor from data layer variables, on any trigger you choose.

If you use Reveata's managed proxy on a subdomain such as stats.example.com, download the template from the link in your settings: its Injects scripts permission also allows your own first-party host.

You can also use a Custom HTML tag with the script address and its settings, and check the result with Verify your installation.

Pitfalls

  • Forgetting to publish. Changes in Tag Manager do nothing until you publish the container.
  • Consent. If a consent tool controls the container, analytics loads only after people accept, so counts drop for visitors who decline.
  • Content Security Policy. A strict policy must allow the tag manager and every script it loads; see Content Security Policy.
  • Duplicates. A script loaded both in the page and in the container counts every page view twice.

Frequently asked questions

Is a tag manager the same as an analytics tool?

No. A tag manager only loads and fires tags. The analytics tool is the service those tags send data to, which stores it and shows reports.

Does a tag manager slow down my site?

It adds one script, and each tag inside it adds its own. Fewer, well-chosen tags keep the cost small. Loading a single analytics script directly avoids the extra step.

Can I send Reveata goals from Tag Manager triggers?

Yes. Create another Reveata Analytics tag, choose Track a goal, enter the goal name and optional properties, and attach it to the trigger that should count, such as a form submission or a click.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a data layer?A data layer is a JavaScript object on your web pages, most often Google Tag Manager's window.dataLayer array, that holds structured details about the page and what the visitor does, so tags can read clean values instead of scraping them from the page.GlossaryWhat is a tracking script?A tracking script is a small JavaScript file you add to every page of a website, which runs in each visitor's browser and sends page views, clicks and other actions to an analytics service.GlossaryWhat is a Content Security Policy (CSP)?A Content Security Policy (CSP) is a set of rules a website sends to the browser, usually in a Content-Security-Policy header, listing which sources of scripts, styles, images and network connections the page is allowed to use, so injected or unexpected code is blocked.GlossaryWhat are Core Web Vitals?Core Web Vitals are three measurements Google uses to describe a page's real-world user experience, namely Largest Contentful Paint (loading), Interaction to Next Paint (responsiveness) and Cumulative Layout Shift (visual stability).GlossaryWhat are event properties?Event properties are key–value details attached to an analytics event, such as the plan chosen or the button clicked on a signup event, so you can break one event down by those details instead of creating a separate event for every variation.GlossaryWhat is a canonical URL?A canonical URL is the one preferred address you want search engines to index and show for a page whose content is reachable at several URLs, usually declared with a rel="canonical" link in the page's head.