Advertiser Tracking Guide/Discount .2F Voucher Code Tracking
From Wiki
Revision as of 08:12, 10 October 2024 by Maik Ernst (Talk | contribs)
[-] 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>