Advertiser Tracking Guide/Commission Groups

From Wiki

Jump to: navigation, search

[-] Advertiser Tracking Guide

[-] Commission Groups

Commission groups can be utilised to attribute the whole or parts of the transaction to a specific commission percentage or amount. The groups themselves are created and maintained within Commission Management in the Awin interface.


Template - Conversion Tag

AWIN.Tracking.Sale.parts = "{{commissionGroupCode}}:{{totalAmount}}";


Template - Fall-back Conversion Pixel

&parts={{commissionGroupCode}}:{{totalAmount}}


  • {{commissionGroupCode}} should be replaced by the code for the commission group you want to attribute the transaction to. Accepted characters for the commissionGroup code are alphanumerics (letter in upper case), underscore '_' , point '.' and minus '-'.
  • {{totalAmount}} must be replaced by the order subtotal amount - after any relevant discounts are applied but prior to any additional fees such as taxes, delivery charges, or relevant service charges are added. The value must be a float, no thousand separator is allowed and finally the decimal place has to be a standard dot character, for example: "1083.29".


Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=8.33&ch=aw&cr=EUR&parts=SPECIAL_OFFERS:8.33&ref=AA000002&testmode=0&vc=100FF" style="display: none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = {};
AWIN.Tracking = {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "8.33";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.currency = "EUR";
AWIN.Tracking.Sale.orderRef = "AA000002";
AWIN.Tracking.Sale.parts = "SPECIAL_OFFERS:8.33";
AWIN.Tracking.Sale.test = "0";
AWIN.Tracking.Sale.voucher = "10OFF";
//]]>
</script>


[-] New vs Existing

A very effective way of rewarding publishers for delivering new customers is to pay out a slightly higher commission for these transactions.

Just make sure you have created the two groups NEW and EXISTING within your advertiser programme's Commission Management settings and then customise your tracking implementation like below.


Template - Conversion Tag

AWIN.Tracking.Sale.parts = "{{customerType}}:{{totalAmount}}";


Template - Fall-back Conversion Pixel

&parts={{customerType}}:{{totalAmount}}


  • {{customerType}} should be replaced by either "NEW" or "EXISTING" depending on the type of customer
  • {{totalAmount}} must be replaced by the order subtotal amount - after any relevant discounts are applied but prior to any additional fees such as taxes, delivery charges, or relevant service charges are added. The value must be a float, no thousand separator is allowed and finally the decimal place has to be a standard dot character, for example: "1083.29"


Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=12.49&ch=aw&cr=EUR&parts=NEW:12.49&ref=AA000003&testmode=0&vc=100FF" style="display: none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = {};
AWIN.Tracking = {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "12.49";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.currency = "EUR";
AWIN.Tracking.Sale.orderRef = "AA000003";
AWIN.Tracking.Sale.parts = "NEW:12.49";
AWIN.Tracking.Sale.test = "0";
AWIN.Tracking.Sale.voucher = "10OFF";
//]]>
</script>


[-] Multiple Commission Groups

It is possible to split the transaction into parts which each gets assigned to a separate commission group. Do this by populating each part separated by a pipe ("|") character.


Template - Conversion Tag

AWIN.Tracking.Sale.parts = "{{commissionGroupCode1}}:{{commissionGroupAmount1}}|{{commissionGroupCode2}}:{{commissionGroupAmount2}}...";


Template - Fall-back Conversion Pixel

&parts={{commissionGroupCode1}}:{{commissionGroupAmount1}}|{{commissionGroupCode2}}:{{commissionGroupAmount2}}...


  • {{commissionGroupCode1}} must be replaced by the first commission group code you want to attribute a part of the transaction to
  • {{commissionGroupAmount1}} must be replaced by the amount you want to attribute to the first commission group
  • {{commissionGroupCode2}} must be replaced by the second commission group code you want to attribute a part of the transaction to
  • {{commissionGroupAmount2}} must be replaced by the amount you want to attribute to the second commission group
  • ...etc.etc.

The total sum of AWIN.Tracking.Sale.parts in the Conversion Tag and parts in the Fall-back Conversion Pixel must exactly equate to the total transaction amount populated to AWIN.Tracking.Sale.amount and amount!


Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=26.09&ch=aw&cr=EUR&parts=CD:11.10|DVD:14.99&ref=AA000006&testmode=0&vc=100FF" style="display: none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = {};
AWIN.Tracking = {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "26.09";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.currency = "EUR";
AWIN.Tracking.Sale.orderRef = "AA000006";
AWIN.Tracking.Sale.parts = "CD:11.10|DVD:14.99";
AWIN.Tracking.Sale.test = "0";
AWIN.Tracking.Sale.voucher = "10OFF";
//]]>
</script>

Privacy

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