If you have the E Junkie online website system and you are looking to setup your own affiliate program, this can be easily done. If you do not already have an affiliate software system you can sign up for one of the OSI Affiliate Software Plans.


We have made it easy to integrate your affiliate software with your shopping cart or gateway by following the instructions below. If you would like our technical team to integrate the software for you then you can sign up for our Managed Integration option.


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


Step 2. Click on Get Thank You Page Code.


Step 3. Click on Get Thank You Page Code and make the following changes (in bold) to the code.

<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:15/transaction:B" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';

   } 

   window.onload = getSaleInfo;

</script>

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


  • Yourdomain: Use your own OSI domain
  • Amount: %total% (excludes shipping and sales tax)
  • Transaction: %txn_id%



Step 4. Login to your E Junkie admin account and click on Manage Seller Account then Edit Preferences.


Step 5. Paste the modified code in the Common Thank-you Page HTML field. Scroll down and click Submit.


Follow the additional steps below to enable recurring commissions for subscription-based products.


Step 1. Click on your account name located at the bottom left and click on Modify Profile.


Step 2. Take note of your API User Token. If the field is blank, click on Generate API Key button.


Step 3. Set the sales tracking code to capture customer email. Go back to Get Thank You Page Code and select Recurring Commission using email match and webhook.


Step 4. Make the following changes (in bold) to the code.

<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:AmountVariableHere/transaction:TransactionIDVariable/customer_email:CustomerEmailVariable" alt="" id=IF width=50 height=50 border="0" frameborder="0" onload="hideIF()">';

   } 

   window.onload = getSaleInfo;

</script>

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


  • Yourdomain: Use your own OSI domain
  • Amount: %total% (excludes shipping and sales tax)
  • Transaction: %txn_id%
  • Customer_email: %payer_email%

Step 5. Login to your E Junkie admin account and click on Manage Seller Account then Edit Preferences.


Step 6. Paste the modified code in the Common Thank-you Page HTML field. Scroll down and click Submit.


Step 7. To have all recurring charges passed to our system from sales that were referred by any of your affiliates you will need to format the web hook URL shown below.  This url will need to be automatically called by your subscription payment system whenever a customer is charged on a recurring basis. If your subscription system does not have a way of calling a webhook url whenever a charge occurs you will need to have a developer write a code that will allow this to happen.


For example if you have a customer that was referred by an affiliate and you charge monthly, when this customer is charged, the webhook URL shown here will need to be called:


http://yourcompany.ositracker.com/sales/send_recurring?key=aa383695cafbc2beaf481576319ae78d&customer_email=%payer_email%&amount=%total%&transaction=%txn_id%


  • Note: In the code shown above before you add it to your subscription system to be called on the recurring basis, you will need to make the changes shown here:
    Where it says "yourcompany" this should be the name of your account location.
  • Where it says "key=aa... " you will need to plugin your API token that you got from Step 2 above. 


Step 8. Go back to your E Junkie admin account and click on Manage Seller Account then Edit Preferences.


Step 9. Paste the modified code in the Common NotificationURL field. Scroll down and click Submit.