MOBYMEMORY Posted October 25, 2011 Share Posted October 25, 2011 Hi i am looking for some advice in installing a piece of coding in to my product conformation page for which the affiliate program has provided. The following instruction If you intend to pay your affiliates for a completed sale, you need to integrate the following sales tracking code into your site. The sales tracking code should be placed on the order confirmation page of your web site. This is the page that is shown to your customer once their purchase has been confirmed, and commonly includes a summary of their order and an order reference number. Your customised sales tracking code is shown below. This code can be placed anywhere within the page, however we recommend placing it at the end of your page between the </body> and the </html> HTML tags. however i can not work out where this page would be Link to comment Share on other sites More sharing options...
benknackan Posted January 3, 2012 Share Posted January 3, 2012 I need urgently help with this too! Running 1.4.4.1 Link to comment Share on other sites More sharing options...
Lee Posted January 17, 2012 Share Posted January 17, 2012 Hi, have either of you managed to solve this? I'm having the same problem. Posted a request for help on this below but have had no reply on it. http://www.prestashop.com/forums/topic/150923-affiliate-future-integrating-tracking-code/page__fromsearch__1 Link to comment Share on other sites More sharing options...
benknackan Posted January 17, 2012 Share Posted January 17, 2012 use this: http://www.prestashop.com/forums/topic/32086-implementation-of-tracking-pixel/page__fromsearch__1 Got it working that way (: Link to comment Share on other sites More sharing options...
Lee Posted January 17, 2012 Share Posted January 17, 2012 use this: http://www.prestasho...__fromsearch__1 Got it working that way (: That's for a completely different affiliate network with different tracking code. Link to comment Share on other sites More sharing options...
benknackan Posted January 17, 2012 Share Posted January 17, 2012 Yeah I've used it for different affiliate networks and it works fine. As per the thread u see what the prestashop variables are for totalorder {$total} and orderid {$orderId}. Which is what u need to change from the code gottten from ANY affiliate network Link to comment Share on other sites More sharing options...
Lee Posted January 17, 2012 Share Posted January 17, 2012 That's not necessarily correct for all affiliate networks. Have you used that for Affiliate Future? Also {$total} is for the total order including shipping costs which means your giving more money away to the affiliate than you need to - commission should be taken from just the products only, not the shipping costs. [sOLVED] I've solved it anyway for any other merchants with Affiliate Future who are stuck with this: The whole affiliate future tracking code script should be added to the bottom of order-confirmation.tpl, with the following order value and ID values to be set: var orderValue = 'ORDER_VALUE'; var orderRef = 'ORDER_REF'; should be set as follows with each value in inverted commas: var orderValue = '{$product_total}'; var orderRef = '{$id_order}'; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now