I want to customize my index.php when a visitor searchs for a word in google search and comes to my site.
ex:
if(visitor searches for "A" in google search)
do somthing;
elseif(visitor searches for "B" in google search)
do somthing else;
if i should use referrer tell me how?
Try this script:
Note: this does not work when the someone used encrypted Google (which uses SSL): https://encrypted.google.com/