Page 1 of 1

Let's say you need to use your Google

Posted: Wed Dec 18, 2024 8:00 am
by nusaiba124
Going back to my scroll depth trigger example, the variable would be 75% vertical scroll depth. Tags also use variables to collect information that can be passed to the data layer as users interact with your site. A typical example would be a tag that fires when a user adds a certain number of products to their cart. Variables can often be reused between tags. A common trick with GTM is to create variables with ID numbers or tracking codes that you need to use more than once.


Analytics measurement cyprus whatsapp number data ID in multiple tags. You can create a variable whose value is your ID number. This way, you don't have to find and enter your ID number over and over again, you can just select the variable name. When using GTM, there are two different types of variables: built-in variables and user-defined variables. Built-in variables are one of the most commonly used types of variables, so Google makes them easily accessible in GTM.

Image

Once you select a built-in variable, you can configure its settings as you wish. List of built-in variables in Google Tag Manager. The variables listed in the screenshot above are just a few of the built-in variables available to the web container. Click the Configure button to access more built-in variables. If you need a different type of variable that isn't included in the built-in variables, you can create a user-defined variable. You can create variables from the GTM dashboard by clicking the Variables button on the left menu.