What is Google tag gateway?

Google tag gateway for advertisers lets you load Google tags from your own website's domain, through your CDN or load balancer, instead of from Google's domains. Google announced it in May 2025.

What the gateway does

Normally your site loads gtm.js or gtag.js from a Google domain, and measurement requests go back to Google domains. Google tag gateway puts your own infrastructure in the middle. Google describes it as deploying a Google tag using your own first-party infrastructure, hosted on your website's domain.

In practice the gateway does two things:

  • Serves Google's scripts from your domain, for example from a path like example.com/metrics.
  • Routes measurement requests to a first-party endpoint on your domain, which passes them on to Google.

It is set up in the CDN, load balancer or web server you already run. Cloudflare offered a one-click setup at launch, and Google also documents setups for Google Cloud's load balancer and other CDNs.

How it differs from server-side tagging

Google's own documentation draws the line this way:

Google tag gateway Server-side Google Tag Manager
Job Delivery: getting tags and requests through on your domain Processing: receiving events on a server you control
Where it runs Your CDN or load balancer A server container
Can change the data No Yes: clean, enrich or filter events before they are sent
Platforms Google tags Any platform with a server-side tag, including Meta, TikTok and Pinterest

Google describes the two as complementary. The gateway can route traffic to a server-side container, and Google recommends completing both steps for the most durable tagging setup.

Which one do you need?

  • Only Google tags, and you run a supported CDN: the gateway alone gets Google's tags onto your domain with little effort.
  • Several ad platforms, or you want control over what is sent: you need a server container. The gateway does not send conversions to Meta, TikTok or other platforms from a server; that is what conversions APIs and server-side tags are for.
  • Both: the gateway delivers Google's scripts from your domain, and a server container processes the events and forwards them everywhere.

Tiide hosts the server container part: a server-side Google Tag Manager container on your own subdomain, with the GA4 client and routing set up for you.

Free tool

See how much conversion data your site is losing, in about a minute

Questions

No. The gateway serves Google tags and routes their requests through your own domain. Server-side tagging runs a server container that receives events and processes them before sending them to Google and other platforms. Google describes them as complementary.

The gateway is built for Google tags. Sending conversions to Meta, TikTok or other platforms from a server needs their server-side APIs, typically through a server-side Google Tag Manager container.

Google announced Google tag gateway for advertisers in May 2025, starting with a one-click setup for Cloudflare customers.

Google recommends completing both for the most durable tagging setup. The gateway handles delivering Google's tags from your domain, and the server container handles processing and forwarding events.

More glossary

Consent mode v2

Google consent mode v2 explained: the four consent types, basic vs advanced mode, what Google requires for EEA traffic, and how it works with server-side tagging.

Conversions API

A conversions API sends conversion events from your server straight to an ad platform, so blocked pixels no longer mean lost conversions. How it works.

Event match quality

Event match quality scores how well your server events can be matched to people on Meta. What it measures, where to find it and the parameters that raise it.

fbclid

fbclid is the click ID Meta adds to links clicked on Facebook and Instagram. What it is, how it becomes the _fbc value, and why to send it with server events.

First-party cookies

What first-party cookies are, how they differ from third-party cookies, and the limits Safari puts on them, including cookies set by server-side tagging.

GCLID, gbraid and wbraid

GCLID is the Google Ads click ID added to your landing page URL. What it does, how gbraid and wbraid differ on iOS, and why it matters for conversion tracking.

All glossary

See the conversions you have been missing

Hosted server-side Google Tag Manager on your own subdomain. Per-site pricing, 1M events included, cancel anytime.