Mal’s e-commerce integration
Solution that enables entrepreneurs to add a free shopping cart to their website.
Please follow the following steps to integrate with Mal’s e-commerce.
Note: You might need to have a premium account of Mal’s e-commerce to be able to do the integration, unfortunately we can’t do anything about that.
Add click tracking script header
navigate to Cart setup > Customize > Header, font and alignment and insert this code to the “Header message“:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
Add click tracking script body
Navigate to Cart setup > Customize > Premium Customize. Insert this code to both “Footer” text fields:
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');try {
PostAffTracker.track();
} catch (err) { }
</script>
Add sale tracking code
Navigate to the Cart setup > Customize > “Other messages and general settings” section. There is “Exit messages” section at the bottom of this page, which contains Secure and Unsecure payments text areas.
Add following code to both of these fields:
<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('{sb}');
sale.setOrderID('{id}');
PostAffTracker.register();
</script>