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:


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.

Tags: runs on the Genesis Framework

Genesis theme frameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides you with the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Read our Genesis review or get Genesis now!

4 Responses

  1. JonathanBy Jonathan on 13 December, 2007

    Thanks for the update man.

  2. TomekBy Tomek on 13 May, 2008

    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?