Nitobi
About Nitobi
Services
Products
Home -> Blogs -> Alexei@Nitobi

Alexei@Nitobi

New Google Analytics Embed Code Broken?

December 14th, 2007

We upgraded our Google Analytics code today to use the new ga.js instead of the old urchin.js… We immediately had problems with the Script include they ask you to use.. Here is an example:

What’s with the embedded script tags? This violates what of the cardinal rules of embedded script tags with document.write. You’re supposed to properly escape the word ’script’. This is so that people with Norton installed on their systems, and also people running an IIS ASP.NET/ASP server environment don’t find their pages broken. Once we fixed this, it all started working again.

| Del.icio.us

This entry was posted on Friday, December 14th, 2007 at 5:54 pm and is filed under components, analytics. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “New Google Analytics Embed Code Broken?”

  1. maaaak Says:

    they tried a new version with unescaping as of 12/19/07 but it’s still broken.

Leave a Reply


Search Posts

Pages

Archives

Categories

LinkedIn Profile

  • My Profile

www.flickr.com


My ideal work culture:
[See my summary] [What’s yours?]


All contents are (c) Copyright 2024, Nitobi Software Inc. All rights Reserved
Alexei@Nitobi Entries (RSS) and Comments (RSS).