You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Enable the toggle for **Turn on and configure Google tag gateway**.
32
+
3. Enable the toggle for **Turn on and configure Google tag gateway**.
33
33
34
34

35
35
36
-
5. Add your Google tag ID and the path on your website reserved for the Google tag.
36
+
4. Add your Google tag ID and the path on your website reserved for the Google tag.
37
37
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.
38
38
39
39

40
40
41
-
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.
41
+
5. 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.
42
42
43
43
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.
44
44
45
45
## Related resources
46
46
-[Google Developer Docs: Set up Google tag gateway for advertisers](https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide?setup=auto)
47
47
-[Google Help Center: Set up Google tag gateway for advertisers in the Google tag with Cloudflare](https://support.google.com/tagmanager/answer/16061406)
48
48
-[Google Help Center: Set up Google tag gateway for advertisers in Google Tag Manager with Cloudflare](https://support.google.com/analytics/answer/16061641)
49
+
50
+
## FAQs
51
+
52
+
### I disabled the "Set up tag" on the dashboard, but the code is still being injected on my domain and subdomains. Is this an expected behavior?
53
+
54
+
Yes, this is an expected behavior, the "Set up tag" button does not control if the script is injected, it controls the content of the injected script.
55
+
56
+
1. When "Set up tag" is **disabled**, a base initialization script is still injected. This allows you to implement your own customized Google Tag Manager (GTM) logic. This is useful for selectively applying GTM to specific parts of your website.
57
+
2. When "Set up tag" is **enabled**, injects the standard Google Tag Manager script which includes the line
0 commit comments