diff options
author | Brett Porter <brett@apache.org> | 2008-05-05 23:12:58 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2008-05-05 23:12:58 +0000 |
commit | 5390ef97ae905f9496c54ced47cde4ec24408732 (patch) | |
tree | 2d20e97b3a617df58c58b1a9e4f96e0a0fece410 | |
parent | 964ab66d01a7344b5b8f4752083cccf369da88c2 (diff) | |
download | archiva-5390ef97ae905f9496c54ced47cde4ec24408732.tar.gz archiva-5390ef97ae905f9496c54ced47cde4ec24408732.zip |
update google analytics code
git-svn-id: https://svn.apache.org/repos/asf/archiva/parent@653627 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/site/site.xml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/site/site.xml b/src/site/site.xml index b2aa5e591..0b4a5d7c1 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -44,12 +44,15 @@ </breadcrumbs> <head> - <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> - </script> - <script type="text/javascript"> - _uacct = "UA-140879-1"; - urchinTracker(); - </script> +<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")); +</script> +<script type="text/javascript"> +var pageTracker = _gat._getTracker("UA-140879-5"); +pageTracker._initData(); +pageTracker._trackPageview(); +</script> </head> <menu ref="reports" inherit="bottom"/> |