Google Analytics Rolls Out New Graphing Tools and ga.js Tracking

closeThis post was published 13 years 11 months 25 days ago. A number of changes have been made to the site since then, so please contact me if anything is broken or seems wrong.

Google Analytics just announced new graphing tools for the service. Now, apart from comparing two date ranges, users can compare different metrics to look for correlations (“Do pageviews increase as time on site goes up?”), as well as comparing individual segments with the site total.

The new ga.js tracking code, which I’ve been awaiting since the new code announcement made in October, has also been rolled out. The new file replaces the old urchin.js script. It is completely rewritten, appears to load faster, and has new object-based methods instead of functions and variables, meaning tracking a site in multiple accounts is a bunch easier.

The Google Analytics team also rolled out support for six new languages.

Now all I want to happen is automatic external link tracking and event tracking, both in limited beta at the moment.


I am an avid technology and software user, in addition to being reasonably well-versed in CSS, JavaScript, HTML, PHP, Python, and (though it still scares me) Perl. Aside from my technological tendencies, I am also a theatre technician, sound designer, violinist, singer, and actor.


  1. I tried using this new code but it kept giving errors when I tried to save it…

    Is it OK in your blogger template?

  2. Are you using it within the template code itself or within a page element?

    I suppose my first question should be to ask if you’re still on the old Blogger (do you have to republish after posting?). If you are, my ability to provide assistance is limited, since I have never had an “old Blogger” account.

    If you’re in the new version, with the Layouts templates, I suggest you add an HTML/JavaScript page element at the bottom of your blog and put the code in there. Mine’s in the same element as my copyright notice and tracking disclosure, down at the bottom of the page.

    Hope you can get it working!

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail (or subscribe without commenting)

Comments are subject to moderation, and are licensed for display in perpetuity once posted. Learn more.