Integrating Lightspeed with OSI Affiliate Software is very easy.


Step 1. Login to your OSI Affiliate Software and click on Set Up Software.


Step 2. Click on Settings and then Show Advanced Settings link.


Step 3. Check the box of Include Parameters in affiliate URL and click on Update.


Step 4. Copy the code below.

Note: Change yourdomain with your actual OSI domain.


<script async>

    function hideIF() {    

        document.getElementById('IF').style.visibility = '';

    }

    function getSaleInfo() {

        document.getElementById('st_code').style.visibility = 'hidden';

        document.getElementById('st_code').innerHTML='<iframe src="https://yourdomain.ositracker.com/sales/salejs/amount:{{ order.information.price_excl }}/transaction:{{ order.information.number }}/firstname:{{ order.customer.firstname }}/lastname:{{ order.customer.lastname }}/email:

{{ order.customer.email }}" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';

   } 

   window.onload = getSaleInfo;

</script>

<div id="st_code"></div>


Step 5. Login to your Lightspeed admin account. Click on Settings and then Web extras under Website Settings.


Step 6. Paste the code in the field provided for Tracking code. Click on Save once done.