Tracking

Google Tag Gateway

Loading the Google tag through your own domain

In short

Google tag gateway lets you load the Google tag through your own domain and send measurement data to Google through it, instead of directly to Google domains. This makes measurement more resilient to signal loss.

Also known as: Google tag gateway for advertisers

Google tag gateway (full name: Google tag gateway for advertisers, formerly "first-party mode") loads the Google tag through your own domain and forwards measurement data to Google through it. To the browser, this looks like a request to your website, not to a Google domain.

How it works

Instead of googletagmanager.com, your page calls a path on your own domain, for example /metrics/. Your CDN or load balancer forwards these requests to Google. According to Google, this helps reduce signal loss and improve measurement (Google Tag Manager Help).

You can set it up directly in the Google tag with Cloudflare, or follow guides for other CDNs such as Akamai, Fastly or Amazon CloudFront.

What Google says

Google calls tag gateway a building block of data strength. In Google's own analyses, advertisers using it see 14% more measured conversions on average, and over 20% in Demand Gen campaigns. These are vendor figures, and they refer to measured conversions, not additional sales.

In lead generation

Tag gateway only affects what happens in the browser, such as a form submission. Deals that close later in the CRM reach Google through offline conversions or enhanced conversions for leads.

Common mistakes

  • Forgetting consent: tag gateway doesn't change your consent obligations.
  • Leaving old tag scripts in place: with a manual setup, the old script sources must be replaced on every page.
  • Confusing more measurement with more revenue: more measured conversions doesn't mean more customers.

Ready for better tracking?

Try LeadMetrics free for 10 days and see which campaigns actually drive revenue.
Start a 10 day trial

Frequently asked questions

No. Tag gateway only changes which domain the tag is loaded from. Consent obligations stay the same, and Google explicitly recommends using Consent Mode and reviewing your consent settings.

Articles on this topic

Related terms

All terms