Freeway
 
Integration with Freeway is made by placing sale tracking script into the confirmation page. To obtain the values of OrderID and TotalSale, snippet connects to Freeway database and retrieves the values from there.
 
LEAD Code Integration 1 Edit template
Find and open file /templates/content/checkout_success.tpl.php
 
LEAD Code Integration 2 Locate right place for integration
Inside the file find this line <?php if(AFFILIATE_COMMISSION_JUNCTION=='true'){
 
LEAD Code Integration 3 Add integration code
Insert the following code just above that line:
Javascript Code
 OR
Image Code
 
Please take care to replace <?=$orderId?> and <?=$orderAmount?> in the sale code with your server side script notations for the orderid and total amount variable used in your website.
 
LEAD Code Integration 4 Integration is finished
It is now integrated. Every time customer enters the order confirmation page the tracking code is called and it will register a sale for referring affiliate.