Awin

The Awin and AnyTrack integration provides real-time tracking and reporting of affiliate marketing conversions, allowing users to monitor ROI across various networks and campaigns. This integration facilitates the automatic forwarding of conversion data to platforms like Google Ads and Facebook, enhancing visibility and optimization through machine learning. Key features include easy setup with predefined Postback URLs, comprehensive event mapping, and the ability to validate and troubleshoot integration through AnyTrack's tools.

Awin Integration Overview

The Awin and AnyTrack integration unlocks powerful insights into your affiliate marketing campaigns. With the integration, data from your conversions on Awin is sent to AnyTrack in real-time, enabling you to track ROI for each network and campaign. From there, AnyTrack forwards that conversion data directly to platforms like Google Ads, Facebook Conversion API and Tiktok API - giving you total visibility of how well those campaigns are performing across all channels. All this with just a few clicks!

✍️

_This article was first published on 2023-04-19 and was last updated on 2023-05-31. If you you notice something that is outdated, please suggest a change.

How does the Awin AnyTrack integration work:

  1. Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
  2. Engagements: When visitors click on your Awin affiliate links, AnyTrack does a few things:
    1. Collects granular data tied to the OutboundClick.
    2. Triggers Event Tracking API requests to your pixels and analytics.
  3. Conversions: When visitors convert on the merchant's website, AnyTrack receives real time conversion data through Postback URL.
  4. Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the Anytrack Dashboard.
  5. Conversion API: AnyTrack then sends your conversions to your Ad Platforms' Conversion API so you can feed your ad platform's Machine Learning, AI and automatic optimization according to 100% of your conversion data.

Technical details

ReferenceValueInformation
Tracking GroupawinThe Tracking Group reference can be used to activate AutoTag.
Subid Parameterclickref5The Subid Parameter used to pass the AnyTrack click_id.
Tracking MethodPostback URL-

Standard Conversions

Event NameDetailsData Source
OutboundClickWhen a visitor clicks on Awin offer links.AnyTrack JS Tag
LeadWhen a free registration is recorded in Awin.Postback URL
PurchaseWhen a user generates a commission in Awin.Postback URL

The Awin Postback URL

The Postback URL is fully pre-defined and ready to be implemented with your Awin account.

https://t1.anytrack.io/hBtoE3hN/collect/awin?affiliateId=!!!affiliateId!!!&bannerId=!!!bannerId!!!&clickRef=!!!clickRef!!!&clickRef2=!!!clickRef2!!!&clickRef3=!!!clickRef3!!!&clickRef4=!!!clickRef4!!!&clickRef5=!!!clickRef5!!!&clickRef6=!!!clickRef6!!!&clickThroughTime=!!!clickThroughTime!!!&clickTime=!!!clickTime!!!&commission=!!!commission!!!&commissionGroups=!!!commissionGroups!!!&groupId=!!!groupId!!!&merchantId=!!!merchantId!!!&phrase=!!!phrase!!!&products=!!!products!!!&searchEngine=!!!searchEngine!!!&transactionAmount=!!!transactionAmount!!!&transactionDate=!!!transactionDate!!!&transactionId=!!!transactionId!!!&url=!!!url!!!&transactionCurrency=!!!transactionCurrency!!!&trackedAmount=!!!trackedAmount!!!

❗️

Before you begin

The Awin integration requires that the AnyTrack Tracking Tag in the head section of your website or landing pages. Learn now to Install the AnyTrack Tag on your website.

Setup Guide

Step #1: Add Awin to your AnyTrack Account

  1. Go to the Integration Catalog, search for Awin.
Integration Catalog
  1. Now click on the Awin cardand then Click on Install.
Awin Integration Page

Step #2: Connect your Awin account

  1. Copy the predefined Postback URL
  2. In Awin panel, navigate to the Transaction Notifications settings (Advanced > Transaction Notifications)
  3. Paste the Postback URL
  4. Select Callback Method Get
  5. Select Product and click source data
  6. Save

Step #3: Adjust the Conversion Event Mapping

The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (ex: Facebook Conversion API).

🚧

Limited Availability

The Integration Event Mapping is not available for integrations that do not have standard Conversion Event Names passed to the Anytrack platform.

Awin Conversion Event Mapping

Validate your integration

🔎

Install the AnyTrack Pixel Helper Extension

Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your website. It also shows connected ad networks and browser-side events. Learn more.

