Google Groups Home
Help | Sign in
Message from discussion New ga.js not working with ASP or Blogger ?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
containerantiques  
View profile
 More options Feb 15, 12:13 am
From: containerantiques
Date: Thu, 14 Feb 2008 21:13:59 -0800 (PST)
Local: Fri, Feb 15 2008 12:13 am
Subject: Re: New ga.js not working with ASP or Blogger ?
When I post the below code on Blogger.com I get the following error

ERROR
Your HTML cannot be accepted: Tag is not closed: <script type="text/
javascript">

What can I do?? Please help.
Much appreciation.

On Dec 18 2007, 3:39 pm, AnalyticsPro wrote:

> If you're having issues installing the ga.js on either an ASP site orBlogger, please use the following code instead:

> <script type="text/javascript">
> var gaJsHost = (("https:" == document.location.protocol) ? "https://
> ssl." : "http://www.");
> document.write(unescape("%3Cscript src='" + gaJsHost + "google-
> analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
> </script>
> <script type="text/javascript">
> var pageTracker = _gat._getTracker("UA-xxxx-xx");
> pageTracker._initData();
> pageTracker._trackPageview();

> (replace xxxx-xx with your Google Analytics account number)

> The new code passes W3c XHTML 1.0 strict compliance verification,
> mitigates Nested Script errors on ASP on IIS, and installs onBlogger
> and will be the default code provided within the Google Analytics
> interface.

> Thanks to everyone who both reported the issue and suggested fixes!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google