I have been doing some browser testing and found some errors that pop up in IE8 and some older versions of IE. These are the messages and snippets of code that they come from (I found them using DebugBar).
*code*:
<script type="text/javascript" id="ga"> 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")); var tag = document.createElement("script"); tag.setAttribute("src", gaJsHost + "google-analytics.com/ga.js"); tag.setAttribute("type", 'text/javascript'); *document.getElementById("ga").insertBefore(tag, document.getElementById("ga-script"));* </script>
*error*: "Unexpected call to method or property access."
* * *code*:
<script type="text/javascript" id="ga-script"> *var pageTracker = _gat._getTracker("UA-2718724-5");* window.google_analytics_uacct = "UA-2718724-5"; pageTracker._trackPageview(); </script>
*error*: "_gat is undefined"
*code*:
<script type="text/javascript" id="ga-script"> var pageTracker = _gat._getTracker("UA-2718724-5"); window.google_analytics_uacct = "UA-2718724-5"; *pageTracker._trackPageview();* </script>
*error: *"pageTracker is null or not an object" (propagated from the previous error I am assuming)
*code*:
<script type="text/javascript" id="piwik"> var pkBaseURL = (("https:" == document.location.protocol) ? " https://stats.cihar.com/" : "http://stats.cihar.com/"); //document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); var tag = document.createElement("script"); tag.setAttribute("src", pkBaseURL + "piwik.js"); tag.setAttribute("type", 'text/javascript'); *document.getElementById("piwik").insertBefore(tag, document.getElementById("piwik-script"));* </script>
*error: *"Unexpected call to method or property access."
I haven't been able to fix these but I thought it was worth bringing up. The first and last errors seem to be essentially the same error.