Skip to main content

Overview

Google Analytics 4 is an analytics service that enables marketers to measure traffic and engagement across the websites and apps. Integrated with Zeotap it helps marketers to improve data tracking, incorporate machine learning capabilities, cross-device tracking, create custom audiences and improve privacy controls.

Supported Identifiers

This integration supports GA Client ID.

Available Actions and Supported Features

The following table lists the available action types for the integration and the supported features for each action type:
Action NameID EXTENSIONDELETEDELTA UPLOAD
Send identifiers to Google Analytics 4-

Components of Google Analytics 4

Ensure that you have details about the below components of Google Analytics available before creating a Destination.

Obtain the Measurement ID and API Secret

You may already have a Property created in your Google Analytics 4 account. If not, then perform the following steps to create a Property:
1
Log in to the Google Analytics 4 account.
2
Go to Admin > Create Property.
3
Enter a Property Name and then click Next.
4
Under the Business information section make the appropriate selections as per your business requirement and then click Create. The GA4 property is created.
5
Within a Property, a Data Stream has to be created. Note that you may already have a data stream created. If not, then perform the following steps to create a Data Stream:a. Go to the created property > Data Streams > Web Platform (Currently we support web implementation of GA4 only).b. Enter the Website URL for which GA4 has to be configured and the Stream Name.c. Click Create Stream.
6
Click on the created Data Stream. A section appears on the right side with all the relevant information about the Data Stream.
7
Copy the Measurement ID and use this to create the GA4 Destination.
8
Scroll down and click the Measurement Protocol API secrets. A section appears on the right side displaying the existing API secrets and an option to Create a new one.
9
Copy the API Secret and use this to create the GA4 Destination.

Create Custom Dimensions

After successfully creating a Property and Data Stream as mentioned above, the next step requires you to create the Custom Dimension. Note that in order to send events and audience to be identified at GA4’s end and this integration to work, it is mandatory to create the custom dimensions as mentioned below.
1
Navigate to Configure > Custom Definitions > Create Custom Dimensions.
2
Create two custom dimensions, as explained below.
  • Custom Dimension 1
    • Dimension Name - Audience Name
    • Scope - Event
    • Description - As per your requirement
    • Event Parameter - audience_name
  • Custom Dimension 2
    • Dimension Name - Zeotap Event Type
    • Scope - Event
    • Description - As per your requirement
    • Event Parameter - zeotap_event_type

What Zeotap does for the Integration to Work?

Zeotap sends a Custom Event named zeotap_event. Its event parameters are audience_name and zeotap_event_type. This audience_name is the Audience Name and zeotap_event_type is the segment membership of the user.
  • If a user is part of the segment, then add is sent.
  • If the user is removed from the segment in subsequent refreshes, then remove is sent.
Note:Audience Name created by the clients must be 100 characters or fewer, or else it will not be ingested by GA4.

Create a Destination for Google Analytics 4

Perform the following steps to create a Destination for Google Analytics 4:
1
Log into the Zeotap CDP App and go to the DESTINATIONS application.
2
Click + Create Destination.
3
Under All Destinations, search for Google Analytics 4.
4
Click Google Analytics 4. A screen appears displaying details about the particular destination towards the left. On the right-hand side of the screen find a list of fields that are required for the integration to be established. Enter the required details as mentioned in the following steps:a. Enter a name for the Destination.b. Enter the Measurement ID and API Secret that you obtained as mentioned above.c. Review all the values entered above and then click Next to proceed.
5
In the new screen that appears, choose the appropriate Action and mapping as explained below.a. Choose the desired action under Choose your Action and then choose the corresponding identifiers under Map the Fields. By default, the Output Identifiers that are accepted by the platform such as, MAIDs, Cookies, email Ids and more are displayed. However, you can edit, add or remove an identifier from the list. To do so, refer here.b. Click Create Destination. The created Destination gets listed in the Audiences application, which can be linked to an Audience/segment.
For information about how to link an Audience or segment to the created Destination in Audiences application, refer here. Note that it can take up to one business day for the segment to be available at the Google Analytics 4 seat.
Note:The terms Audiences and Segments are used interchangeably to refer to customer cohorts belonging to a specific category. For example, an Audience or a segment can be a specific group of customers who are over 18 years of age and have performed an addToCart event within the last 30 days.

Use case to Understand the Integration Better

Assume that as a client, you are sending userId (GA Client Ids) corresponding to a segment and using this ID to create an audience within GA4. This audience can then be linked to Google Ads to use in your Ad campaigns. In such a scenario, you are required to create an audience in GA4 as mentioned below.
1
Navigate to Configure > Audiences > New Audience > Create a Custom Audience.
2
Include users to your audience. Click Add new condition and then make the following selections:a. Click Events and then choose zeotap_event from the drop-down menu.b. Click ADD PARAMETER and make the following selections under Custom:i. Audience Name > audience_name > choose the relevant audience name. The audience name automatically appears in the drop-down menu for audience_name.ii. Zeotap Event Type > zeotap_event_type > choose Add for users being added to the segment.c. If users were removed from the audience in subsequent refreshes, then click ADD GROUP TO EXCLUDE.
3
To exclude users that were subsequently removed from the audience, Click Add new condition and then make the following selections:a. Click Events and then choose zeotap_event from the drop-down menu.i. Audience Name > audience_name > choose the relevant audience name. The audience name automatically appears in the drop-down menu for audience_name.ii. Zeotap Event Type > zeotap_event_type > choose Remove for users being added to the segment.
4
Click Save.
Note:For information about how to create Audience in Google Analytics 4, refer here.
Once you have successfully performed the above steps, ensure to link your GA4 account with the Google Ads account for the audiences to appear in Google Ads. For information about how to to link Google Ads account to Google Analytics, refer here.

User Disqualification from Audiences

This integration supports user disqualification from audiences. That is, a user can be disqualified from an audience (segment) for various reasons, such as not meeting audience criteria, consent requirements or other conditions set for a particular audience.
  • When a user disqualifies from an audience, Zeotap CDP initiates a user deletion request in the next refresh cycle. These requests are sent to the audiences linked to the specific destination.
  • The disqualified users are excluded from the audiences based on the configured refresh frequency for a particular audience.
  • User disqualification is a programmatic process that works automatically. You do not need to specify anything to trigger the disqualification and exclusion of users from audiences.
Last modified on February 26, 2026