Skip to content
Documentation
Start now

Google Analytics (GA4) Connector

Inhalt
Setting up the server-side data stream for GA4 Setting up the Google Analytics data stream Step 1: Create Google Analytics property Step 2: Create access token Step 3: Setting up the Google Analytics data stream in etracker analytics

Setting up the server-side data stream for GA4

Below we will show you how to set up the automatic transmission of tracking data to Google Analytics 4.

GA4 Server Side Tracking with etracker enables you to

  • automatic anonymization before the data is sent to Google
  • Use of the familiar Google Analytics interface and reporting functions
  • Avoidance of browser restrictions and data loss due to adblockers
  • Reliable evaluations without the need for consent in accordance with GDPR and TDDDG
Prerequisites
  • Complete implementation of etracker analytics in consent-free or hybrid mode including set up event, conversion and e-commerce tracking if applicable
  • Access to a Google Analytics property
Tip

To test your existing GA4 integration and server-side tracking via etracker in parallel, create a new Google Analytics property that only receives the data generated by etracker. After a successful test, you can deactivate the previous property or redirect the server-side tracking to it.

Setting up the Google Analytics data stream

The setup only requires three steps.

Step 1: Create Google Analytics property

To create a new Google Analytics property, click on Settings → + Create → Property in your Google Analytics account.

Create screenshot property in GA 4

Follow the instructions to create a new property. Choose any name for your property, Germany as the time zone and Euro as the currency. Click on Next to proceed to the next step:

Screenshot of step 1 when creating a new property in GA4

Select the appropriate industry category and company size:

Screenshot Step 2 Specify business information when creating a new property in GA4

The next step is to define your business objective:

Screenshot Step 3 Specify business objectives when creating a new property in GA4

Select Web for data collection, then enter the website URL and a stream name. Complete the creation of the property by clicking on Create and continue.

Screenshot of data stream setup in GA4

Skip the Google Tag setup by clicking on the close icon to go directly to the next step.

Screenshot skip Google tag setup

Step 2: Create access token

Copy the measurement ID and click on Measurement Protocol – API Secrets.

Screenshot Create access token Step 1 Copy measurement ID

Select Verify and then confirm the collection of user data.

Screenshot Measurement Protocol - Check API secrets
Confirm screenshot of user data collection

Select Create, enter any alias and end the process with Create.

Create screenshot under Measurement Protocol - Select API secrets
Screenshot Assign any alias name and create new API secret

Copy the secret value to the clipboard, then close all overlays and end the process with Next.

Copy screenshot of Secret value
Screenshot End process by clicking on next

Continue with the setup of the data stream in etracker analytics.

Step 3: Setting up the Google Analytics data stream in etracker analytics

Paste the previously copied Secret value and the Measurement ID of your Google Analytics property into the corresponding fields

Screenshot Insert secret value in API Secret etracker analytics field

The server-side data stream between Google Analytics 4 and etracker is thus set up and the tracking data collected is automatically sent to GA4 and can be analyzed in the familiar GA4 interface.