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.
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.
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.
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.
| Your setup | Route | Points from Google's articles |
|---|---|---|
| Site behind Cloudflare | Automated setup from the Google tag settings, or guided setup | Automated 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 balancer | Google Cloud Load Balancer setup | Needs 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 CloudFront | Each has its own setup article | Follow the current article for your CDN; the steps and permissions differ by provider. |
| Another CDN or load balancer | Self-service setup | Your 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:
- 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.
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.
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
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.
Need a hand with this?
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.
Keep reading
How to Import GA4 Key Events into Google Ads as Conversions, and the Settings That Decide What Bidding Sees
Google Ads can use your GA4 key events as conversions, but the import has prerequisites, a default that keeps new actions out of bidding, and settings that only one of the two tools can change. This guide walks through it from Google's help pages.
Stripe Checkout Conversion Tracking: Recording Purchases in GA4, Google Ads and Meta When Buyers Don't Return
Stripe says customers aren't guaranteed to reach your success page, so a purchase tag on that page will miss sales. This guide explains, from Stripe's and Google's documentation, how to track Stripe purchases reliably with webhooks and server-side events.
GoHighLevel All-in-One Platform: Every Feature, the Real Monthly Cost, and How to Set It Up (2026)
Most small businesses and agencies pay for a CRM, a funnel builder, an email tool, a scheduler, an SMS app and a review tool, then copy leads between them by hand. This guide walks through every part of GoHighLevel, what it really costs per month with usage, how it compares with ClickFunnels and Kajabi, and a 14-step setup from free trial to tracked ads.