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.
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”);