wood burning stoves 2.0*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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: 6657
    
    5

Use the referer HTTP header


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
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.)


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: no of counts of user who had entere the website through google
 
Similar Threads
google Vs a9.com
Capturing "Enter Key" or "Blank" in Switch Statement
Forgot the name of the website
Invalid user error message
Google Search Using JavaScript