Forum Moderators: DixonJones

Message Too Old, No Replies

Script To Display Search Terms Used To Find Me?

I Need A Script That Can Display The Terms Someone Used To Find My Site

         

sinclasc

1:32 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



Hi Guys,
I'm looking for a script (pref. ASP) that can extract the search terms used to find my site, and display these on the page. I've seen many websites do this in that past.
I'm guessing I have to use the Request.ServerVariables("HTTP_REFERRER") tag, but I don't know how to extract the search terms from this.

Any help appreciated.

Thanks in advance!

AlexK

4:51 am on Nov 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



AWStats does this as standard. Works on the server log-files, so you will need access to those.

ogletree

7:29 am on Nov 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



That is correct. What you need to do is go to google and whatever se you want to keep track of type in a term and then look at the url.

ie
[google.com...]

I used the term:
my test term

everything in between "q=" and "&" is the term replace the "+" with spaces. If you see a "%" and a number that is a double quote. I forget what you call that but just do some tests in Google to get the hang of it.