I want to get full referrer url in PHP.
For instance, if I come to mywebsite from a google search, $_SERVER['REFERER'] gives me only http://www.google.com, but I want smth like http://www.google.com/search?q=KEYWORD
Google Analytics provides that for many search engines.
I need to get “/search?q=KEYWORD” query string.
Put this in your script and have a look at it’s content;
This way you can find out which keys contain ‘what’