Page 1 of 1

Activate the User ID feature within Universal Analytics

Posted: Sat Jan 18, 2025 6:38 am
by Jahangir147
3) Add the User ID script.
Under the Customise Page Code section of the Universal Analytics Tool settings, open the editor and add the following script;

To set the user ID replace ‘User ID Data Element Name’ with the name you gave your User ID data element.
4) Test script.
In each GA request, where the user is signed in, the script should send the parameter and uid of the value of the data element. Upon the user signing out no value should be sent. The easiest way to test is with the Google Tag Assistant plug-in for Chrome where you should see the User ID being sent as below:
russian email list 1.7 million contact leads
5) Activate the User ID feature within Universal Analytics.
Once everything is set up, and you’ve validated that the correct data is being sent, you can activate the feature within Google Universal Analytics. Please refer to the following Google Analytics support page for help on how to activate this.

Welcome to a new world of multi-channel attribution.
Once all these steps have been completed, publish the changes in DTM and you will start to see unique users based on the ID being tracked within Google Universal Analytics. Finally, you will be able to see users’ behaviour across multiple devices to help in understanding how your users interact with your site across these multiple devices.

Be sure to subscribe to our blog as we continue to explore implementing more features of Google Analytics in DTM and check out other related posts including Setting up enhanced link tracking for GA in DTM.