This is integration method with Supercart (supercart.cz)

1.

Edit thank you page file

The first step is to find file template/default/order_finish.php and add this code, e.g. to the end of the file:

<?php echo tpl('system/pap_tracking.php', array('order' => $order)); ?>

Save your changes.

2.

Create the tracking file

As you can see, we've pointed the template file to a custom file in previous step. Now we have to create it.
Create a file pap_tracking.php in template/system/ directory and add this content to it:

<script type="text/javascript">
	document.write(unescape("%3Cscript id=%27pap_x2s6df8d%27 src=%27" + (("https:" == document.location.protocol) ? "https://" : "http://") + "URL_TO_PostAffiliatePro/scripts/trackjs.js%27 type=%27text/javascript%27%3E%3C/script%3E"));
</script>
<script type="text/javascript">

<?php
// $order['total_price']
$i = 1;
foreach($order->order_products() as $product) {
  echo "var sale$i = PostAffTracker.createSale();";
  echo "sale$i.setTotalCost('".$product['price'] * $product['quantity']."');";
  echo "sale$i.setOrderID('".$order['id'].'('.$i.")');";
  echo "sale$i.setProductID('".($product['sku'] ? $product['sku'] : $product['id'])."');";
  $i  ;
}
?>
PostAffTracker.register();
</script>

Save the file. In case you created it locally, please do not forget to upload it to template/system/

That's it, your shop has just been integrated.

Do not forget to integrate you click tracking code - you can insert it to file template/default/footer.php