
- Enhanced measurement capabilities
- Better resistance to ad blockers and Safari’s privacy protection
- Full control over your data flow

- Traditional GTM loads tags from Google’s domains, which can be blocked
- Server-side tagging typically operates behind a subdomain, which is easily detected by adblockers. This unique integration allows Edgee to improve these technologies and make them run at the edge.
- Edgee acts as a secure proxy between your site and GTM
- Your GTM container and events work exactly as before
- Advanced edge processing prevents ad blockers from detecting the tags
Getting Started
To integrate Google Tag Gateway into your Edgee project:- Open the Edgee console and navigate to your project’s Components.
- Select “Add a component” and choose
edgee/google-tag-gateway
from the list of available components. - Add your Google Tag ID.
- Choose your path prefix.
- Select the mode of the injection.
- Click Save.
Path Prefix

/gtm
as a path prefix, all requests coming to www.yourdomain.com/gtm/something
will be forwarded to your Google Tag Manager.
Automatic Tag Injection

Mode

- Safe: The Google Tag Manager will be injected into the website only when the user consent is
granted
. - Strong: The Google Tag Manager will be injected into the website when the user consent is
pending
orgranted
. - Always: The Google Tag Manager will be always injected into the website regardless of the user consent status.