AWIN Tracking Integration with the Consentmo app
AWIN's complete tracking solution allows advertisers to record and report on an extensive range of data points, including basket value, number of products, product type, new or existing customers, use of a coupon code, and click-to-sale lag time.
If you’re currently using the service above, the integration script from our app needs to be implemented in accordance with the visitor’s consent given via the Cookie bar.
Integration Steps
- Open Shopify Admin.
- Click on Online Store link in the left menubar.
- Click on the Actions dropdown button and select Edit Code from there.
- A new page will open with a list of files on the left side of the screen. Open the
theme.liquidfile. - Locate the opening
<head>and add the following line of code:
{% render 'consentmo-awin-integration-script' %}
- Create a new liquid file in the Snippets section of the theme files, called
consentmo-awin-integration-script - After that copy the content of the integration script provided below and paste it in the newly created Snippet file:
- The final result should look like this:
Testing the Awin Consent Integration
You can verify the consent state communicated to Awin directly from your browser's Developer Console.
Check the Awin consent state
- Open your storefront in a new Incognito/Private browser window.
- Open Developer Tools → Console.
- Before interacting with the cookie banner, run:
AWIN.Tracking.AdvertiserConsent
The returned value indicates the consent status currently communicated to Awin:
false— consent has not been provided to Awin.true— consent has been provided to Awin.
Test before consent
Before accepting the relevant cookie category, run:
AWIN.Tracking.AdvertiserConsent
The expected result is:
falseThis indicates that Awin has not been granted consent.
Test after accepting consent
Accept the relevant cookie category from the Consentmo Cookie Banner and run the command again:
AWIN.Tracking.AdvertiserConsent
The expected result is:
trueThis confirms that the updated consent status has been communicated to Awin.
Test after rejecting consent
Reject the relevant cookie category or update your preferences so that consent for Awin is not provided. Run:
AWIN.Tracking.AdvertiserConsent
The expected result is:
falseThis confirms that Awin has received the updated consent status.
NOTE: The Awin MasterTag may still be present on the page when the consent value is
false. According to Awin's implementation guidance, the MasterTag should load regardless of the consent status. TheAdvertiserConsentvalue is used to communicate whether consent has been provided.
For additional information, refer to Awin's official documentation:
Need help?
In case you need any assistance, please make sure to reach out to our support team via live chat or at support@consentmo.com
Updated on: 18/09/2026
Thank you!

