IE7 + google analytics causing "Error on page"

Discussion in 'Webmaster Discussion' started by lostie, Jun 16, 2007.

  1. lostie

    lostie New Member

    This has only happened since our site came back up after fridays h365 troubles, but if you visit our homepage Micromail - Homepage - Software Licensing - Licensing Consultants - Student Software - Computer Books on IE7 you get the "Done, but with errors on page" Icon in the bottom left corner, apparently due to the Google analytics script on the page. Is there any way to stop this message short of removing the code? This happened before on our order form page and it meant i removed the analytics tracking code from that page beacuse i obviously didnt want people to think there was a security issue on the order page. I presumed it happened on that page because its a secure https page, but now that it happens on our homepage too im not sure what the cause is. Any ideas?
     
  2. ph3n0m

    ph3n0m New Member

  3. lostie

    lostie New Member

    Ok major apologies! I probaby should have taken a look at the code before I wrote on this board about it. For some reason i had /urchin.js in the code instead of the full url. Hence the problems.
     
  4. paul

    paul Ninja

    replace
    HTML:
    <script src="urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-1745232-1";
    urchinTracker();
    </script>
    HTML:
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-1745232-1";
    urchinTracker();
    </script> 
     
  5. lostie

    lostie New Member

    Yeah thanks just saw the problem. Mustve been the editor changed the code cos i definately didnt.
     

Share This Page