In the example below I am using the tracking code for the 2Parale platform (www.2performant.com affiliate marketing network in Romania and Bulgaria). The tracking code received from them looks something like this:
<iframe height='1' width='1' scrolling='no' marginheight='0' marginwidth='0' frameborder='0'
The above tracking code is used to track if a sale has been completed successfully. In order to do that you must provide some variables:
- __ADD_SALE_VALUE__ represents the total value of the sale (without taxes and shipping)
- __ADD_TRANSACTION_ID__ represents the unique transaction ID that identifies the transaction in your store
- __ADD_DESCRIPTION__ this is an informative message about the transaction (or the actual product description)
This tracking code must be added to your Thank You page, or order-confirmation.tpl file, which is located in themes/theme/order-confirmation.tpl Continue reading Add affiliate tracking code in Prestashop