That is correct, the affiliate gets the commission if the customer comes back and buy within the time frame the cookie is set for.
Well, E-junkie will display the JavaScript tracking code that you have entered on the thank you page.
To avoid that, you can use a JavaScript condition around the JavaScript code (apart from includes) to not run the code in case it's a free transaction. Our free transactions start with "j".
So, if the code that they have give you to place in the thank you page is:
<script type="text/javascript" src="http://somedomain/somefile.js"></script>
<script language="javascript" type="text/javascript">
- lines of code -
</script>
then, your code will become
<script type="text/javascript" src="http://somedomain/somefile.js"></script>
<script language="javascript" type="text/javascript">
var txn_id;
txn_id='[%txn_id%]';
if (txn_id.substring(0,1)!="j") {
- lines of code -
}
</script>
Please note, [%txn_id%] is an E-junkie template variable which will be replaced by actual transaction ID when E-junkie renders the thank you page.