Skip to content

Server-Side Tagging8 min read

Google Tag Gateway for Advertisers: What It Does, How to Set It Up, and How It Fits with Server-Side Tagging

Google tag gateway loads your Google tag from your own domain and sends measurement through it. This guide explains what Google says it does, the setup routes, the consent and re-tagging points that trip people up, and how it relates to server-side tagging.

Sakib Hossain, Founder & Lead Tracking Engineer
Founder & Lead Tracking Engineer
All Articles
In shortNormally your site loads the Google tag from Google's servers and sends measurement straight to Google. Google tag gateway for advertisers changes the route: the tag loads from a path on your own domain, and measurement goes to that path before it is forwarded to Google. On a supported CDN it can be a quick first-party upgrade for Google Ads and GA4, but the setup has a few details that decide whether it actually works. This guide covers them using Google's own documentation.

What tag gateway is

Google's developer documentation describes it as a way to deploy a Google tag using your own first-party infrastructure, hosted on your website's domain. Google's Cloudflare setup article puts it more concretely: the gateway loads the tag from your domain and sends measurement events to your domain, where they are forwarded to Google.

It works with the Google tag (gtag.js) and with Google Tag Manager containers. It does not replace your tags, triggers or conversion actions. Your Google Ads conversions, GA4 events and consent setup stay the same; only the path the requests travel changes.

Related: Google: Google tag gateway for advertisers

What Google says it improves

Google's Google Ads announcement says advertisers who configured the gateway saw an 11% uplift in signals. The footnote explains that this is Google's own data, a 7-day trailing median from April 2025, comparing tags with and without the gateway. Treat it as Google's average, not a promise for your account.

That announcement is from May 2025 and describes some features as coming soon, so check the current help pages before you rely on any feature it mentions in the future tense.

note: We don't quote an uplift figure for client accounts until we have measured the same conversion actions before and after the change.

Related: Google Ads: Enhance your conversion measurement with tag gateway

Setup routes

Google's setup guide lists two prerequisites: a Google tag or Tag Manager container, and a CDN or load balancer that can forward requests to external endpoints. Which route you take depends on what sits in front of your website.

Setup routes described in Google's help centre
Your setupRoutePoints from Google's articles
Site behind CloudflareAutomated setup from the Google tag settings, or guided setupAutomated setup signs in to Cloudflare and asks you to grant Google permissions. The guided option with Cloudflare Snippets needs a Cloudflare Pro plan or higher.
Site behind a Google Cloud load balancerGoogle Cloud Load Balancer setupNeeds a Google Cloud project, the Google Tag Gateway Admin role and a Global External Application Load Balancer. The classic Application Load Balancer isn't supported. Google says the integration is free; you pay normal load balancer usage.
Akamai, Fastly or Amazon CloudFrontEach has its own setup articleFollow the current article for your CDN; the steps and permissions differ by provider.
Another CDN or load balancerSelf-service setupYour CDN must forward a path on your domain to Google. You then re-tag the site so the tag loads from that path.

Related: Google: Set up tag gateway · Google: Set up tag gateway with your CDN · Google: Set up tag gateway with Google Cloud Load Balancer

Where to find the setting

The gateway is configured in the Google tag's Admin area, which you can reach from several products. Google's Cloudflare article gives these routes:

What to do
  • In Google Ads, open Tools, then Data manager. Under Google tag, select Manage, then go to Admin.
  • In Google Analytics, open Admin, then Data streams, choose the stream, select Configure tag settings, then Admin.
  • In Google Tag Manager, open the Google tags tab and select the tag name.
  • From the Admin area, open Google tag gateway and follow the route for your CDN or load balancer.

Related: Google: Tag gateway with Cloudflare

The re-tagging step people miss

With automated Cloudflare setup, the script source is rewritten for you. With manual or guided setup, Google says you must re-tag the site yourself: replace every instance of the existing Google tag script source with your new measurement path. If you skip this, Google notes, the browser keeps requesting scripts directly from Google and bypasses the gateway entirely.

Choose a measurement path that isn't already used on your site, and check every template that loads the tag: theme files, page builders, checkout pages and any hard-coded snippets.

warning: Google's Cloudflare article also says that deleting the gateway configuration disables the feature for all active domains. Check which domains share the configuration before you remove it.

Consent still applies

Google's Cloudflare article warns that enabling the gateway affects Google tag firing behaviour, and that if your tags respond to consent choices you should adopt Consent Mode and review your consent settings. It also says that if you use consent mode, you must turn off automated script setup.

