The integration method integrated the "thank you" page in Shopp.


Adding the code

Navigate to /wp-content/themes/_yourtheme/shopp/ where "_your_theme_" is name of your theme used by WP and open thanks.php for edit. The javascript tracking code with appropriate variables is below:

<!--PAP sale tracking code starts here-->
<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 type="text/javascript">

var sale = PostAffTracker.createSale();
sale.setTotalCost('<?php shopp('purchase','total'); ?>');
sale.setOrderID('<?php shopp('purchase','id'); ?>');

<!--PAP sale tracking code ends here--->

This is all what you have to do... Do not forget about click tracking code as well.