how to put Affiiate program tracking code
I have the same issue. I need to put the tracking code in X-cart.
I am using Pay Pal.
I assume the code should be in skin1/main/customer/order_message.tpl
This is the code and the instructions:
<iframe src="https://www.rewardtrak.com/pub/c/index.cfm?m=35&c=33&v=[value_of_sale]&t=[label]" style="visibility: collapse; width:1px; height:1px;"></iframe>
Replace the value of the sale. Replace [value_of_sale] with an expression equal to the amount of the sale. See the following for examples in common web application platforms, or consult your web application platform's documentation on how to do this.
PHP
In PHP, you might have a variable named $amount that contains the amount of the sale. In that case, you would replace [value_of_sale] above with the value of $amount.
Replace the value of the label. The label contains any data that you may wish to use to identify the transaction for your own purposes, so that you can match RewardTrak's conversion reports with your own transaction data. Replace [label] with such an identifier. See the following for examples in common web application platforms, or consult your web application platform's documentation on how to do this.
PHP
Suppose you had a variable $transaction_id that contained the ID of the completed purchase. In that case, you would replace [label] with the value of $transaction_id.
MY QUESTION: Which value should I put in [value_of_sale] and [label]
Where is the transaction ID and amount of sale?
Should it coming from Pay Pal?
Any help is appreciated! Thanks
__________________
www.ChiMassager.com
X-cart Version 4.44
www.SEOMarketing30days.com
--> Download FREE SEO marketing Ebook (valued $50)
Attract more visitors and sales with top 5 most powerful SEO marketing strategies. Converting visitors into buyers, not just traffic!
|