A friend of mine has a soccer blog and I happen to help him with the nuts and bolts behind it. I’m not tracking it 24/7 but some times I like to see how it’s going, and I open Google Analytics to check on its performance, see where the traffic’s coming from and if some post went viral.
One day, organic traffic went up noticeably, and after messing around with Google Analytics I saw that referral traffic went down significantly exactly at the same time! Bummer, I didn’t just nail some SEO trick. Something changed at Google’s end and now that’s messing with my data. That was on July 23rd 2011. After 5 more minutes of investigation, I realized all the traffic coming from Google Images was now being treated as organic search traffic, as before it was always considered referral traffic. I didn’t care much back then, so I left it like that. Mystery solved. I moved on to the websites I was actually working for.
It turns out, one year later, I was again checking on my friend’s blog analytics. And looking at what keywords were bringing the most traffic, I realized there was no way I could segment real SEO effects from this combination of Web Search and Image Search. You can’t create a profile with just the real organic traffic, ignoring what comes from Google Images.
Or at least I didn’t know how to. So I search The Googlez® for half an hour, discussed the issue with a couple of colleagues, and then tweeted asking for help. It turned out the last option gave me an answer.
My friend Ferran Gavin recommended me to use this snippet to track Google Images traffic as its own source.
After reading the code, it’s obvious that it doesn’t only track Google Image’s traffic as its own organic source, but it also adds a different source for Google Image SERPS (the little boxes of images embedded in a normal Google Search Results Page). Useful trick.
After those changes, nothing actually changed, except that I started seeing the Source field in the Search / Organic report as
images.googleSerps depending on where the traffic was coming from.
Finally, I can now create separate profiles for normal organic search traffic and for Google Images traffic. This is how I created a filter to show only traffic from Google Images (both normal and SERPs):
You can just use one filter and because the Filter Pattern field is a regular expression, it will match both.
I hope this article is useful for people with the same problem I had. Surprisingly, this solution is not easy to find on Google. It took just a minute thanks to Twitter and Ferran.