cancel
Showing results for 
Search instead for 
Did you mean: 

tracking whether an order originates from an external website link

tracking whether an order originates from an external website link

Hi there

 

My client has a link on another website and he'd like to track if any orders come via the link on this website - does anyone know of an extension that would do this or failing that, how to make this happen?

 

thanks in advance.

8 REPLIES 8

Re: tracking whether an order originates from an external website link

Hi @adamhw,

 

Are you talking about the refrence link or direct order?

I mean, A customer comes from the other website for making purchase? Or you get direct order from the other website?

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: tracking whether an order originates from an external website link

hi there

 

thanks for the response - I'm talking about the reference link (a customer comes from another webiste for making purchase)

 

Need to find a way to track that order so that admin will know where (which website) the buyer originated from.

 

thanks

 

 

Re: tracking whether an order originates from an external website link

Can you tell me if the customers come direct on product page or on the homepage?

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: tracking whether an order originates from an external website link

thanks - they'll come directly on to the home page.

Re: tracking whether an order originates from an external website link

check Mage::helper('core')->getHttpReferer() in a 'controller_action_predispatch' observer, if its anexternal link, save to session/cookie, and in 'sales_model_service_quote_submit_before' and 'checkout_submit_all_after' observer, check if there is extnernal link in session then set to ext_customer_id of order table or a custom column you created.

Re: tracking whether an order originates from an external website link

you can developed an extension for your functionality and code something like this:
In refrence site where you give additional parameter to the link and trace the parameter which will give you the identity from where the customers come.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: tracking whether an order originates from an external website link

Hi,

 

It seems there is some coding work required. To just give you some idea, php variable called $_SERVER['HTTP_REFERER'] . Using this Set Cokkie OR session on Magento, Create New Field in the sales_quote to store that value. Using this you will able to get the report how many order coming from external site

 

 

 

Regards,
Opal Infotech,
Skype : professionalseo
www.webmasterindia.com

Re: tracking whether an order originates from an external website link

Did he implement any affiliate functionality on the site, check out this module and suggest to him. This will allow you to setup and track everything;

 

https://www.jorhna.com/

Magento Extensions and Services Provider

Best Rated Extensions
Top Notch Support and Service