Forum Moderators: open

Message Too Old, No Replies

Google Anaytics code giving error in IE7

urchin.js call reported as error

         

v_michiel

11:33 am on Dec 9, 2006 (gmt 0)

10+ Year Member



I have been using Google Analytics quite some while and am really happy with it. The problem now however is that in IE7 the status bar reports the message "Ready, but with errors on the page" (=> directly translated from my native browser language) on every page that contains the Google Analytics tracking code:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-X-X";
urchinTracker();
</script>

Elsewhere I've read it's the urchin.js call that's causing the problem. Is there a way to make solve this error?

encyclo

1:52 am on Dec 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This report accompanies many others in the AdSense forum and elsewhere regarding IE7s handling of off-site Javascript files. With a particular combination of security settings, IE7 refuses to load any Javascript file which is not on the same domain. In your case, as the script on google-analytics.com is not loaded, the follow-up Javascript won't function. This also has the effect that AdSense (and other contextual advertising code handled in a similar way) will not load in your browser either.

Let's try to nail this down: what are the current security settings on your machine relating to Javascript and Active scripting?