Skip to content

Google Tag Gateway

Google Tag Gateway, or GTG, lets you serve a Google tag or a Google Tag Manager container through your own domain instead of loading it directly from Google-owned domains.

When GTG is enabled, it can affect how tags are loaded and how easy script order is to control. CookieTractor still manages consent, and Google Consent Mode still determines how Google tags behave based on the user’s choice.

When this guide is relevant

Use this guide if Google Tag Gateway is enabled in your setup, or if you need to verify whether it has been enabled for a Google tag or GTM container.

GTG changes the delivery path of the tag. In some setups, especially when GTG is enabled through a managed delivery path, you may have less control over script order. That matters because Google Consent Mode still depends on correct timing. If the default consent command loads after Google tags fire, CookieTractor may detect late consent.

What to check

If you are using GTG, start by checking whether the affected Google tag or GTM container is actually enrolled in Google Tag Gateway.

Then review how your setup behaves in practice:

  • whether the Google tag or GTM container is loaded through your own domain
  • whether CookieTractor still sets consent at the right time
  • whether CookieTractor reports late consent
  • whether your current setup gives you enough control over script order

For more details, see:

Late consent

Late consent means that the default consent command loads after Google tags fire.

If CookieTractor detects late consent, first verify whether the affected tag is using GTG. If GTG is enabled, follow the GTG-specific guidance. If GTG is not enabled, follow the standard Google Consent Mode troubleshooting flow.

For more details, see:

Recommended approach

If late consent is detected and GTG enrollment is verified, advanced consent mode is usually the recommended approach for GTG-enabled tags.

Other common options are:

  • use advanced consent mode
  • move all Google tags into Google Tag Manager and deploy GTM through GTG
  • set up GTG manually so that script order is controlled by the customer.  

For more details, see:

Important note

If your implementation uses Data Transmission Controls or Global Consent Defaults, make sure banner behavior still supports measurement where the banner does not appear.

Only use these settings if your implementation supports that behavior correctly.

Support

Do you have questions about how to get Google Tag Gateway working with CookieTractor? Feel free to contact us at google@cookietractor.com.​