Actinic is a powerful e-commerce website with everything you need to succeed online.

With the integration method we provide, you can track order ID, sub-total, separate items and customer email.

For integration with Post Affiliate Pro follow these easysteps:

1.

Find the correct place

Login to your Actinic admin account and navigate to Site> Properties by Language and place the sale tracking code to the 'Shopping Cart: Confirmed purchase page' section.

2.

per order integration

To track one commission for the entire order you have to use this code:

<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();
	var subtotal = OxOrderTotal - OxOrderTotalTax - OxOrderShipPrice - OxOrderShipTax;
	sale.setTotalCost(subtotal);
	sale.setOrderID(OxOrderID);
	sale.setData1(OxCustEmail);
	PostAffTracker.register();
</script>

As you can see, there are some fees which we subtract from the total price to get 'subtotal' amount with no fees included.

This is it. Save your changes and you are integrated.

3.

per product integration

To track separate commissions for each ordered product you have to use this code:

<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();
	
	for (var i = 0; i < OxOrderDetail.length; i   ) {
	  sale.setTotalCost(OxOrderDetail[nIdx][2] * OxOrderDetail[nIdx][3]);
	  sale.setOrderID(OxOrderID   '_'   i);
	  sale.setProductID(OxOrderDetail[nIdx][0].replace( /|/g, "");
	  sale.setData1(OxCustEmail);
	  PostAffTracker.register();
	}
</script>

The sale tracking code works with SKU as a product ID. If you would like to use product name instead of SKU, you can use this code:
OxOrderDetail[nIdx][1].replace( /|/g, "")

This is it. Save your changes and you are integrated.


Do not forget to integrate your site with the click tracking code - to do so, you can use the same Properties by Language section. Place the click tracking code to the 'Start <BODY> Block' section.