...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Contener connection and selection
Tags template selection
Template edition Fill in the 3 following fields:
Consent
Publishing
There are two ways to set up the custom dimensions:
There is function that you can call anywhere you want. This function automatically fills the custom dimensions when using GTAG, GA or PA analytics objects.
In case of a specific setup, it is also possible to set the custom dimensions manually (if the usual method doesn’t work, most probably because of the execution order of the Adloop tag). a. For Piano Analaytics The Adloop dimensions values are stored in a variable called (you write this in the console debugger of your browser if you want to see what’s inside) :
For example (in this case, the example implements the queue system of Piano, ‘paq’) :
Notes for debugging: There are some debugging logs for this new feature, that you can access in the console debugger of your browser. For you to be able to see it, you need to create a new cookie for the website that you are setting up (using a browser extension, like Cookie Master) The cookie must be named “ With this cookie, you will see that kind of logs : b. With GA4 In the pageview tag, add after the params var definition, add the following code:
|
Expand | ||
---|---|---|
| ||
adloop_click_1 and for the value select the first user defined variable you created previously using the brick button adloop_click_1_meta and for the value select the second user defined variable you created previously using the brick button Note: the name of the value between {{ }} depends on how you named your user defined variable ; it might be different from the screenshot above.
|
...
Expand | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||
First, ensure that your Shopify site is properly connected to your Google Analytics account.
Go to Adloop and copy-paste the script. Go to your Adloop space, and go to the settings of your Adloop Tracking & Attribution data-source. Once your setup is complete, go to the step “JS file and collect - Generate the script”, and use the button “Copy in clipboard”. In your Shopify administration, go to Online Store > Themes, then in the section for your current theme, click the button to the left of Customize (…), and select Edit Code. Select the theme.liquid file and locate the closing Just before the tag VerificationOnce the setup is complete, here’s how to check if everything is working correctly.
b3523d6c-4f6b-40b2-ff18-61d1c046d67:AHK7n4|IN|site.com”.
|
The verification of the script is very easy and will take only a couple of minutes.
If you have a preview mode, use it before publishing !
In GTM, using the preview mode
In CAX, using chrome or resource override extension
Click on the F12 button of your computer or right-click > Inspect to open the Console and go to the Network tab. In the filter box, type :
...