# Google Analytics 4

With JENTIS, you have multiple options to integrate **Google Analytics 4 (GA4)** depending on your organization’s requirements. This flexibility caters to all stakeholders — from data privacy officers to online marketers.

You can decide whether to execute GA4 tracking **client-side, server-side, or in a hybrid model**, and easily migrate between them as your setup evolves.

### GA4 Options with JENTIS Data Capturing Platform

Choose one of the following options to leverage GA4 with JENTIS:

#### 1. Client-Side Execution

JENTIS acts as the **frontend tag management solution** that loads the Google Tag (`gtag.js`) and provides it with your configured data.

* Full GA4 feature set available (marketing tools, automatic event tracking, conversion flagging, etc.).
* Managed directly in the GA4 interface.

#### 2. Server-Side Execution via Measurement Protocol v2

Send data via the official **GA4 Measurement Protocol** to your GA4 instance.

* Best used to **augment** client-side data collection.
* Reference: [GA4 Measurement Protocol v2](https://developers.google.com/analytics/devguides/collection/protocol/ga4).

#### 3. Server-Side Execution via JENTIS TWIN Browser

The **JENTIS TWIN Browser** computes the data stream server-side in a way similar to how `gtag.js` would execute in the browser.

* Offers all the **privacy and data quality benefits** of server-side tracking.
* Extends capabilities beyond Measurement Protocol (which can only augment).

### GA4 Tools in JENTIS

Because GA4 offers significantly different implementation methods, JENTIS provides **two distinct GA4 Tools** in the Data Capturing Platform (DCP):

* **GA4**
  * Includes client-side `gtag.js` integration and Measurement Protocol.
* **GA4 Server-Side**
  * New tool dedicated exclusively to server-side tagging.
  * Includes templates for Pageview, Custom Events, E-commerce, etc.
  * All future JENTIS GA4 server-side developments will be available here.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jentis.com/data-activation/connectors/google-analytics-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
