Adding “bing” to Organic Search in Google Analytics

A while ago I wrote blog post on how to add Twitter searches to appear in organic searches. The same principal can be applied to include Microsoft’s new search engine “bing” which is not yet recognized by Google Analytics as a search engine. Till Google Analytics recognizes it as a search engine, you can capture the data in organic searches by a simple one line of code.

GA provides the following function to allow you to add your own search engines to the list of search engines that are already tracked by GA.

_addOrganic(newOrganicEngine, newOrganicKeyword)


You simply call this function right after var pageTracker = _gat._getTracker("UA-XXXXXX-X"); to track any custom search engine.

NewOrganicEngine is the words that identify the search engine; in this case we will use “bing.com”

newOrganicKeyword is the query string that contains that keywords, in this case it will be “q” as “bing” uses “q” as the query string that contains the keyword.




Here is how your final code will look like

var pageTracker = _gat._getTracker("UA-XXXXXX-X");
pageTracker._addOrganic("bing.com", "q")
pageTracker._trackPageview();


Questions? Comments?

----------------------------------------------------------------------------
Looking to fill your Web Analytics or Online Marketing position?Post your open jobs on http://www.web-analytics-jobs.com/
----------------------------------------------------------------------------
Site: AnilBatra.com
Twitter: http://twitter.com/anilbatra

Komentar

Postingan populer dari blog ini

Bikin Hilang Fokus !! Berikut Potret Natural Mikha Tambayong Saat Kenakan Baju Tidur

Cara Berpakain dan Duduk Cupi Cupita Bersama Hotman Paris Dikritik Netizen .. Kenapa Ya ?

Walaupun Terpaut Usia , Berikut 7 Potret Keharmonisan Bunga Zainal Bersama Suami