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.

info
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 configure Awin as a destination, you will need to configure the following settings:

  • Advertiser ID: Enter your Awin advertiser ID. For more information on obtaining your advertiser ID, refer to the FAQ section below.
  • 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:

RudderStack propertyAwin propertyNotes
properties.revenue
properties.totalAmount
properties.amount
properties.total_amount
totalAmount-
properties.commissionGroup
properties.commission_group
commissionGroupDefault value is DEFAULT
properties.voucherCode
properties.voucher_code
voucher_code-
properties.currency
properties.currencyCode
properties.currency_code
currencyCode-
properties.order_id
properties.orderId
properties.orderReference
properties.order_reference
orderReference-
properties.cks
properties.awc
awc-
properties.testMode
properties.test_mode
properties.isTest
properties.is_test
isTestDefault value is 0

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