Hello,
Is there a way to get search terms from the referrer url? E.g., I would like to have something like:
if (user-came-from-search-engine) // or, just from google
if (searchTerms.contains("goats"))
{display my cool goat content}
else
{display a link to my site search}
end if
end if
there was/is a plugin for this however I found it to be buggy. See http://www.kryogenix.org/code/browser/searchhi/ for a better way. Dowbload the .js, add the code and youre off.
Sweet, I got this working. Look at this query:
http://www.google.ca/search?q=bittorrent+"over+there"&hl=en&lr=&start=10&sa=N
Click on flavor8, which should be the top. Once it loads it will redirect to my search, since the page that google indexed has changed and doesn't contain the relevant content. I am going to put the special "goat" content on the search.php page, based on query terms.