Friday, January 4, 2008

Should you change from urchin.js to ga.js?

Google Analytics recently added the option to choose "Legacy urchin.js" tracking code or the new "ga.js" tracking code.

What are the advantages of GA.js over Urchin.js?

  • Faster, smaller source file - which will allow for a faster download time

  • Object oriented - instead of using functions

  • Automatic detection of HTTPS

  • Increased namespace safety

One thing to note,


If you install the new code, you must do it over your entire website all at once as the legacy code is not compatible.

Do you need to upgrade?

The experts are predicting that Google Analytics will continue to support urchin.js for another 12-18 months. No need to rush, but something to plan for.

Labels: , ,