Create a new variable

Discuss smarter ways to manage and optimize cv data.
Post Reply
shaownhasan
Posts: 432
Joined: Sun Dec 22, 2024 10:35 am

Create a new variable

Post by shaownhasan »

3) Implement User ID in tracking code (if using Google Tag Manager)
This section explains how to set the User ID when using Google Tag Manager.

First, define the variables. After opening Google Tag Manager, click president email lists "New" under "User-defined variables " in the " Variables" menu to create a new variable.


Open "Variable Settings" and select the variable type . This time, we will explain how to select "Data Layer Variable" .

When you select "Data layer variable"

Set the variable name and version. In this example, the name is set to "uid" and the version is set to "Version 2".

Set the variable name and version

Once you have defined your variables, create a new tag.
Return to the Google Tag Manager home page and click "New Tag."
Post Reply