Skip to content

[chore] Update naming of google tag gateway, allow the robots #22167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 3 additions & 0 deletions public/__redirects
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@
/gateway/locations/setup-instructions/android/ /cloudflare-one/connections/connect-devices/agentless/dns/locations/ 301
/gateway/locations/setup-instructions/router/ /cloudflare-one/policies/gateway/dns-policies/ 301

# google tag
/google-tag-first-party-mode/ /google-tag-gateway/ 301

# images
/images/cloudflare-images/upload-images/supported-formats/ /images/upload-images/ 301
/image-resizing/ /images/manage-images/create-variants/ 301
Expand Down
1 change: 0 additions & 1 deletion public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Disallow: /client-ip-geolocation
Disallow: /plans/
Disallow: /constellation
Disallow: /cdn-cgi/
Disallow: /google-tag-first-party-mode/
Disallow: /security/
Disallow: /email-security/

Expand Down
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 0 additions & 32 deletions src/content/docs/google-tag-first-party-mode/index.mdx

This file was deleted.

29 changes: 29 additions & 0 deletions src/content/docs/google-tag-gateway/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Google tag gateway for advertisers
pcx_content_type: reference
sidebar:
order: 1

---

## 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.

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

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
2. Go to **Tag Management** > **Google tag gateway**.
3. Select your domain.
4. Enable the toggle for **Turn on and configure Google tag gateway**.

![Google tag gateway for advertisers configuration](~/assets/images/google-tag-gateway/google-tag-configuration.png)

5. Add your Google tag ID and the path on your website reserved for the Google tag.
The [Google tag ID](https://support.google.com/analytics/answer/9539598?hl=en) can be found in the Google Tag Experience dashboard. The measurement path is an unused path on your site that will load Google Tag Manager and all subsequent measurement requests.

![Add to ID and path](~/assets/images/google-tag-gateway/google-tag-id-path.png)

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.
12 changes: 0 additions & 12 deletions src/content/products/google-tag-first-party-mode.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions src/content/products/google-tag-gateway.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Google tag gateway for advertisers

product:
title: Google tag gateway for advertisers
url: /google-tag-gateway/
group: Application performance

meta:
title: Google tag gateway for advertisers docs
description: Google tag gateway for advertisers allows website owners using Google Tag Manager and Cloudflare as a CDN to add a layer of data security and enables additional data privacy controls.
author: "@cloudflare"
Loading