Google Analytics 4 (GA4) server-side integration

Category
Analytics Tools

Description

The JENTIS GA4 connector sends events to Google Analytics 4 from the server, from the browser, or both, and you can switch between these setups later. In the server-side setup, you control which data is shared with Google, and identifiers such as user IDs are handled on a first-party basis.

For how GA4 server-side tracking works in general, read our GA4 server-side tracking guide.

What the GA4 connector does

JENTIS offers three ways to send data to GA4:

  • Client-side: JENTIS loads the Google tag (gtag.js) and passes it your configured data.
  • Measurement Protocol: JENTIS sends events from the server through the GA4 Measurement Protocol. This works best as an addition to client-side collection.
  • Twin Server: the JENTIS Twin Server computes the GA4 data stream on the server, the way gtag.js does in the browser. No Google tag runs on the page.

Measured results

  • World4You: 25% more revenue tracked and 50% longer customer journeys tracked after moving GA4 fully server-side. Read the World4You case study.
  • Giesswein: 5.4% more users tracked than with server-side Google Tag Manager, and 8.6% more revenue tracked in Google Analytics. Read the Giesswein case study.

These are the results of individual customers.

Consent and Consent Mode v2

Your consent management platform passes each visitor's decision to JENTIS, where it is mapped to Google as a vendor and to the Consent Mode v2 signals. With Essential Mode, each GA4 tag gets one configuration for visitors who consent and one for visitors who decline. In the second case, JENTIS can forward data pseudonymized or anonymized.

The documentation covers GA4 and Consent Mode with JENTIS.

Set up GA4 in JENTIS

JENTIS has two GA4 tools. GA4 covers the client-side gtag.js integration and the Measurement Protocol. GA4 Server-Side covers server-side tagging and includes tag templates for page views, custom events and e-commerce.

  1. Add the tool that matches your setup.
  2. Create the tags from the templates. In the server-side setup, gtag configuration options are set in the JENTIS tags.
  3. For key events, define the event in your GA4 property first, then set the conversion flag on the JENTIS tag.
  4. Test in JENTIS Preview mode, then publish.

The documentation has the details: set up the GA4 connector.

Related features and guides

For a comparison with Google's own server-side option, read server-side Google Tag Manager explained. Conversions for your campaigns are sent from the same setup by the connector for Google Ads server-side tracking. All tags are configured in JENTIS tag management.

Questions and answers

What does not work in a fully server-side GA4 setup?

Services that rely on third-party cookies. Google Signals cannot be used, and audience sharing with Google Ads works only with the client-side Google tag implementation. The GA4 export to BigQuery and sharing conversion metrics with Google Ads are supported.

Does Enhanced Measurement still work?

Switching it on in the GA4 data stream does not start tracking in a server-side setup. Scroll, form and file tracking use the built-in JENTIS states. Page views and site search come from the data layer.

Why does GA4 show unassigned traffic?

The documentation has a troubleshooting guide for unassigned traffic and broken session reports in GA4.

What is the GA4 connector used for?

For analytics reports that cover the whole customer journey. A more complete and consistent set of events supports more reliable reports on traffic, user journeys and conversions. The full use case is complete data measurement.

Related case studies

Leading data-driven brands trust JENTIS with
their data capture