Google Tag Gateway
One of the key features of JENTIS is the Google Tag Gateway (GTG) out-of-the-box solution. Unlike traditional setups that require setting up a CDN and routing Google GTAG traffic via a predefined measurement path, JENTIS leverages your existing A-Record to pass data in a first-party context through a proxy within the JENTIS infrastructure.
This guide outlines how Google Tag Gateway works, supported connectors, implementation options, and best practices.
What is Google Tag Gateway?
By default, gtag.js loads directly from googletagmanager.com, sending every hit straight to Google's servers from the visitor's browser.
Google Tag Gateway reroutes both the script loading and data transport through a first-party domain that you control:
Script delivery: The tracking script is served from your first-party domain.
Data transport: The
transport_urlpassed intogtag('config', ...)points directly to your domain proxy.Google endpoint: Google's processing endpoint sits safely behind your first-party domain rather than receiving direct browser calls.
Because requests look and behave like native first-party calls, they bypass common tracking-prevention mechanisms and third-party ad-blocking rules.

JENTIS Server-Side Tracking vs. GTG
Primary Role
Main server-side measurement solution
Complementary proxy for remaining client-side tags
Performance Impact
Substantial data uplift (20–40%)
Minor uplift for client-side tags
Logic Location
Processed entirely on the server
Proxied on the client-side
Use Cases
Core analytics, conversions, data control
Google Ads remarketing, client-side tags
Supported Connectors
Google Tag Gateway is available in the JENTIS Tag Manager for the following connectors:
Google Analytics 4
Google Ads
Floodlight
Configuration Options
Connectors supporting Tag Gateway expose two main setup options. Resolution follows a strict priority order:
JENTIS-Managed Gateway (if enabled)
Custom Gateway URL (if configured)
Google Fallback (default fallback if neither option is enabled)

Option 1: Bring Your Own Gateway (Custom Setup)
Use a custom gateway URL if your organization requires its own first-party proxy domain managed via external infrastructure (e.g., Cloudflare, Akamai, or custom reverse proxies).
Setup Steps:
Create and configure the gateway endpoint in your chosen proxy/CDN infrastructure.
Set up necessary DNS records and HTTPS routing for your custom first-party URL.
Open the relevant connector tag (GA4, Google Ads, or Floodlight) in the JENTIS Tag Manager.
Expand the Google Tag Gateway tab.
Enter your complete custom gateway URL (including
https://).Save, preview, and validate the changes in container preview mode.
Publish your container changes.
Option 2: JENTIS One-Click Gateway
For teams looking for an automated setup without managing external proxy infrastructure or CNAME records.
Setup Steps:
Open the relevant connector tag in the JENTIS Tag Manager.
Expand the Google Tag Gateway tab.
Toggle on Enable JENTIS Google Tag Gateway.
JENTIS automatically generates the gateway URL using your existing JENTIS tracking domain.
Save, preview, and publish your container.
Generated URL Structure:
Best Practices
1. Prevent Duplicate Conversions
If you run both a client-side tag via GTG and a JENTIS Server-Side connector for the same event:
Pass the same
transaction_idparameter in both event payloads.Google uses this shared identifier to automatically deduplicate conversions across client and server streams.
2. Strategic Implementation
Do not treat GTG as a replacement for server-side tracking—it is designed to enhance remaining client-side tags.
Deploy JENTIS Server-Side tracking for reliable core measurement, using GTG specifically for tags (like Google Ads remarketing) that rely on client-side browser context.
Why is My Data Still Sent to Google Directly?
Even when Google Tag Gateway (GTG) is enabled, you may notice network requests still heading directly to Google-owned domains (such as doubleclick.net or google.com).
This occurs because Google relies on 3rd-party cookies for cross-site identification and attribution. These cookies can only be accessed or set by sending requests directly to Google's primary endpoints.
While JENTIS cannot provide an exhaustive breakdown for every custom implementation, the native behavior for primary Google tags breaks down as follows (this is a current snapshot and might be changed by Google any time with no upfront information):
Endpoint Behavior by Google Product
Google Analytics 4
All collect streams
Audience streams
Audience building relies on 3rd-party cookies to sync user data across other Google advertising products.
Google Ads
Standard conversion tracking
View-through conversions (viewthroughconversions)
View-through attribution depends entirely on 3rd-party cookies across external domains.
Google Floodlight
Standard conversion tracking
View-through conversions (viewthroughconversions)
View-based conversion tracking requires 3rd-party cookie access for cross-site attribution.
Frequently Asked Questions (FAQ)
Last updated
Was this helpful?