Forum Moderators: coopster

Message Too Old, No Replies

how to know keywords from google

         

webstyler

12:50 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



how to know keywords that user have searched for found us?

more statistic software report keywords .. how?

thx

barns101

3:19 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



You would be check $_SERVER[HTTP_REFERER] to see where visitors come from. Visitors from Google's SERPs come from URLs like [google.com...]

Although I have never tried to log my visitors' search keywords, I guess you isolate the text after q= and until an occurrence of "&" is found and then explode() [php.net] by the + character to get your search term.