aspose file tools
The moose likes JSP and the fly likes no of counts of user who had entere the website through google Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "no of counts of user who had entere the website through google" Watch "no of counts of user who had entere the website through google" New topic
Author

no of counts of user who had entere the website through google

Dhruvaa Nair
Greenhorn

Joined: Jan 26, 2007
Posts: 1
I am developing a web site. The use can enter the website through goggle Search. I need to track the no of counts of user who had entere the website through google.

Thanks,
Dhruvaa
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6590
    
    1

Use the referer HTTP header


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
Welcome to JavaRanch.

You could check the "REFERER" HTTP header of the incoming request. It contains the URL of the page where the link was located, which would be something like "http://www.google.com/search?q=foobar...". It's not a reliable method, though, because the user/browser may choose not send this header (E.g., Firefox has setting to disable the sending of REFERER headers.)


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: no of counts of user who had entere the website through google
 
Similar Threads
google Vs a9.com
Forgot the name of the website
Invalid user error message
Capturing "Enter Key" or "Blank" in Switch Statement
Google Search Using JavaScript