- 26 Mar 2025
- DarkLight
Adobe
- Updated on 26 Mar 2025
- DarkLight
This article will guide you through how to install the Awin Tracking using Adobe Tag Manager
This article covers the integration of client-side tracking in Adobe Tag Manager. For information on installing Server-to-Server (S2S) please see our Server-to-Server guide.
Step 1: Setting Up Variables
To transfer all data correctly into our tracking tags, it’s required to setup some variables first. Within the ‘Data Elements’ tab, select ‘Add Data Element’.
Please note that the definition of the variables below will be depending on your DataLayer structure. If a variable for any of the variables below already exists, you can skip that step and follow the instructions for the next variable.
Order Reference
If a variable which displays the order reference already exists, you can skip this step and move to the next variable. Otherwise, follow the instructions below:
1) – Firstly, select ’Awin Order Reference’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’JavaScript Variable’ as the Data Element Type.
4) – Input the DataLayer variable name into the ’JavaScript variable name’ field.
Total Order Value
1) – Firstly, select ’Awin Total Order Value’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’JavaScript Variable’ as the Data Element Type.
4) – Input the DataLayer variable name into the ’JavaScript variable name’ field.
Currency Code
Method 1 – Dynamically Populate the Currency Code (for websites with multiple currencies).
1) – Firstly, select ’Awin Currency Code’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’JavaScript Variable’ as the Data Element Type.
4) – Input the DataLayer variable name into the ’JavaScript variable name’ field.
Method 2 – Hardcode a single ISO currency code
1) – Firstly, select ’Awin Currency Code’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’Constant’ as the Data Element Type.
4) – Input the Currency Code you wish to use into the ‘Constant Value’ field.
Commission Group Code
Commission Group Code is a value that coheres with the commission group code that is set in the Awin platform and it determines the amount of commission paid to publishers on each sale. This can be percentage based or a set value. For more information, please see our Commission Groups guide.
1) – Firstly, select ’Awin Commission Group Code’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’Constant’ as the Data Element Type.
4) – Input the value ’DEFAULT’ into the ‘Constant Value’ field.
Channel Value
1) – Firstly, select ’Awin Channel’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’Constant’ as the Data Element Type.
4) – Input the value ’aw’ into the ‘Constant Value’ field.
Voucher Code
1) – Firstly, select ’Awin Voucher Code’ as the name for this variable.
2) – Select ’Core’ as the Extension type.
3) – Select ’JavaScript Variable’ as the Data Element Type.
4) – Input the DataLayer variable name into the ’JavaScript variable name’ field.
Custom Parameter (from 1 to 10)
Custom parameters can be used to share any extra data to the Awin Conversion Tag, this can later be retrieved from the report files in the Awin platform. We’ll exemplify how to set Custom Parameters for other DataLayer values, but this can receive any kind of data. For more information, please see our Custom Parameters guide.
If you don’t wish to configure custom parameters for the tracking you can SKIP pass this step.
1) – Firstly select ‘Awin Custom Parameter 1’ as the name for this variable
2) – Select ’Core’ as the Extension type.
3) – Select ’JavaScript Variable’ as the Data Element Type.
4) – Input the DataLayer variable name into the ’JavaScript variable name’ field.
Test Mode
Test mode should always be set to a constant value of ’0’.
Step 2: Awin Mastertag Plugin
The Advertiser MasterTag is Awin’s first party tracking JavaScript solution. The tag should be unconditionally appended to every page (including confirmation page) excluding those that display or process payment information.
1) Simply add the Awin MasterTag Plugin from the Adobe catalogue and click Configure.
2) Input your Advertiser ID as provided by your Awin Technical contact.
3) Configure the Action Type to a Load Event. Name this event ‘Awin Advertiser MasterTag – Load Event’
Step 3: Awin Conversion Tag Plugin
Awin’s Conversion Tag detects when a conversion has taken place and communicates this information to the MasterTag. The MasterTag can then send the tracking requests to Awin so it can be recorded as a sale.
As the two tags work together, it is important that both of these are on the confirmation page. While the MasterTag is unconditionally appended across the whole site except payment pages, the Conversion Tag only exists on the confirmation page.
1) Add the Awin Conversion Tag Plugin from the Adobe catalogue and click Configure.
2) Enter your Advertiser ID provided by your Awin Technical contact.
3) For Sale Based (CPA Model) please configure the parameters as follows. Please ensure the Action Type is configured to a Sale Event and the Action Type has been named accordingly.
3*) For Lead Based (CPL Model) please configure the parameters as follows. Please ensure the Action Type is configured to a Lead Event and the Action Type has been named accordingly.
Testing your Tracking
Please see our article on testing your Integration for further instruction.
Server-to-server tracking
You’ve completed the client-side integration of Awin tracking! From here, we recommend that you test your integration and continue on with integrating the mandatory server-to-server portion of our tracking.
server-side tracking via Conversion API
server-side tracking via direct implementation
Consent
As an Advertiser, it is your responsibility to obtain cookie consent for Awin’s tracking and inform us of the consent status. We strongly recommend making use of Awin Consent Signals. Further information regarding consent can be found on Consent Framework.