-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5299f3b
commit f667b9a
Showing
6 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+46 KB
src/assets/images/google-tag-first-party-mode/google-tag-configuration.png
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: Google tag in first-party mode | ||
pcx_content_type: reference | ||
sidebar: | ||
order: 1 | ||
|
||
--- | ||
|
||
## Get started | ||
|
||
Google tag in first-party mode 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 — such as full IP obfuscation — without compromising your measurement. | ||
|
||
At the moment, Google tag in first-party mode is in closed beta. You can sign up to participate in the closed beta through the Tag Manager module of Google Marketing Platform [link]. | ||
|
||
### Configure Google tag in first-party mode in the dashboard | ||
|
||
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account. | ||
2. Go to Google tag in first-party mode > Configuration. | ||
3. Enable the toggle for Turn on and configure Google tag. | ||
|
||
![Google tag in first-party mode configuration](~/assets/images/google-tag-first-party-mode/google-tag-configuration.png) | ||
|
||
4. Add your Google tag ID and the path on your website reserved for the Google tag. | ||
The Google tag ID 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-first-party-mode/google-tag-id-path.png) | ||
|
||
5. Once you click Save, Google Tag in First Party Mode 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 proxied by Cloudflare. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Google tag in first-party mode | ||
|
||
product: | ||
title: Google tag in first-party mode | ||
url: /google-tag-first-party-mode/ | ||
group: Performance | ||
show: false | ||
|
||
meta: | ||
title: Google tag in first-party mode docs | ||
description: | ||
Google tag in first-party mode 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" | ||
|
||
externals: | ||
- title: Cloudflare home | ||
url: https://www.cloudflare.com/ | ||
|
||
algolia: | ||
index: TEST - Re-dev docs | ||
apikey: 4edb0a6cef3338ff4bcfbc6b3d2db56b | ||
product: google-tag-first-party-mode |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.