diff options
-rw-r--r-- | web/templates/default.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/templates/default.html b/web/templates/default.html index 78845e5..efceb69 100644 --- a/web/templates/default.html +++ b/web/templates/default.html @@ -58,12 +58,12 @@ <!-- Google Analytics --> <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")); + 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"> try { - var pageTracker = _gat._getTracker("UA-11993001-1"); + var pageTracker = _gat._getTracker('UA-11993001-1'); pageTracker._trackPageview(); } catch(err) {} </script> |