Advertiser Offline Tracking

From Wiki

Jump to: navigation, search



Offline Transaction Processing is Awin’s system for processing publisher transactions without the use of cookies or tracking code on the confirmation page.

Capturing data

This system requires the advertiser to capture various values on click-through and store them until the point that the sale completes. The details are then reported back to Awin with any transaction details by a batch CSV file.

The click values to capture on click-through and store are as below.

  • Affiliate id (Captured from click-through URL)
  • Click date (Format (BST): dd/mm/yyyy hh:ii:ss)
  • Group id (Captured from click-through URL)
  • Banner id (Captured from click-through URL)
  • Product id (Captured from click-through URL)
  • Click ref (Captured from click-through URL)
  • Click checksum (Captured from click-through URL)

On click-through to the advertiser's site the click values are added to the query string.

Example: awaid=12345&awgid=123456&awbid=234567&awpid=123456789&awcr=abcd1234&awchecksum=2aeff1ef22119c6dbc699bcc174ec544

The parameters can be defined by the advertiser.

All the values should be captured and stored to a cookie for the length that you would like to reward publishers for (normally 30 days).

Multiple Commission Groups

In order to add multiple commission groups within offline tracking, you can do this by separating the parts parameter by a pipe delimiter, for example:


The sale amounts will need to amount to the total within the sale_amount variable


When the transaction is completed the values that have been stored in the cookie need to be taken and put together with the transaction information.

When the advertiser is able to report the transaction through to Awin the information for each transaction needs adding to a CSV file. Each row of the file contains details of a single transaction.

The CSV file needs to be formatted in the format below.

COL 1:  com_date (This is the transaction date (BST) and should follow the format: d/m/Y H:i:s)
COL 2:  order_reference
COL 3:  sale_amount
COL 4:  type (should be left blank; old legacy feature that can be declared as "l" for lead or "s" for sale)
COL 5:  parts (commission_group_code:sale_amount)
COL 6:  merchant_customer_id (can be left blank if not used)
COL 7:  publisher_id
COL 8:  click_date (Format (BST): d/m/Y H:i:s)
COL 9:  group_id (can be left blank if not used)
COL 10: banner_id (can be left blank if not used)
COL 11: product_id (can be left blank if not used)
COL 12: click_ref (can be left blank if not used)
COL 13: status ("pending" for pending and "confirmed" or leave blank for
COL 14: voucher_code (voucher code used in transaction or leave blank if none was used)
COL 15: user agent (optional)
COL 16: awc (must have format of 'advertiserId_unixTimestamp_clickCheckSum') (optional)

Below is an example of how the CSV file should look:

05/07/2007 19:25:55,124749,89.99,,default:89.99,,45628,03/07/2007 19:25:55,12345,47895,12547895,abc123,pending,
06/07/2007 15:45:52,124851,50,,default:50,,45628,02/07/2007 15:45:52,12348,58745,45782698,def345,confirmed,FREEDELIVERY
07/07/2007 11:15:23,124967,48.79,,default:48.79,,45628,05/07/2007 11:15:23,15489,68954,58314967,ghi678,confirmed,10OFFGADGETS
11/11/2015 12:34:56,124967,48.79,,default:48.79,,45628,10/11/2015 09:30:00,15489,68954,58314967,ghi678,confirmed,10OFFGADGETS,"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36",1001_1447147800_2aeff1ef22119c6dbc699bcc174ec544


Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button