ViArt integration
PHP shopping cart with CMS and help desk.
The integration method uses general tracking code with special ViArt variables. You can track total cost and order ID only.
Sale tracking on thank you page
Edit file templates/user/block_checkout_final.html.
This is the tracking code you should paste to the file:
<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();
var total = {google_total} - {google_tax};
sale.setTotalCost(total);
sale.setOrderID('{google_order_id}');
PostAffTracker.register();
</script>
Save your changes and your are done.
Do not forget to integrate your cart also with the click tracking code.