AWIN

Send conversion and sale data to AWIN server-to-server for affiliate tracking, commission attribution, and publisher performance reporting.

⚠️

This blueprint is currently alpha — schema and behaviour may change before GA.

Prerequisites

Complete these steps in the AWIN dashboard before configuring Signal.

Create an AWIN advertiser account

Sign up as an advertiser at awin.com or log in to your existing AWIN account. You must have an active advertiser account to use the server-to-server integration.

Find your Advertiser ID

Navigate to Account > Overview in the AWIN dashboard. Your Advertiser ID is displayed prominently on the account overview page and also appears in the URL.

Generate an API key

Go to Account > API Credentials (or contact your AWIN account manager to enable API access). Generate or copy your API Key. This key authenticates server-to-server conversion tracking calls.

Configure your conversion feed

Navigate to Tracking > Conversion Tag and set up your conversion parameters. Note the Feed ID associated with your product or conversion feed. This links tracked conversions to the correct publisher commissions.

Configure commission groups

Ensure your commission groups are set up in Finance > Commission Groups so that server-tracked conversions are correctly attributed and paid out to publishers.

Configuration

FieldTypeRequiredDescription
advertiser_idstringYesYour AWIN advertiser ID from Account Overview.
api_keysecretYesYour AWIN API key for authenticating server-to-server calls.
feed_idstringYesThe feed ID associated with your product or conversion feed.

Signal Setup

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find AWIN or filter by Attribution.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. Click Install Integration to create the integration with a ready-to-use default blueprint.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/awin/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AWIN",
    "variant": "default",
    "config": {
      "advertiser_id": "12345",
      "api_key": "your_api_key",
      "feed_id": "67890"
    },
    "delivery_mode": "server_side"
  }'

Event Mapping

The Retail variant maps the following Datafly events to AWIN conversion events:

Datafly EventAWIN EventNotes
Product Addedadd_to_cartCart-stage event for awareness funnels (no commission)
Order CompletedpurchaseRequires orderRef, amount, currency, commissionGroup
Custom eventsPassed throughAdd the AWIN conversion type in the blueprint event map

Identity

The default blueprint forwards the following identifiers to AWIN:

SourceAWIN field
user_idcustomer_id
context.ipip_address
context.user_agentuser_agent

AWIN’s click reference (awc) is the primary attribution token. Capture the awc query parameter on the landing page and pass it through Datafly.js so it reaches AWIN with each conversion.

Default consent category: advertising. AWIN conversion tracking is an advertising destination — gate behind advertising consent in your CMP.

AWIN requires the click reference (awc parameter) to attribute conversions to the correct publisher. Ensure your site captures and forwards the awc click cookie through Signal events.

Verify it’s working

  1. Generate a test click through an AWIN tracking link to create a valid awc reference.
  2. Complete a test conversion on your site that triggers a Datafly event.
  3. In the Signal Management UI, open your AWIN integration and watch the Live Events stream.
  4. In the AWIN dashboard, navigate to Reports > Transactions and look for your test conversion (it may take a few minutes to appear).
  5. Confirm 200 responses in Signal’s Live Events log.

Troubleshooting

SymptomCauseResolution
401 UnauthorizedInvalid API keyVerify api_key in AWIN API Credentials and update Signal.
400 Bad RequestMissing required conversion fieldsEnsure orderRef, amount, and commissionGroup are mapped in the blueprint.
Conversions not appearingMissing awc click referenceThe AWIN click ID must be captured from the landing page URL and included in the event.
Commission not attributedWrong commission groupVerify commission group codes in AWIN match the values in your blueprint.
Duplicate conversionsSame orderRef sent twiceAWIN deduplicates by order reference; ensure each order has a unique ref.

Visit AWIN documentation for full API reference and credential setup instructions.

Blueprint

The AWIN blueprint version is 0.1.0 (alpha). It ships with a Retail variant covering add_to_cart and purchase conversion events.

See also