Contact

Tools · Measurement & data

Google Tag Manager

Every tag fires where it should, and nowhere else.

Google Tag Manager is Google's free tag management system. It lets you add and change tracking tags, like GA4, Google Ads and the Meta Pixel, without editing your site's code each time. Donut Analytics manages containers for clients: we ship changes as ready-to-import files, tie every tag to the visitor's cookie choice, and test changes in Preview and on the live site.

How we use it

How we use Google Tag Manager

  • Changes you can read

    We keep a dated export of your container and ship changes as ready-to-import files with plain step-by-step notes, so your team can see exactly what changed.

  • Tested in Preview and live

    We test changes in Preview before they're published. After a publish, we check the live container itself to confirm each tag fires where it should and nowhere else.

  • Consent on every tag

    We connect your cookie banner to Tag Manager so each tag fires only with the consent it needs. Ad pixels wait for ad consent. Analytics tools wait for analytics consent.

  • Fixes without a site release

    When the site's data layer doesn't hand over what a tag needs, we work it out in Tag Manager with small, tested variables instead of waiting on the next site release.

  • Partner pixels in their lane

    When partners need their own pixels on your site, we add them so they fire only on that partner's pages and purchases, and a partner's purchase doesn't also count on your own pixel.

  • New ad platforms, same rules

    For ChatGPT ads we installed OpenAI's pixel through Tag Manager, under the same consent rules as the other ad pixels, and checked it for duplicate events.

In practice

From recent container work

Real work, kept anonymous.

  1. 01

    Pixels on one event's pages only

    For a client that sells event tickets, each partner's pixels fire only on that event's pages and on purchases of its tickets, and only after the visitor's cookie choice allows it. Shared checkout pages stay untagged, so one partner's audience doesn't fill up with other events' buyers.

  2. 02

    Order values, not placeholders

    A streaming TV partner's conversion pixel was sending a placeholder where the order amount belonged. We filled the fields from the data layer so the partner could count revenue.

  3. 03

    Tax out of revenue

    For a retailer, GA4 purchase value included tax and shipping. We wrote a small custom variable for the existing purchase tag that subtracts them, ready to import, with no developer work needed.

  4. 04

    A relaunch without a tracking gap

    Before a site rebuild launches, we send the developers our Tag Manager requirements, then check the tags and ad conversions on the new site once real traffic arrives.

What it can’t tell you

What Tag Manager can't do

  • It only sees the browser

    Tags run in the visitor's browser. Ad blockers, browser privacy rules and declined cookies all cut what they can send. Server-side options recover some of it, and they need your developers.

  • A tag that fired isn't a tag that's right

    Preview shows that a tag fired. It doesn't show that the value it sent was correct. That's why we check the numbers in GA4 and the ad platforms after launch.

  • It can't send what the site never records

    If the page never holds a value, like an order's tax or a product's category, no tag can send it. Some fixes belong on the site.

FAQ

Questions about Google Tag Manager

Is Google Tag Manager free?
Yes. Google Tag Manager is free. Google also offers Tag Manager 360 for enterprise accounts.
Do I need Tag Manager if I already have GA4?
Not strictly. GA4 can run on the Google tag alone. Tag Manager earns its place once you have more than a couple of tags: ad pixels, consent rules and custom events all live in one container you can change without a site release.
What's the difference between the Google tag and Google Tag Manager?
The Google tag (gtag.js) is one tag for Google's own products, like GA4 and Google Ads. Tag Manager is a container that can hold the Google tag plus tags from other platforms, like Meta or OpenAI, with rules for when each one fires.
What is Google tag gateway?
Google tag gateway for advertisers serves Google's tags from your own domain, through your CDN, load balancer or web server. Your developers set it up. We've worked with a client's developers to route Google's tags this way.
Do you set up server-side tagging?
We scope it with your developers where browser tags lose too much signal, along with options like Google tag gateway or Meta's Conversions API. Server-side tagging runs its own tagging server, which can carry hosting costs, so we check it's worth it first.
Can AI publish changes to our container?
Not on its own. At Donut Analytics, AI helps audit containers, draft changes and test them in Preview. Nothing is published without a person's go-ahead.

Get your tags in order.

Tell us what you’re working on. We’ll build a measurement-first plan for your brand. Email hello@donutanalytics.com or call (407) 394-9720.