Advertiser Tracking Guide/Discount .2F Voucher Code Tracking

From Wiki

Jump to: navigation, search

[-] Advertiser Tracking Guide

[-] Discount / Voucher Code Tracking

Awin's tracking supports reporting on whether or not a discount / voucher code was utilised by the customer during the check-out process.

Make sure that any affected amounts (total, commission group and/or product) within the rest of tracking reflect the applied discount!


Template - Conversion Tag

AWIN.Tracking.Sale.voucher = "{{voucherCode}}";


Template - Fall-back Conversion Pixel

&vc={{voucherCode}}


  • {{voucherCode}} should be replaced by the identifier / name of the discount / voucher code that was applied during check-out. If no code was used then just leave blank. The parameter value has to be URL-encoded.


Example

<img border="0" height="0" src="https://www.awin1.com/sread.img?tt=ns&tv=2&merchant=1001&amount=7.50&ch=aw&parts=DEFAULT:7.50&ref=AA000005&testmode=0&vc=10PERCENTOFF" style="display: none;" width="0">
<script type="text/javascript">
//<![CDATA[
/*** Do not change ***/
var AWIN = AWIN || {};
AWIN.Tracking = AWIN.Tracking || {};
AWIN.Tracking.Sale = {};
/*** Set your transaction parameters ***/
AWIN.Tracking.Sale.amount = "7.50";
AWIN.Tracking.Sale.channel = "aw";
AWIN.Tracking.Sale.orderRef = "AA000005";
AWIN.Tracking.Sale.parts = "DEFAULT:7.50";
AWIN.Tracking.Sale.test = "0";
AWIN.Tracking.Sale.voucher = "10PERCENTOFF";
//]]>
</script>
<script defer="defer" src="https://www.dwin1.com/1001.js" type="text/javascript"></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