CS-Cart is a shopping cart solution for building an eCommerce website of any size: from a small web store to a virtual shopping mall.

The integration is done by adding a custom tracking code to it's 'Thank you' page. You can track subtotal, product ID and order ID with it.

1.

Login

Login to your admin panel and navigate to Design> File editor. Now, use the left menu to open file Templates> Views> Checkout> Complete.tpl

Edit the template

Place the sale tracking code to the very end of the file:

<!-- Post Affiliate Pro integration snippet -->
<script id="pap_x2s6df8d" src="http://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost('{$order_info.subtotal}');
sale.setOrderID('{$order_info.order_id}');
sale.setProductID('{$product.product_code}');

PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->

Save your changes. You are done.

Also, do not forget to integrate your site with the click tracking code to make it all working correctly.

The click tracking code can be found in your merchant panel > Tools > Integration > Click Tracking.

From there just copy it, then login to your CS-cart admin panel, navigate to Design > Templates > Index.tpl and paste it to the very bottom.

That's it.