So I was doing some research on Google Caffiene changes and I noticed that keywords have become increasing more important to where you rank on organic search. This isn’t in itself a bad thing but some of your traffic is coming from Google Images you have no way of knowing how your visitors got to your site. Well after some light reading, I came across a blog article that addressed this very problem over at Yoast.com.
Here’s what you have to do:
<script src=”http://www.google-analytics.com/urchin.js” type=”text/javascript”></script>
<script src=”http://www.example.com/custom_se.js” type=”text/javascript”></script>
<script src=”http://www.example.com/track-imagesearch.js” type=”text/javascript”></script>
<script type=”text/javascript”>
_uacct = “UA-XXXXXX-X”;
urchinTracker();
</script>
The custom_se.js adds the extra image search engines amongst other things, so you can see stuff is coming from image search. Otherwise the hits would be counted as “plain” Google. The track-imagesearch.js rewrites the _uInfo function, and makes sure Google “get’s” it’s own image search parameters.
You can download the two scripts together here: Track Image-search Script
If you are like me you also what this type of functionality for your WordPress blog and they even have an answer for that as well: Image search keyword tracking with the new Google Analytics.
Filed under: search marketing

