Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (386 votes)

97% thumbs up 2% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How do I pass order details back to my affiliate program?

Your affiliate tracking program will provide you with conversion tracking code, which will contain simple HTML or JavaScript and may look something like this:

<img border="0" src="https://www.YOURDOMAIN.com/affiliate_tracker/sale.php?totalminusshipping=XXX&orderid=XXX" width="1" height="1">

You should paste this code into the Conversion Tracking Code box on the Affiliate Settings page under the Settings menu in your store's control panel. Most affiliate tracking code will contain placeholders which you can replace to pass the order's total amount and ID back to the affiliate tracking program so your affiliates can see how much commission they've made.

In the example code above there are two variables. One for the order's total amount and one for the order's ID:

totalminusshipping=XXX&orderid=XXX

Your conversion tracking code will look similar to this, although maybe not identical as it depends on which affiliate tracking program you're using. To have Interspire Shopping Cart pass back the order's total amount to your affiliate tracking program, you would replace the XXX in your conversion code with %%ORDER_AMOUNT%%

For this example, the above tracking code would then become:

<img border="0" src="https://www.YOURDOMAIN.com/affiliate_tracker/sale.php?totalminusshipping=%%ORDER_AMOUNT%%&orderid=XXX" width="1" height="1">

If your tracking code has a variable for the order ID, you would replace it in your conversion code with %%ORDER_ID%%

For this example, the above tracking code would then become:

<img border="0" src="https://www.YOURDOMAIN.com/affiliate_tracker/sale.php?totalminusshipping=%%ORDER_AMOUNT%%&orderid=%%ORDER_ID%%" width="1" height="1">

Now when someone places an order through an affiliate link on your store, the placeholders will automatically be replaced by Interspire Shopping Cart with their order details. For example, if John Smith placed an order for $495 in your store and his order ID was 9584 then the placeholders in your conversion tracking code would look like this:

<img border="0" src="https://www.YOURDOMAIN.com/affiliate_tracker/sale.php?totalminusshipping=495.00&orderid=9584" width="1" height="1">

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software