Google Analytics: Adding search engines in the new version

As Google Analytics unlocked a few new features, they also made the new ga.js the default. I'm working on upgrading my Google Analytics for WordPress plugin to work with the new version, but I though I'd let you guys know some of the things I ran into. The first one is that adding search engines now has a different, and in my opinion much more readable, code:

[code lang="javascript"]
pageTracker._addOrganic("name_of_searchengine","q_var");
[/code]

I've got a new version of the custom_se.js for those who want it, you can download it here, and you can find the official documentation here.

Related posts

  1. Google Analytics: adding search engines
  2. Image search keyword tracking with the new Google Analytics
  3. Getting Google Analytics to extract keywords from Google Image searches
  4. Google Analytics and Google Image search: revisited
  5. WordPress Google Analytics 2.3: XHTML strict

Enjoyed this article?

Join 4714 subscribers and subscribe by daily or weekly emails or with RSS to receive more tips, tricks and ideas on improving your website!

3 Responses to “Google Analytics: Adding search engines in the new version”

  • Jonathan says:

    Thanks for the update man.

  • Tomek says:

    hi, how can I add two or more search engines?
    In the old version you should add to analytics code something like [+1], [+2] etc. for each search engines, but how it works with new analytics code, please?

Trackbacks/Pingbacks

  1. Zoekmachines toevoegen in Google Analytics - André Scholten
Hosting by:
Hosted by MediaTemple Grid Services