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.
If you use CookieTractor as your CMP, consent is still handled by us, while Google Consent Mode controls how Google tags behave based on the visitor’s choices. The difference is that GTG can affect how tags are loaded, which in turn can affect your control over the order in which different scripts run.
When to use this guide
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 it's enabled through a managed delivery path (such as a CDN), you may have less control over script order.
Google Consent Mode still depends on correct timing. If the default consent command is set too late, consent may not behave as expected from the start of the page load.
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 the setup suggests that consent is being applied too late
- 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 consent appears to be applied too late, 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 you control script order.
For more details, see:
Using Data Transmission Controls and Global Consent Defaults
If your implementation uses Global Consent Defaults or Data Transmission Controls, make sure those settings align with your banner behavior, persisted consent state, and Google Consent Mode setup.
These settings affect how consent and measurement behave over time, so review them carefully before enabling them.
Related information
Support
Do you have questions about Google Tag Gateway or Google Consent Mode for your installation? Feel free to contact us at google@cookietractor.com. Google does not provide direct support for the product – support should primarily go through us.