Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 8
Next »
With Google Analytics UA
Go to the "Variables" section
Make sure the Container ID is listed under the Build-In Variables
Create "User defined variables" following this scheme:
Type of variable: Data layer variable
Name of the data layer variable: dimensionXX, where "XX" is the index of the dimension created on GA. For example, if the index of your dimension is 1, please indicate dimension1, if it’s 2, please indicate dimension2 and so on.
And give it an adloop related name
Repeat these operations for all custom dimensions created in GA
Open the configuration of the "Google Analytics settings" variable,
In "More Settings -> Custom Dimensions, click on "Add Custom Dimension"
Fill in the following information:
Index: XX (where "XX" is the index of the dimension created on GA)
Dimension value: {{adloop_click_XX}} (Use the brick to choose the previously created variable)
Repeat these operations for all variables created in GTM
Go to the "Tags" section and add a new tag of type "Custom HTML", with the name "Adloop tag".
Copy and paste the content provided on the Adloop interface into the "HTML" field of the tag
Save the tag without trigger
Open the configuration of the Google Analytics tag with the largest trigger ("All pages" or “Pageviews” for example).
In the advanced settings of this tag, in "Tag sequencing", check "Trigger a tag before Google Analytics is triggered" and choose the "Adloop tag" previously created
Google Analytics 4
Go to the "Variables" section
According to the custom dimensions created earlier, create "User defined variables" following this scheme:
Type of variable: Data layer variable
Name of the data layer variable: dimension1, where "1" is the index of the dimension created on GA
Repeat these steps for all custom dimensions created in GA
Open the configuration of the "Google Analytics settings" variable
In "More Settings -> Custom Dimensions", click on "Add a custom dimension"
Fill in the following information:
Index: 1 (where "1" is the index of the dimension created on GA)
Value of the dimension: {{adloop_click_1}} (Use the brick to select the previously created variable)
Repeat these operations for all variables created in GTM
Go to the "Tags" section and add a new tag of type "Custom HTML", with the name "Adloop tag"
Copy and paste the content provided on the Adloop interface into the "HTML" field of the tag
Save the tag without trigger
Open the Google Analytics tag configuration with the largest trigger ("All pages", for example)
In the advanced settings of this tag, in "Tag sequencing", check "Trigger a tag before Google Analytics is triggered" and choose the "Adloop tag" previously created
Deploy the new version