Configure the variables
Last updated
Last updated
You need to configure some user-related varibles. These variables starts with user_ prefix. At this moment the only variable you need to config is user_GA4_ID. You need to set value of this varible to your Google Analytics 4 ID.
First you need to find your GA4 ID.
Open your Google Analytics4 account and navigate to the Admin section:
Now you need to select Data Streams in the admin dashboard
And then select your DataStream by clicking on it
Now you can see your GA4 ID on the opened page
Copy the value of your Measurement ID (GA4 ID) to the clipboard.
Now you need modify the GTM variable value:
In your Google Tag Manager navigate to Variables section.
Find user_GA4_ID variable in the list
Click on the variable name
Click on the Varible Configuration section
Paste your GA4 ID in the Value field
Click Save button at the right top corner of the page