I'm currently with clixgalore. If the sale is not made on the day, but the customer comes back and buys within 90 days (or however long my cookie is set for) the affiliate gets commission. I thought that's how all affiliate programs work.



Let's say the customer had clicked on a banner which had a ninety day cookie. Then I happen to send them a free link to a product. They are still going to the same download page. Wouldn't the code on the download page then link with the ninety day cookie and make it look like a sale has occurred? So I'm worried about paying commission on products I give for free.

  • created

    Feb '08
  • last reply

    Feb '08
  • 1

    reply

  • 665

    views

  • 2

    users

  • 1

    link

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.