Wordpress plugin – Whats Google up to?
Posted on May 20th, 2009 in development |

- Image via Wikipedia
I recently wrote a PHP script to send me an email when Google refers any visitors to my website. It includes the search terms that a user was searching for and also the address of the page that the user ends up on in your site.
This information is readily available in apps such as Google Analytics though the purpose of this script is to make the information more readily available, to receive updates of visitors in real time via email.
A few people were interested in this little script and so I set up www.whatsgoogleupto.com to host the script and act as a free and open repository where I can upload ongoing changes and improvements. It was also an opportunity to try out Beanstalk as an SVN repository and SimplePie for showing the RSS feed of recent commits to the Repository.
Since putting up this script I wanted to make it into a Wordpress plugin to make it a little more accessible to people with blogs that didn’t want to be editing the script to add in their own email address etc.
The Wordpress plugin is now done and it can be downloaded from the Tools page. To use it, simply download the plugin, uncompress it, add it to the plugins folder of your wordpress blog, activate it and then sit back and wait to be notified when Google sends any visitors to your blog. Its especially useful if you are trying out specific keywords and to be notified when they work.
The plugin uses the existing blog user details so theres no need to tweak the script to add in your name or email address.

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=675a5bf6-3d5a-4d41-bb16-d007f6caecc3)



4 Responses
Thanks man, looking forward to using it.
Good idea, esp for new blogs, when you want to look at discovery
Some ideas :
Add in the IP address / UserAgent of the user ?
A configuration screen for the plugin, somewhere in the WP settings, so you can specify things like the “to” address, option to filter out image search, or the ability to add in other search engines.
In Gmail the sender details in the mail are lost, due to it escapes the name as the name is displayed as a website address.
Paul
Hi Paul,
Thanks for the ideas. I already have a PHP Script standalone version to email the IP address and agent, adding it to the plugin is the plan.
I haven’t tested it in sending to gmail addresses, I’ll do that, thanks for the heads up on it.
I have a few other ideas to add to it too like adding a section to the wordpress admin to show a list of all the referrals, top referrals etc.
Gordon.
[...] it does, I’ll be able to update my Whats Google Up to wordpress plugin which shows the search terms that a user used to find your blog on Google. I’ll be able to add [...]