Google's articles don't say the gateway changes what consent you need. Our approach is simple: it is the same Google tag on a different route, so the same consent rules apply. Test the consent banner again after setup.

Related: Our guide: Consent Mode v2, basic vs advanced

Tag gateway and server-side tagging

They solve different parts of the problem. The gateway serves the Google tag and forwards its measurement from your domain. Server-side tagging with a Tag Manager server container gives you your own server where you can process events before they go to Google or other platforms, for example to send events to the Meta Conversions API from the same stream.

Google's developer documentation doesn't present them as either-or. For sites using server-side tagging, it recommends two steps for the most durable setup: map a custom domain to the server container, then load first-party scripts with the gateway.

Related: Google: Google tag gateway for advertisers · Our guide: Server-side GTM and Meta CAPI

How to check it works

Open your site in Tag Assistant. Google's article says to check the Summary, then Output, then Hits Sent, and confirm the hits are routed to your measurement path. With automated setup, View Page Source should also show the tag loading from your domain.

In the gateway settings, the status moves to Active once Google receives data. Pending means no diagnostic information has been received yet, so give it time after setup before you change anything.

Sources

Everything above comes from Google's developer documentation and help centre, checked on 30 November 2026. Google is still adding CDN partners and features, so check the current pages before you set it up.

Related: Google tag gateway for advertisers (developers) · Set up Google tag gateway for advertisers · Tag gateway with Cloudflare · Tag gateway with your CDN · Tag gateway with Google Cloud Load Balancer · Google Ads announcement

Problems and fixes

1Tag still loads from Google's domain

Symptom
Tag Assistant shows requests going to Google directly, not to your path.
Cause
The site wasn't re-tagged after a manual or guided setup, or one template still has the old snippet.
Fix
Replace every Google tag script source with your measurement path, including checkout and landing page templates.

2Status stays Pending

Symptom
The gateway shows Pending after setup.
Cause
Google hasn't received diagnostic information yet, often because the site has little traffic or the tag isn't loading from the new path.
Fix
Load a few pages yourself, check Hits Sent in Tag Assistant, and allow time before you change the setup.

3Load balancer option isn't available

Symptom
Setup fails at the compatibility check.
Cause
The site uses a classic Application Load Balancer, which Google says isn't supported.
Fix
Use a Global External Application Load Balancer, or another supported route.

4Tags behave differently after consent

Symptom
Tags fire before or after the banner differently from before.
Cause
Google warns the gateway affects tag firing behaviour, and automated setup must be off if you use consent mode.
Fix
Review consent settings, use a setup route that fits consent mode, and test the banner again.

Implementation Checklist

Verify each milestone before deploying changes to live production ad accounts.

  • ✓Setup route matches your CDN or load balancer
  • ✓Measurement path not used elsewhere on the site
  • ✓Every Google tag snippet points to the new path
  • ✓Consent mode reviewed and automated script setup off if needed
  • ✓Hits Sent in Tag Assistant go to your path
  • ✓Gateway status shows Active
Tags:Google tag gatewayFirst-party measurementGoogle tagCloudflareServer-side taggingGoogle Ads
The takeawayTag gateway is a small change to how the Google tag loads, and Google reports better signal coverage from it. Pick the route that matches your CDN or load balancer, re-tag the site if the setup doesn't do it for you, keep consent mode in place, and confirm in Tag Assistant that hits go to your own path. If you also run a server container, Google's advice is to use both.

Frequently asked questions

What is Google tag gateway for advertisers?

A way to load the Google tag from your own domain and send measurement through it. Google describes it as deploying a Google tag using your own first-party infrastructure.

Does tag gateway replace server-side Google Tag Manager?

No. Google recommends using both for sites with server-side tagging: map a custom domain to the server container, then load first-party scripts with the gateway.

Which CDNs work with tag gateway?

Google's help centre has setup articles for Cloudflare, Akamai, Fastly, Amazon CloudFront and Google Cloud Load Balancer, plus a self-service route for a CDN or load balancer that can forward requests.

Does tag gateway change consent requirements?

Google's articles don't say it does. They warn that it affects tag firing behaviour and that automated setup must be off if you use consent mode, so review consent after setup.

How much does tag gateway improve conversions?

Google reports an 11% median uplift in signals from its own April 2025 data. Results vary by site, so measure your own conversion actions before and after.

Want us to set this up for you?

This is the kind of work we do for clients every week. Tell us about your setup and we'll take it from there.