View Single Post
  #40  
Old 04-24-2008, 01:02 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: [PATCH] Update to non-legacy Google Analytics code

Adding //<![CDATA [ //]]> within the script should solve the problem. I think this is because there is a script within a script.

Code:
<script type="text/javascript"> //<![CDATA[ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("\<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'>\<\/script>" )); //]]> </script>

Hope this helps.
__________________
Doms
kube v4.1.9
Reply With Quote