AspDotNetStorefront integration
This integration method is for Asp.net Shopping Cart – AspDotNetStorefront. The integration is done by editing Thank you page. It tracks commissions per order and supports Lifetime Commissions.
1. Integration
Find your thank you page (post order page) file at your server and add this code into it:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('(!ORDERTOTAL!)');
sale.setOrderID('(!ORDERNUMBER!)');
sale.setData1('(!CUSTOMERID!)');
PostAffTracker.register();
</script>
Integration will track total cost and order ID.
If you are using version 8.x you will need to create a topic called ‘ConfirmationTracking‘ within the admin site, and paste tracking code inthere.