homepage Welcome to WebmasterWorld Guest from 50.17.86.12
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
How to find out what search terms were used
Webalizer does it, how can PHP do it?
stidj

10+ Year Member



 
Msg#: 4343 posted 5:14 am on Jul 6, 2006 (gmt 0)

Hi guys,

I'm wondering how Webalizer is able to see what search terms a user typed when they arrive from a search engine?

Specifically I'd like to use PHP but my only guess is that it's usually from the query string in the user's address bar from when they click on your site in the search results?

Any info would be appreciated!
Thanks!

 

frozenpeas

5+ Year Member



 
Msg#: 4343 posted 9:23 pm on Jul 6, 2006 (gmt 0)

Try this link:
[webmasterworld.com...]

AjiNIMC

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4343 posted 1:18 am on Jul 7, 2006 (gmt 0)

Specifically I'd like to use PHP but my only guess is that it's usually from the query string in the user's address bar from when they click on your site in the search results?

It is through $_SERVER['HTTP_REFERER']

I'm wondering how Webalizer is able to see what search terms a user typed when they arrive from a search engine?

If I am not wrong this is log analyzer which checks your log files.

cgrantski

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4343 posted 9:07 am on Jul 10, 2006 (gmt 0)

... and the log files will contain, in the referrer field of the logs, the URL/query string that was in the user's address bar from when they click on your site in the search results?


Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved