I have a wordpress site. If I include some javascript on a post, I show ads on the post. I want to only show that javascript when people come to my site from google search (as opposed to from twitter or facebook -- or by going to the URL directly).
Is there any way to do that from within wordpress?