Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:59 am EST

Geeklog Forums

See what is being searched for?


Tom

Anonymous
Is there any way to log what people are searching for? I hope there is because it would help me tailor my site to my users needs. I am currently using a Stats plugin but it does not record the search phrase just that someone has clicked on the search page.

Thanks for any replies
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you have access to your webserver's logfiles, you can get the information from there. For example:
Text Formatted Code
123.123.123.123 - - [01/Mar/2004:00:04:15 -0500] "GET /search.php?query=demo+admin&type=all&mode=search HTTP/1.0" 200 25985 "http://www.geeklog.net/search.php?query=demo&type=all&mode=search" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322)"
111.111.111.111 - - [01/Mar/2004:00:21:40 -0500] "GET /search.php?query=email+%22site+admin%22&keyType=all&datestart=&dateend=&topic=0&type=all&author=0&mode=search HTTP/1.1" 200 27759 "http://www.geeklog.net/search.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
 

In the first example, somebody was searching for "demo". In the second example, somebody searched for 'email "site admin"'.

bye, Dirk
 Quote

All times are EST. The time is now 05:59 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content