Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Define Google keyword from refferer

Want to know which keyword was used

9:50 am on Oct 9, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:June 1, 2005
votes: 0

I get much google-traffic on my homepage, but I want to know which keyword was used. I will forward the visitors to a search-result page for the keyword they used to find my site.

Anyone knows how to get specify the keyword from a refferer?

6:19 pm on Oct 9, 2005 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0

if you trap the referrer using $_SERVER['HTTP_REFERER'] then take a look at the pattern of the query string you get.

that should help you better understand how to extract the keyphrase itself