This section will enable you to validate the main aspects of your setup.

Link tracking

Since Tracking starts when visitors clicks on offer links, you should verify that your links are tracked and AutoTagged.

AutoTag Methods

🔥

Reminder about AutoTag:

AutoTag is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends clickref5 & click_id data to affiliate links. Learn more about AutoTag.

  • Default: By default, AnyTrack automatically identifies and AutoTags Awin links found on your website.
  • AutoScan: AnyTrack scans links that are embedded in redirects plugins and AutoTags them accordingly.
  • Manual:
    • Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example: data-tracking-group="awin" or rel="awin". More about Tracking Group.
    • Click ID Token: You Manually append the subid: &clickref5=--CLICK-ID-- to the offer link.

Once the links are set up, you can check in your Awin account reports and see whether the clickref5 parameters are passed to the offer links.

Here is an example of how you would manually update links from awin:

<a href="https://example.foo/goto/awin" data-tracking-group="awin">Hover on theAwin Demo   
Link to see the AnyTrack `click_id`</a>

📘

Tracking Group

Tracking Group refers to the integration technology. For example, Awin Tracking Group tracking group is awin and ClickBank is clickbank. The Tracking Group

Conversion Tracking

To validate your setup, you should either wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.

Integration Conversion log

Awin conversion payload example


{
  "commissionGroups": [
    {
      "name": "Default",
      "description": "Default",
      "amount": "23.80",
      "id": "307729",
      "code": "DEFAULT",
      "commissionAmount": "20.00"
    }
  ],
  "transactionCurrency": "GBP",
  "searchEngine": null,
  "bannerId": "3057982",
  "groupId": "429873",
  "clickTime": "2023-05-20 12:23:11",
  "trackedAmount": null,
  "clickRef": null,
  "transactionDate": "2023-05-20 12:31:12",
  "affiliateId": "777537",
  "transactionId": "1349680710",
  "url": null,
  "clickRef5": "Zojr5qPF3fVkchrNWwIjDfCD9OkZvEyC5v",
  "phrase": null,
  "clickRef6": null,
  "merchantId": "21501",
  "clickRef3": null,
  "clickRef4": null,
  "transactionAmount": "23.80",
  "clickRef2": null,
  "commission": "20.00",
  "clickThroughTime": "2023-05-20 12:23:11"
}


FAQ & Troubleshooting

  • Can I import past conversions into Anytrack?

    No. Anytrack can only ingest conversions that have been triggered following a visitor session on your website.
  • Can I track direct linking campaigns?

    Yes, but this requires a custom setup. Please refer to this article.
  • Can I use a different subid parameter than the one predefined by AnyTrack?

    No.
  • Can I track conversions without the click_id?

    No. The click_id passed to the Awin links is required to track conversions.
  • The Conversion Event Name is not what I am expecting, how can I change it?

    You can update the Event Mapping in the Integration page.
Awin Event Mapping

Take these steps to troubleshoot errors you encounter in AnyTrack

  • General troubleshooting

    • Verify that your tracking tag is set in the head section of your website.
    • If you're on the free plan, verify that you didn't reach the monthly traffic limit and upgrade if needed.
  • Conversion sources

    When you are not tracking conversions, or most conversions trigger an error follow the guidelines below.

🚧

Before you reach out to the tech support, please inspect the conversion log to see what type of errors you are getting and try to fix the integration by following these troubleshooting guidelines.

  • Native integrations

    Native integrations refer to platforms that are predefined in the catalog and should provide an error-free data flow.
    The most common error is that the click_id is unknown or missing. It happens when AutoTag could not be activated.
    • Check that your links are not hidden behind some javascripts or double redirects.
    • Check that the links are in a standard a element.
    • Try to manually set the tracking group attribute (check the integration guidelines).
    • Check whether your offers are not getting traffic from websites where the AnyTrack Tag isn't set.
    • If you just installed AnyTrack, errors might be from traffic that wasn't tracked by AnyTrack.
    • Conversion data doesn't trigger an error 🔴, but is not validated 🟢:

      • Check that the Postback URL you've set in the integration matches the pre-defined Postback URL we provide.
      • Copy the Event Reference from the Conversion Event Log and contact the support.
    • You're not getting any conversions:

    • Check that the Postback URL is set and active in your platform.
    • Check that you're passing the correct AutoTag clickref5 parameter to the offer link.
    • Check that the Postback URL is correctly inserted in the custom integration.