To explain the logic
You want to register a click commission only when the customer will also order something. It is not possible to pay real click commission in this scenario, but we will add the "click" commission right in the sale script.
The sale tracking script is registering the sale only in case the cookies are created - so this ensures there was a click. This click commission can be set to 0 or even it can not be enabled in commission settings of the campaign. Now, you only need to register the click when sale is processed. In this scenario we pay $1 per click.
How to do it
This is the ordinary sale tracking code:
<script id="pap_x2s6df8d" src="https://www.yoursite.com/affiliate/scripts/salejs.php" type="text/javascript"> </script> <script type="text/javascript"> var sale = PostAffTracker.createSale(); sale.setTotalCost('335.40'); sale.setOrderID('ORD_12345XYZ'); sale.setProductID('Product_XYZ'); PostAffTracker.register(); </script>The only thing to do is to edit the sale tracking code and add the bold part:
<script id="pap_x2s6df8d" src="https://www.yoursite.com/affiliate/scripts/salejs.php" type="text/javascript"> </script> <script type="text/javascript"> var click = PostAffTracker.createSale(); click.setCustomCommission('1'); click.setOrderID('click'); var sale = PostAffTracker.createSale(); sale.setTotalCost('335.40'); sale.setOrderID('ORD_12345XYZ'); sale.setProductID('Product_XYZ'); PostAffTracker.register(); </script>Now, when the sale will be processed, there will be created a sale commission and also a click commission...