I’ve gotten a lot of comments over the weekend about using the new ga.js code with ASP sites. It turns out that the code does not work with nested SP script tags. Also, the new tracking code that GA spits out is not XHTML compliant. These are unrelated issues that are causing a number of issues.
Google knows of these issues and will be pushing a solution soon. I’m not sure when, but soon. In the meantime, here is a copy of the new code that you should use on your site.
Remember, you need to replace “UA-xxxxx-x” with the appropriate information for your profile.
Sorry for the short post… I’m pretty tied up at work but wanted to post this information.
Props to Eivind Savio for sending me a nice email about the problem and a number of solutions.