Make sure the Container ID is listed under the Build-In Variables Go to the "Variables" section According to the custom dimensions created earlier, create "User defined variables" following this scheme: First one: Type of variable: Data layer variable Name of the data layer variable name : adloop_click_1 (the event parameter of the previously created custom dimension)-code Give the variable an Adloop related name - Image Added
Second one:
Open the configuration of the "Google Analytics: GA4 Configuration" variable In "Fields to Set”, click on "Add Row" Fill in the following information: Field Name: adloop_click_1 Value: {{adloop_click_1}} ( Use the brick to choose the previously created variable) Repeat these operations for the second variable created in GTM
Image RemovedImage AddedGo 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
|