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.

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

  1. Thanks for the update man.

  2. 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?

Comments closed, if you feel you have something to say:
drop me a line.

2 Trackbacks to “Google Analytics: Adding search engines in the new version”