Awin tag for Google Tag Manager Server Side

There are two types of events that Awin tag supports: PageView and Conversion.

  • PageView event stores the awc URL parameter inside the awin_awc or awin_sn_awc cookie, and the source (usually, the utm_source value) inside the awin_source cookie.
  • Conversion event sends the HTTP request with the specified conversion data to Awin.

How to use the Awin tag:

  1. Create an Awin tag and add Page View and Purchase triggers.
  2. Add the only required field for the conversion event - Merchant ID, other fields are optional.

Merchant ID - advertiser program ID.

Order Reference - booking or transaction ID.

Total Order Value - value excluding taxes, delivery, and discounts. For a lead-based campaign or program, the value should be the number of leads; for example, “1”. Tag will ignore the value if multiple commission groups are specified in the Commission Group Code field.

Currency Code - currency code in ISO standard (e.g., “GBP”).

Commission Group Code -the code for the commission group you want to base the commission calculation on. The value can be either a single group name (e.g., “CD”) or a complete set of groups and the commission value for each group (e.g., “CD:11.10|DVD:14.99”).

Discount Code - promo code applied on the check-out.

Last Paid Click Referring Channel - the value utilized to determine how AWIN should process the incoming transaction requests.

Discount Code - promo code applied on the check-out.

Products Override - override items array to be used by the tag.

Automatically detect consent from Google Consent Mode or Stape’s Data Tag - if you are using Google Consent Mode or Stape’s Data Tag to transmit consent to the server.

Awin Consent Signal - manual field to supply consent information.

Enable Unconditional Cashback & Rewards Tracking - option to exempt Cashback and Rewards Journeys from consent restrictions.

Awin Click ID - optional, can be used to override click ID from cookie.

In test mode - use to test the setup. Conversion in the test mode will be ignored.

Override the cookie domain - optional, can be used to override the default domain where cookies are set.

Override the cookie SameSite attribute - optional, can be used to override the SameSite attribute used by cookies (by default, no SameSite attribute is set).

Use HttpOnly cookies - optional, can be used to use HttpOnly cookies (not accessible via JavaScript).

Useful links:

Open Source

Awin Tag for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.

GTM Gallery Status

:green_circle: Listed