Skip to main content
All CollectionsGoogle Ads
Google Analytics 4 Tracking
Google Analytics 4 Tracking

This help document will show you how to set up tracking events for GA4, the latest version of the Google Analytics platform.

D
Written by Daina
Updated over a year ago

Create or use an existing Google Analytics Workflow

In your Google Analytics Workflow, select the action 'Add to Google Analytics.'

A new dropdown value under 'Action Type' has been introduced by the name 'Google Analytics 4'; select this from the dropdown.

Get a Measurement ID from your Google Analytics Data Stream

Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)

Copy the Measurement ID for your desired Data Stream:

Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.

Create a Google Analytics event that you want to track

You can Add the event name that you wish to track. This event name will show up under the Google Analytics dashboard along with other standard events that are set up.

Get an API Secret Value from your Data Stream

Add the API secret by navigating to your Google Analytics account Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream ➝ Measurement Protocol API secrets.

Please Note:
Before an API Secret can be created you need to acknowledge that you have completed the necessary privacy discussions and rights from your end users for the collection and processing of data.

Then click on Create if no API Secret has already been created.

Name your API secret and then hit Create, and a Secret Value will be generated for it automatically.

Please Note:
Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.

Save Action and then Save the Workflow. Publish if you are ready to use it.

Did this answer your question?