Awin

Send your event data from RudderStack to Awin.

Awin is an affiliate marketing program that connects advertisers and affiliates of all sizes. It provides a network of affiliate partners, click tracing and tracking, advertiser directory, reports and analytics, and more.

Find the open source code for this destination in the GitHub repository.

Getting started

RudderStack supports sending event data to Awin via the following connection modes:

Connection ModeWebMobileServer
Device mode---
Cloud modeSupportedSupportedSupported

Once you have confirmed that the source platform supports sending events to Awin, follow these steps:

  1. From your RudderStack dashboard, add a source. Then, from the list of destinations, select Awin.
  2. Assign a name to the destination and click Continue.

Connection settings

To successfully set up Awin as a destination, you will need to configure the following settings:

  • Advertiser ID: Enter your Awin advertiser ID.
  • Events to Track: Enter the event names for which you want to track the conversions.
warning
You must enter all event names for which you want to make a track call.

Track

You can use the track call to send the conversion data directly to Awin’s servers.

A sample track call is shown below:

rudderanalytics.track("Product Purchased New", {
  revenue: 4.99,
  currency: "USD",
  commissionGroup: "CD",
  name: "Shirt",
  voucherCode: "FIRSTSALE",
  order_id: "ORD123",
});

Supported mappings

The following table lists the mappings between the RudderStack and Awin properties:

Product-level tracking

RudderStack propertyAwin property
properties.order_id
properties.orderId
properties.orderReference
properties.order_reference
Required
orderReference
product[i].product_id
product[i].productId
Required
productId
properties.products[i].name
Required
productName
properties.products[i].price
Required
productItemPrice
properties.products[i].quantity
Required
productQuantity
properties.commissionGroup
properties.commission_group
Required. Default value is DEFAULT
commissionGroupCode
properties.products[i].sku
Optional. If not present, RudderStack sends an empty value instead.
productSku
properties.products[i].category
Optional. If not present, RudderStack sends an empty value instead.
productCategory

Other mappings

RudderStack propertyAwin property
properties.revenue
properties.totalAmount
properties.amount
properties.total_amount
totalAmount
properties.voucherCode
properties.voucher_code
voucher_code
properties.currency
properties.currencyCode
properties.currency_code
currencyCode
properties.cks
properties.awc
awc
properties.testMode
properties.test_mode
properties.isTest
properties.is_test
Default value is 0.
isTest

FAQ

Where can I find the Awin advertiser ID?

To obtain your Awin advertiser ID, log in to your Awin dashboard to see the advertiser ID in the top right corner as well as in the URL:

Awin advertiser ID

Questions? Contact us by email or on Slack