Home Plugins Lifetime Commissions

Supported by:
  • Post Affiliate Pro (4.0.8 or higher)

Lifetime Commissions

Author: QualityUnit
Enables lifetime referrals - which means that your affiliate refers customer only once, and gets commissions for every his future order, even if customer deletes cookies, etc.

Requirements:
in order to make it work, you have to pass some identifier that uniquely identifies the customer (for example his email) in the data1 parameter in the sale/lead tracking code.

For example:
<script id="pap_x2s6df8d" src="http://www.yoursite.com/affiliate/scripts/salejs.php" type="text/javascript">
</script>
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setTotalCost('120.50');
sale.setOrderID('ORD_12345XYZ');
sale.setProductID('test product');
sale.setData1('some@customeremail.com');
PostAffTracker.register();
</script>

How it works:
  • If customer is referred by the affiliate for the first time, the plugin will store the relation between customer (his identifier) and affiliate into the database
  • Next time, when the same customer is referred (with the same identifier), it will find the affiliate who originally referred him, and give him commission
  • If no affiliate is found, the process goes normally, so it tries to recognize affiliate from cookie, etc.

This plugin is part of Post Affiiate Pro release.