If your site can be run in disconnected mode (like our printers demosite during some demonstrations), google analytics javascript errors can be annoying. Here's how to avoid them:
if (typeof(urchinTracker) != "undefined") {
urchinTracker();
}
This way it works just fine in connected mode, and quietly fails when internet connection is not available.