GA4 server-side tracking means that a server sends your website's events to Google Analytics 4, and the visitor's browser does not. The page sends each event to an endpoint on your own domain, and the server passes it on to Google. Ad blockers then block fewer events, and returning visitors are recognized more often.
But Google Analytics 4 out-of-the-box still relies on client-side tracking.
This means that GA4’s reported user numbers are not reliable, especially the figures for new users. Ad blockers and tracking prevention measures block client-side tracking. Returning users are not recognized and mistakenly counted as “new” users. As a result, the user numbers are greatly distorted. No realistic analyses or accurate customer journeys can be created based on this data.
How GA4 server-side tracking works
In the standard setup, the Google tag (gtag.js) runs in the visitor's browser and sends every event directly to Google. In a server-side setup, the page sends the event to a server on a subdomain of your own website. That server creates the GA4 request and sends it to Google.
Your GA4 property, your reports and the GA4 interface stay the same. The request now goes to your own domain, so ad blockers that block requests to Google's domains usually do not block it.
The server can also set the cookie that holds the GA4 client ID from your own domain. Safari limits cookies set by JavaScript to seven days. In a browser-only setup, a visitor who returns after eight days gets a new client ID, and GA4 counts that visitor as a new user. A cookie set by the server from your own domain can keep its full lifetime.
The server also decides what Google receives. You can remove or pseudonymize values such as a user ID before the event is sent to Google.
Three ways to send data to GA4 from a server
Server-side Google Tag Manager
This is Google's own route. A web container in the browser sends the events to a server container. There a GA4 client receives them and a GA4 tag forwards them to Google. The Google tag still runs in the browser, so you keep the web container and add the server container to it.
You host the server container yourself, usually on Google Cloud, or pay a hosting provider to run it. This route fits teams that already work in Google Tag Manager and have someone to run and update the server.
GA4 Measurement Protocol
Your server sends events directly to GA4 through Google's API. The Measurement Protocol is made for adding events to the data the Google tag collects, for example offline purchases, refunds or events from a CRM. It cannot replace the tag. This route fits single events that happen outside the website.
A server-side tracking platform
A platform such as JENTIS runs the tag manager and the server for you, so there is no container to host. With the patented JENTIS Twin Server technology, the GA4 data stream is computed on the server in the same way gtag.js computes it in the browser, and GA4 can run without a Google tag on the page.
JENTIS also supports the other two routes. It can load gtag.js in the browser or send events through the Measurement Protocol, and you can move between these setups later. This route fits teams that want GA4 and their other tools to receive the same server-side data without running the infrastructure themselves.
Switching to Server-Side Tracking: JENTIS vs. Google Tag Manager
As server-side tag management becomes increasingly critical for privacy, security, and data performance, companies often evaluate different solutions to meet their needs. Two notable options in this field are the Server-Side Google Tag Manager (sGTM) and JENTIS. This article aims to provide a thorough comparison between these platforms, focusing on frameworks, capabilities, hosting solutions, data management, and unique features to help make informed decisions.
Google Tag Manager: A Well-Known Tool with Limitations
Google Tag Manager (GTM) is a powerful tool known to most marketers. Its server-side version, sGTM, builds on this by employing server-based tracking functions. While this can be beneficial for smaller marketing teams, more complex operations may find it limited in maximizing the benefits of server-side tagging.
The Challenge with GA4 and Client-Side Tracking
Client-side tracking is vulnerable to ad blockers and tracking prevention technologies that prevent accurate tracking of user interactions. This causes new users to be counted incorrectly, as returning users may not be recognized and are falsely logged as new. Such inaccuracies can distort data, making it difficult to perform realistic analyses or accurately map customer journeys.
Why Server-Side Tracking Is Becoming Essential
To overcome these limitations, server-side tracking is becoming the new standard for web data collection. Google has developed the Server-Side Google Tag Manager (sGTM) to improve data collection by reducing reliance on client-side tracking. However, JENTIS offers an alternative with its independent server-side tracking platform, which enables accurate data collection and enhanced privacy controls without the limitations of the Google ecosystem.
Connectivity with Martech Tools
The Server-Side Google Tag Manager often relies on GA4 client-side tracking as a bridge to connect with other tools, which can compromise data quality. While it offers various community-developed APIs and templates, these can be inconsistent and may require additional configurations.
In contrast, JENTIS offers over 150 plug-and-play connectors that allow seamless and easy integration with a wide variety of martech tools without compromising data quality. JENTIS’s connectors are not dependent on external APIs, enabling constant updates and ensuring real-time data transfer. This results in maximum data integrity and timeliness. Additionally, JENTIS offers the flexibility to develop custom connections if needed, further enhancing usability and reliability. The plug-and-play nature of JENTIS connectors makes it especially user-friendly and allows companies to implement their preferred tools quickly and efficiently with minimal technical effort.
Supported Platforms, Environments, and Hosting Solutions
sGTM is optimized for the Google ecosystem, particularly the Google Cloud Platform (GCP), using Cloud Run for deployment. Although it can be adapted to other environments like AWS and Azure, this requires additional configurations, complicating the setup and management process. Hosting sGTM on non-GCP platforms, such as using Docker containers, presents challenges in terms of auto-scaling and may be only partially supported officially. Managing such infrastructure requires specialized resources and continuous monitoring to ensure optimal performance and security, which demands a higher level of technical expertise and ongoing maintenance efforts from users.
In contrast, JENTIS offers greater flexibility in hosting options and supports EU clouds. The platform does not force customers to use a specific data layer, allowing them to retain their existing setups, which simplifies integration and the transition process. JENTIS assumes full responsibility for infrastructure maintenance, including managing all aspects from initial setup to ongoing security updates and performance monitoring. This comprehensive service includes the management of backend systems, providing users with a seamless and reliable experience. By taking over the technical burden associated with hosting and infrastructure management, JENTIS enables customers to focus on their core business activities without worrying about backend complexities.
Flexibility and Customization Options
sGTM users are restricted to using sandboxed JavaScript for security reasons, which limits some customization options. This limitation can hinder complex data processing or transformation processes that require specific configurations.
In contrast, JENTIS allows open JavaScript coding on both the server and client side, providing more flexibility for advanced use cases. This flexibility is particularly beneficial for companies performing complex data processing or requiring specific configurations.
Privacy-Enhancing Features
JENTIS excels in privacy-enhancing features by giving customers full control over their data, a clear advantage over sGTM, which operates under Google’s infrastructure and data policies. This control is especially valuable for organizations that prioritize data sovereignty, as the JENTIS European headquarters ensures compliance with strict GDPR regulations, while sGTM may face compliance challenges due to data sovereignty concerns.
JENTIS offers the Essential Mode, which operates alongside Google’s Consent Mode, providing a two-layer approach to privacy that sGTM alone cannot achieve. The Essential Mode, in combination with Google’s Consent Mode, enables higher data quality, an additional layer to mitigate legal risks, and the ability to capture necessary data even when users do not consent to broader tracking. This balances the needs for compliance and data collection more effectively than sGTM, which relies heavily on Google’s Consent Mode and limits customization and control in data processing.
Implementation, Maintenance, and Support
The implementation and maintenance of sGTM require significant technical expertise, especially in tracking and server-side infrastructure. As a DIY solution, sGTM often involves a complex setup process that demands considerable time and resources. Users must manage their infrastructure, updates, and security measures and rely on community support and third-party services for assistance. While the community is robust, users often need to seek help in forums or hire external consultants for advanced troubleshooting and custom implementations. This reliance on third-party services can lead to variable support quality and potentially higher costs for specialized assistance.
In contrast, JENTIS offers a streamlined implementation process that minimizes the technical burden on users. The platform takes care of most of the setup, hosting, and maintenance, providing a seamless, ready-to-use experience. JENTIS allows full coding capabilities with ECMAScript versions, offering more extensive customization than the sandboxed JavaScript of sGTM. Additionally, JENTIS takes full responsibility for infrastructure maintenance, including security updates and performance monitoring.
Customers benefit from a comprehensive support structure, including a dedicated helpdesk for technical support, issue reporting, and feature requests. JENTIS also provides account managers to assist with more complex inquiries, ensuring customer satisfaction and efficient problem resolution. This structured support system helps customers quickly resolve concerns, reduce downtime, and minimize operational disruptions. By offering an all-inclusive service package, JENTIS ensures consistent and reliable support, making it an ideal choice for organizations seeking a hassle-free, effective, and privacy-compliant tag management solution.
What is the advantage of Google Analytics 4 with JENTIS?
After being the industry’s first choice for over a decade, Universal Analytics was completely replaced by Google Analytics 4 (GA4) in 2023.
Although both tools come from Google, they are quite different: Universal Analytics is a page-based tracking tool, while GA4 tracks event-based.
Unlike Universal Analytics, the anonymisation of personal data, specifically the IP address, is preset in GA4. But in order to be able to carry out such automatic anonymisation, Google must first receive the data and process it accordingly. This means that the data is considered to be stored at Google for at least a short period of time, which means that anonymisation takes place too late and can therefore only be GDPR-compliant with an active data protection agreement between the EU and the USA (in force from 2023: Data Privacy Framework).
Therefore, for sustainable legal certainty, a tool is needed that ensures that personal data can already be pseudonymised before it is transmitted to Google. The solution lies in the use of server-side tracking technology from a European provider such as JENTIS.
Universal data model
JENTIS implements a generic data structure. This data can be used for any tool and any data structure – JENTIS takes care of the translation. Variables can be customised, mapped and anonymised so that you remain independent of tools and versions.
The switch to server-side GA4 is simple
As soon as websites move to GA4 with JENTIS server-side tracking, there is no need to push new data into the data layer or change the front-end applications, JENTIS automatically takes care of the transition of events and data structure.
The Analytics Switch
After implementation on server side tracking with JENTIS, you will get a parallel setup of the current and the new GA4 property. During the parallel setup, there is enough time to tune the tracking and ensure that the data flows in smoothly. This data helps to measure all marketing activities and target advertising campaigns.
What works in a server-side GA4 setup
Most of GA4 works the same when the data arrives from the server. The export from GA4 to BigQuery works fully, because it runs in Google's back end. Key events work too: you define the event in your GA4 property and set the conversion flag on the JENTIS tag. Sharing conversion data between GA4 and Google Ads is supported.
Enhanced Measurement needs a different setup. Switching it on in the GA4 data stream does not start any tracking, because no Google tag runs in the browser. JENTIS tracks scrolling, form use and file downloads with its own built-in states, and page views and site search come from the data layer. Settings you would normally make for the Google tag are configured in the JENTIS tags.
Audience sharing with Google Ads works when you add the Google tag in the browser for it. Google builds remarketing audiences with its advertising cookies and with Google Signals, and both need the tag in the browser. You then have both: complete server-side data for analysis, and remarketing audiences in Google Ads.
Use two GA4 properties for this setup. One receives the server-side data, and the second receives data from gtag.js in the browser. GA4 cannot match or deduplicate client-side and server-side events in the same property, so a shared property would count them twice.
Consent Mode v2 and visitors who decline
With server-side GA4 you can still measure visits when a visitor declines consent, within the limits you set. JENTIS Essential Mode gives each GA4 tag a second configuration for visitors without consent. Essential Mode is not available with client-side GA4. In that setup, the data of visitors who decline is not collected at all.
For the second configuration you choose how the GA4 client ID is handled:
- Anonymized: every event gets a random client ID. You can estimate traffic from the number of events, but GA4 cannot count users or sessions. The documentation suggests a separate GA4 property for this data.
- Pseudonymized: a random client ID is created once per recognized visitor and reused. Session ID and session count follow it, so user and session reports stay usable.
- Unchanged: the same client ID is used with and without consent, and the reports need no special handling.
Which option you may use depends on your legal basis, so decide it with your data protection officer.
JENTIS also sends the Google Consent Mode v2 signals with every server-side Google tag. By default it passes the visitor's decision on unchanged: granted stays granted, and denied stays denied.
What changes in your GA4 reports
In most setups, the server-side property shows more sessions and more revenue than the old one, and fewer new users. Events that an ad blocker used to stop now arrive, and visitors who return after more than a week keep their client ID. How large the difference is depends on your visitors: the share who use Safari or Firefox, the share with an ad blocker, and your consent rate.
GA4 will still not match your shop backend exactly, because GA4 applies its own processing and attribution. Use your order data for the same period as the reference when you compare the two properties.
Some traffic may appear as unassigned after the switch. Common causes are an event that fires before the first page_view of a session, and a missing session start flag on that page_view. The JENTIS documentation says up to about 10% unassigned traffic is common and lists each cause and its fix.
Use Cases and Case Studies
Real Applications of sGTM
sGTM has been successfully implemented across various industries, providing businesses with the flexibility to tailor their tracking and data management solutions. Notable use cases include e-commerce companies leveraging advanced tracking capabilities and media organizations optimizing content delivery and ad targeting.
JENTIS in Action: Success Stories
Case studies demonstrate the effectiveness of JENTIS in industries such as publishing, e-commerce and DTC, and financial services, where privacy and compliance are critical. Customers report improvements in data quality, ease of use, and overall platform performance and support. Read the success stories of our customers in our case studies.
Measured results with server-side GA4
- World4You moved from client-side GA4 to a fully server-side GA4 setup with JENTIS. The company then tracked 25% more revenue and 50% longer customer journeys, and 25% fewer users were counted as new. Read the World4You case study
- Giesswein ran JENTIS in parallel with server-side Google Tag Manager in November and December 2023. JENTIS recorded 5.4% more users and 8.6% more revenue measured in Google Analytics. Read the Giesswein case study
These are results of individual customers.
Set up GA4 server-side tracking with JENTIS
- Create a new GA4 property for the server-side data. Your existing property keeps running, so you can compare the two.
- In JENTIS, add the GA4 Server-Side tool for the new property.
- Create the tags from the templates for pageviews, custom events and e-commerce.
- Set up the events that Enhanced Measurement used to send, such as scrolling and file downloads, with the built-in JENTIS states.
- For each key event, define the event in the GA4 property and set the conversion flag on the JENTIS tag.
- Choose the consent setting for Google as a vendor, and decide with your data protection officer whether to use Essential Mode.
- Test in the JENTIS preview and make sure page_view is the first event of every session. Then publish and compare the new property with the old one.
On your side this takes DNS access for the subdomain and someone who can adjust the data layer if an event is missing. The GA4 connector page shows what the connector covers, and the documentation explains how to set up the GA4 connector.
Conclusion
Both the Server-Side Google Tag Manager (sGTM) and JENTIS offer valuable solutions for server-side tag management, each with different advantages and considerations. sGTM provides a highly customizable framework suitable for tech-savvy users who prefer a DIY approach and have the necessary technical expertise to manage infrastructure and integrations. The strong community support and flexible setup make it an attractive choice for those comfortable in complex technical environments.
JENTIS, on the other hand, focuses on providing a seamless, ready-to-use experience that prioritizes privacy, integrity, and ease of use. The platform’s comprehensive support, flexible hosting options, and robust privacy-enhancing features make it particularly appealing to organizations seeking a reliable and compliant solution without the burden of extensive technical management.
Complete data for GA4 and your other tools
Every tool that uses your web data benefits when that data is complete, and GA4 is one of them. JENTIS captures each event once on the server and sends it to GA4, your ad platforms and your other tools through more than 150 connectors. Read more under complete data measurement, or book a demo to see GA4 running server-side.
.webp)

