It's Time to Update Your Google Analytics Code

Raven

It’s Time to Update Your Google Analytics Code

There’s movement on the Google Analytics front. They recently announced new graphing tools, tracking code and new language support.

Google Analytics Graph Update

The one action item that they’re suggesting you take is to start using their new code that references ga.js. Alden DeSoto, from the Google Analytics Team, stated:

We are also rolling out the new ga.js page tag which we recommend you use for all new accounts and new profiles for new domains. Although your existing urchin.js page tags will continue to work, you may wish to update them to ga.js anyway. This will allow you to take advantage of the most up-to-date tracking functionality as it is added to Google Analytics. An immediate benefit you’ll notice is that the ga.js tags allow you to track ecommerce transactions in a more readable way. And, we’ve created a special resource on the ga.js javascript for power users who want more control over Google Analytics tracking. If you do choose to update your site to ga.js, please note that the old tracking code (which uses urchin.js) and the new tracking code (which uses ga.js) will not work if placed on the same page together.

It looks like the key reasons for updating are:

  1. Most up-to-date tracking functionality (whatever that means)
  2. Tags allow you to track e-commerce transactions in a more readable way
  3. Special resource on the ga.js javascript for power users who want more control over Google Analytics tracking

They included a caveat at the end, warning you to not let urchin.js and ga.js mingle, because they will only get in a bar fight together.

Comments are closed on this post