This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 6661
    
    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: 41137
    
  45
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 - my free Android networking tools app
 
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
Forgot the name of the website
Capturing "Enter Key" or "Blank" in Switch Statement
Invalid user error message
google Vs a9.com
Google Search Using JavaScript