diff options
| -rw-r--r-- | templates/footer.tpl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/footer.tpl b/templates/footer.tpl index d5c0396..6cf9020 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -7,10 +7,15 @@ </div> </div> -<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"> - _uacct = "UA-1658795-2"; - urchinTracker(); + 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"> + var pageTracker = _gat._getTracker("UA-1658795-2"); + pageTracker._initData(); + pageTracker._trackPageview(); </script> </body> |
