Lime Light integration
A solution for delivering your digital content, to any device, anywhere in the world.
Lime Light CRM platform is a CRM, but they are also the leading provider of continuity base processing and campaign management. They understand the unique needs of a direct response marketer and provide flexibility and transparency to increase your return on investment.
The integration works with a built-in plugin which supports Lifetime Commissions, automatic affiliate creation, per product tracking and also refunds.
Integrate your order form
The first step is to integrate your order form. The order form should already use a hidden field named ‘AFID‘. If it does, just modify it to look like the following code. If it does not, just add all the lines from the following code:
<input type="hidden" name="AFID" id="pap_dx8vc2s5" value="" />
<script id="pap_x2s6df8d" src="//URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>
As you can see, the hidden field ‘AFID‘ has an ID pap_dx8vc2s5 which is a need! It won’t work without this ID.
If you sell more products, please integrate all your forms.
Order tracking
The next step is to activate a URL for notifications. Login to your Lime Light admin panel and navigate to Campaigns> Manage Campaigns and edit it. Enable Post Back URL in Configurations.
Scroll down to the Post Back section and ‘Add additional URL’ to add ‘Order type’ for a new URL. Use this URL:
https://URL_TO_PostAffiliatePro/plugins/LimeLight/limelight.php?o={order_id}&t={total_no_shipping}&a={affiliate}&c={currency_code}&d1={email}&d2={transaction_id}&i={ip_address}&s={order_status}&f={is_test_cc}&p={post_back_action}&pr={product_skus_csv}
Automatic affiliate creation
If you want the plugin to automatically create an affiliate based on customer details, just add this code to the URL from the previous step:
&fn={first_name}&ln={last_name}&sa={shipping_address}&sc={shipping_city}
Save your work.
Refund tracking
If you want to track refunds as well, add a new URL but this time use ‘Order actions‘. For the URL use this one:
https://URL_TO_PostAffiliatePro/plugins/LimeLight/limelight.php?o={order_id}&p={post_back_action}&s={order_status}
Enable the plugin
The last step is to activate the plugin for Lime Light. Login to your Post Affiliate Pro merchant panel and enable the Lime Light plugin in the Plugins section.
When enabled, do not forget to configure it.
Do not forget to integrate your site with the click tracking code to make it all working.