What GA4 server-side tracking is
In a standard setup, the GA4 tag in the visitor's browser sends events directly to Google Analytics. In a server-side setup, the same tag sends them to a server container running on a subdomain of your own website. The server container then forwards them to Google Analytics, and to any other platform you connect.
Two pieces in the server container do the work, as Google describes them:
- The GA4 client receives the GA4 requests coming from the browser and turns each one into an event the container can use.
- The GA4 tag takes that event, reformats it and sends it on to Google Analytics, using the same measurement ID and parameters.
What Tiide does for you
When you add a site, Tiide:
- Creates a server-side GTM container that runs on Tiide's infrastructure.
- Configures the GA4 client inside it.
- Updates the GA4 tag in your existing web container with a transport URL and server container URL, so events go to your subdomain first.
- Publishes both containers.
Your GA4 tag still fires the same events on the same triggers. The only difference is where the data goes first. Everything else in your web container stays as you left it.
What you gain
- Fewer blocked requests. Events go to your own subdomain instead of a well-known Google Analytics endpoint, so blocklists keyed on those domains do not catch them.
- Server-set cookies. A tagging server on your own domain can set cookies from the server, including
HttpOnlycookies that page scripts cannot read. Google's documentation notes that a server on the default domain can only set JavaScript cookies. Safari still applies some limits to server-set cookies, which first-party cookies explains. - One stream for every platform. The events GA4 receives can also feed Google Ads, TikTok, Meta and the rest, from the same container, without adding more scripts to your site.
- A place to clean data. Because events pass through a server you control, you can remove or adjust parameters before anything is forwarded.
Consent mode still applies
If you use Google consent mode, it keeps working. The Google tag adds the visitor's consent state to the requests it sends to the server container, and Google's server-side tags adjust what they send to match. Consent mode only needs setting up in your web container.
What you need before you start
- A Google Tag Manager web container on your site, with a GA4 tag in it.
- Access to add one DNS record for the tracking subdomain.
If GA4 is installed directly with a gtag.js snippet rather than through Google Tag Manager, move it into a GTM container first, then connect it to Tiide.
Free tool
See how much conversion data your site is losing, in about a minute