Page 1 of 1

Help To Integrate ShareASale Tracking Code

Posted: Wed Sep 08, 2010 9:27 am
by VladZablotskyy
Not sure this is a correct forum to post this request but there it is...

We are planing to launch an affiliate program with ShareASale and are in the process of integrating the tracking code. It was a bit disappointing to see the guide for so many other cars (like OSCommerce and Magento ::) ) yet none for OpenCart :(

Anyway the default tracking code is this:

Code: Select all

<img src="https://shareasale.com/sale.cfm?amount=AMOUNTOFSALE&tracking=TRACKINGNUMBER&transtype=TYPEOFTRANSACTION&merchantID=XXXX" width="1" height="1">
It needs to be placed on the "thankyou/success" page in OpenCar. Following are the crucial info that needs to be passed to ShareASale.
AMOUNTOFSALE = subtotal (before any shipping/handling cost or taxes)
TRACKINGNUMBER = Order ID

Any help will be much appreciated.

Re: Help To Integrate ShareASale Tracking Code

Posted: Wed Sep 08, 2010 7:58 pm
by Miguelito
Well this needs customization of /catalog/controller/checkout/success.php to capture the subtotal and order id + creating that whole link with subtotal and order id. Also you need to edit /catalog/language/english/checkout/success.php.

Re: Help To Integrate ShareASale Tracking Code

Posted: Wed Sep 08, 2010 9:16 pm
by Xsecrets
actually it's a bit more difficult than that because the order information gets destroyed out of the session before sucess, so you have to go back and set the order information in a new session variable that won't get destroyed so that you can access it in the success file It's something that really should be addressed in the core since there are many, many tracking things out there that all need this info on the success.

Re: Help To Integrate ShareASale Tracking Code

Posted: Wed Sep 08, 2010 9:31 pm
by VladZablotskyy
It all sounds like something out of the rocket science class to me..... :(
Thanks nevertheless!

Re: Help To Integrate ShareASale Tracking Code

Posted: Sat Jul 09, 2011 11:22 am
by npcheshire
+1 vote for Shareasale support in Opencart!

Re: Help To Integrate ShareASale Tracking Code

Posted: Mon Aug 22, 2011 11:44 pm
by onlinemarketer
Are the votes still being counted?!

+1 more!

Most third party affiliate systems require this so it would be a great addition to opencart as core or extention :)

Re: Help To Integrate ShareASale Tracking Code

Posted: Fri Apr 20, 2012 12:35 am
by arames
Pleeeeeeeeeeeease has ANYBODY found a solution to integrate ShareAsale with OpenCart?

ShareAsale send us automatically hundred of thousands of clicks and affiliates from their site, so we need a code to pay them.

Warm regards

Re: Help To Integrate ShareASale Tracking Code

Posted: Wed Nov 28, 2012 2:08 am
by izee
I desperately need to know the answer to this as well.

Re: Help To Integrate ShareASale Tracking Code

Posted: Thu May 30, 2013 9:16 am
by flywatches
Couldnt you simply insert the shareasale code in the footer template?