Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/content/docs/google-tag-gateway/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ sidebar:

---

Google tag gateway for advertisers allows website owners using Cloudflare as a CDN to get the most out of ad measurement tools with just a few clicks. It allows you to deploy Google scripts using your own domain, enhancing data privacy and improving signal measurement recovery. Unlike standard setups where tags are requested from a Google domain, Google tag gateway for advertisers loads the tag from your domain and sends measurement events to your domain, where they are forwarded to Google.

Learn more about why we built it and how it works in our [blog post](https://blog.cloudflare.com/google-tag-gateway-for-advertisers/).

## Get started

Google tag gateway for advertisers allows website owners using Cloudflare as a CDN to get the most out of ad measurement tools with just a few clicks. Note: setting this up [directly in Google Tag Manager](https://support.google.com/analytics/answer/16061641) is the fastest way to use this feature.
Site owners can enable this feature in one of two ways: through the Google tag console, or via the Cloudflare dashboard.

### Configure Google tag gateway for advertisers in the Google tag console
Setting this up [directly in Google Tag Manager](https://support.google.com/analytics/answer/16061641) is the fastest way to use this feature.

### Configure Google tag gateway for advertisers in the dashboard

Expand All @@ -31,3 +38,7 @@ The [Google tag ID](https://support.google.com/analytics/answer/9539598?hl=en) c
6. Once you click **Save**, Google tag gateway for advertisers will be enabled on your zone. If you already have a GTM script on your website, this First Party Tag will override the existing script.

Now that you have authenticated into your Cloudflare account and configured GTM in first-party mode, your Google Tags will be loaded using `https://your-domain/measurement-path/...`and subsequent measurement requests will be served by Cloudflare.

## Related resource
- [Google Developer Docs: Set up Google tag gateway for advertisers](https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide?setup=auto)
- [Google Tag Manager Help: Set up Google tag gateway for advertisers in the Google tag with Cloudflare](https://support.google.com/tagmanager/answer/16061406)
Loading