Commission Integration Using an iframe Tag
To integrate the affiliate software for commission generation using an iframe tag, you will need to do the following:
- Open up your shopping cart's or web site's 'Thank you' page.
- You will need to find the $AMOUNT and $ORDERID for your thank you page. This is required to generate commissions on a sale.
- Add the hidden iframe tag to your thank you page. Here's some sample code:
<iframe src="http://www.yourdomain.com/affiliates/sale/amount/$AMOUNT/trans_id/$ORDERID" border="0" height="1" width="1"></iframe>
- Make sure to change the http://www.yourdomain.com/affiliates to point to your affiliate install and change the $AMOUNT and $ORDERID variables to reflect that of your shopping cart or thank-you page.