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)
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.