NewCart integration
A service that allows you to create and easily manage a professional e-commerce web site featured with all you need to sell online.
NewCart is a service that allows you to create and easily manage a professional E-Commerce web site (E-Shop) featured with all you need to sell online. The integration method integrates the built in thank you page.
Edit your thank you page
NewCart.it allows you to customize the thank you page. To do this, log into your e-shop control panel, go to TEMPLATES AND LAYOUTS, then to LAYOUT SETTINGS, then paste the following code into the field named “CONTENTS TO BE ADDED IN THE FINAL ORDER CONFIRMATION PAGE ONLY“:
<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('[OTRK_TOTAL_TO_PAY]');
sale.setOrderID('[OTRK_ORDERID]');
PostAffTracker.register();
</script>
It is now integrated. Every time customer enters the order confirmation page, the tracking code is called, and it will register a sale for referring affiliate.
Do not forget to integrate your shopping cart with the click tracking code. You can place it into the “Text” field in the Templates and Layouts > Layouts > Footer settings section of the NewCart E-Shop control panel – you should click the html button to switch the text editor to pure html mode.