View Full Version : The tracking code solution

09-25-2007, 01:56 PM
In case someone is wondering and having trouble with this too, here is the solution after a lot of emails between me, Soho and PAP (PostAffiliatePro).

Open notepad and insert the code:

<script id="pap_x2s6df8d" src="http://www.demo.qualityunit.com/postaffiliatepro3/scripts/sale.js" type="text/javascript"></script>
<script type="text/javascript"><!--

var TotalCost="<?php echo $ORDER_TOTAL; ?>";
var OrderID="<?php echo $ORDER_NUMBER; ?>";

Save as affiliate.inc and upload through your filemanager in soho. Go to your shopping > Payment Options and select this affiliate.inc in the 7th option. Click "Save Payment Options". Just remember to replace http://www.demo.qualityunit.com/postaffiliatepro3/scripts/sale.js with your correct path to the sale.js file.

This code is to be used only if you are using PostAffiliatPro. But the values:

var TotalCost="<?php echo $ORDER_TOTAL; ?>";
var OrderID="<?php echo $ORDER_NUMBER; ?>";

Seem to be the values used by Soholaunch because these are working for me now :-D

Best Regards

Karen Mac
09-25-2007, 07:31 PM
Glad you got it fixed. I really didnt want to have to go and find it.