This is integration method for Pinnacle Cart.

1.

Edit template

Open file: /content/skins/{your_skin}/completed.htm (This file can beedited via File Manager >> Skins Files in your shopping cartadministration panel)

2.

Integration

Add following code at the end of this file:

<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_amount}');
sale.setOrderID('{$order_num}');

PostAffTracker.register();
</script>

3.

New version of Pinnacle Cart

For new version of Pinnacle Cart (3.x) you have to follow these instructions.

The sale tracking code has to be placed to Marketing> Google Tools> Conversion Tracking section. Use this sale tracking code, paste it below the Google code which is already there, or replace it in case you do not use 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">
PostAffTracker.setAccountId('Account_ID');
{foreach from=$items item="item" name=pap4}
  var total = {$item.price|string_format:"%.2f"} * {$item.quantity};
  var sale{$smarty.foreach.pap4.iteration} = PostAffTracker.createSale();
  sale{$smarty.foreach.pap4.iteration}.setTotalCost(total);
  sale{$smarty.foreach.pap4.iteration}.setOrderID('{$order_num}({$smarty.foreach.pap4.iteration})');
  sale{$smarty.foreach.pap4.iteration}.setProductID('{if $item.attribute_sku != ''}{$item.attribute_sku|escape:"javascript"}{else}{$item.sku|escape:"javascript"}{/if}');
{/foreach}
PostAffTracker.register();
</script>

When you are done, activate Conversion Tracking Code.

You can also use these variables:

{$item.product_name|escape:"javascript"} for product name


{$item.catalog_name|escape:"javascript"} for category (or variation)



This is all that is required. Do not forget to integrate your site with the click tracking code as well.