How to Include Blekko as Search Engine in Google Analytics

Yes, I spend most of my search time putting my eyes on Google SERPs results, a pinch more on Bing but as a search engine I love Blekko.

Not only because they offer relevant SEO data like inbound links, states and countries where the links are coming from, duplicate content, when the site was last crawled, etc, also because their results are far more interesting.

Blekko Search Engine

Slashing queries (interesting integration of search queries and the popular twitter hashtags) is maybe an advanced feature for most users but as search engine users are becoming more sophisticated in the way we use them. Young but promising one.

I was recently taking a look at the sites Google Analytics include as search engines, thus showing their data at search organic report. Blekko was not of them and, as a consequence, it shows up as referrer what leaves apart some interesting data as keywords when someone visits your site after querying this engine.

No idea why it is not included but it could be the way Blekko constructs its queries, example http://blekko.com/ws/analytics+for+seo where there is no parameter handling the query terms, something like http://blekko.com/?q=analytics+for+seo and this is what Google Analytics needs at least to include a search engine in the list.

The thing is I want it to be there and get all the possible information from it. You might think it is not such a popular search engine and the visits coming from it are going to be very few. You are somehow right, Blekko has not a big piece of the market share but any bite of information counts and, what the heck!, I like it.

Here is how.

Tweaking GA tracking Code to include Blekko

I was never a terrific programmer and lately I'm not coding a lot so I asked mate Eduardo Cereto, the most technical analytics geek I've ever met, to review this piece of JavaScript to add to your regular GA tracking code. It is simple, copy code in red and add to your code the way is shown below.

<!-- Google Analytics Tracking Code -->
<script type="text/javascript">
   var _gaq = _gaq || [];
   _gaq.push(['_setAccount', 'UA-0000000-1']);
   if (document.referrer.indexOf('blekko.com/ws/') >= 0) {
     var ref = document.referrer;
     _gaq.push(['_setReferrerOverride', ref.replace(/\/ws\/[^?]/, '/ws/?q=')]);
     _gaq.push(['_addOrganic', 'blekko.com', 'q']);
   }

   _gaq.push(['_trackPageview']);
   (function() {
     var ga = document.createElement('script');
     ga.src = ('https:' == document.location.protocol ? 'https://ssl....
     ga.setAttribute('async', 'true');
     document.documentElement.firstChild.appendChild(ga);
   })();
</script>

It works as you can see at these screenshots from my GA account.

Include Blekko in Google Analytics as search engine

Blekko showing keywords in Doogle Analytics

From here you could be adding to the mix the regular metrics you use in your daily data torture routine.

Jun 17, 2012
Written by:
Filed under: Technical Analytics






2 comments
Jul 11, 2012
Posted by:
Paul Harvey #1

I haven't used Blekko before but I think it is all about competition. Although I am seeing Bing and Yahoo, Blekko does not have much traffic to talk about.

Jul 11, 2012
Posted by:
Ani Lopez #2

Hi Paul,
In my opinion it is not a question of traffic volume but any single piece of information any visit from Blekko can give to me.

Have your say
Submit
twitter @anilopez

Articles I write for other sites

On Paella and Semantic Markup for recipies

In plain words, it does not work fine most of the cases. It's a bad idea. I'll explain why while I teach you how to cook an authentic Paella.

Analytics Tribulations Of An SEO

The art of measure is never easy but when it comes to SEO it's even worst

Challenges of Spanish Language on Search Marketing @ Multilingual Search

'Standard Spanish' is something that I donít buy into when it comes to international scenarios. I'll explain to you why and some tips to start facing correctly your Spanish strategy.

Handling Multilingual Sites for Humans & Search Engines @ Bruce Clay Blog

The logic behind the scenes to show all content to bots and the right language to users

Mobile detection issues & Google Instant Previews @ Cardinal Path blog

Mobile web represents the bigger headache ever for those wanting to target the small but growing audience they represent nowadays. check your Instant Previews for possible indexation issues.