SEM Wired

microsoft-bing-google-analyticsA new search engine has just been launched and it’s time to update our analytics software.

Google hasn’t released any major update to automatically recognize traffic coming from Bing into Google Analytics but I guess it is not gonna take too long.

In the meantime we can easily tweak Google Analytics just playing around with our tracking code.

In order to add Bing as a search engine we need to use the addOrganic function: _addOrganic[domain, search query]

AddOrganic Function: how it works

The addOrganic function has two parameters:  domain and search query. It basically tells the Analytic engine to consider some referrals as proper search engines, hence appearing on keyword statistics.
This two parameters are embedded in every search query we forward to a search engine:

Google:

http://www.google.com/search?q=[searchquery]

Yahoo:
http://us.search.yahoo.com/search?p=
[search query]

So let’s take a look to a standard Bing query:
http://www.bing.com/search?q=[search query]

As you can see, the right AddOrganic sintaxy would be the following:

pageTracker._addOrganic("bing.com", "q");

We just need to add this line right before the trackpageview() call into our Analytics code.

I think there’s an obvious update on the way but if you are already getting some decent organic traffic from Bing just add this line and see what happens.

One Comment

  1. Google Analytics And Bing.com | Mark8t: SEO, SEM, E-Marketing And More on June 4, 2009 8:25 pm

    [...] Update*** We found a hack to fix this: How to add Bing into Google Analytics. Hopefully Google will make a change shortly. Enjoy this post? Then give it a tweet!  Print [...]

Write a Comment