Repository: archiva-site Updated Branches: refs/heads/master 4a6c2b994 -> 64e49147d
archiva analytics account already updated so we can use analytics.js Project: http://git-wip-us.apache.org/repos/asf/archiva-site/repo Commit: http://git-wip-us.apache.org/repos/asf/archiva-site/commit/3e41a64a Tree: http://git-wip-us.apache.org/repos/asf/archiva-site/tree/3e41a64a Diff: http://git-wip-us.apache.org/repos/asf/archiva-site/diff/3e41a64a Branch: refs/heads/master Commit: 3e41a64a4d0bcb0b8d229ef9762d6e7b2a29b2eb Parents: 4a6c2b9 Author: Eric Barboni <[email protected]> Authored: Fri Jul 10 15:12:20 2015 +0200 Committer: Eric Barboni <[email protected]> Committed: Fri Jul 10 15:12:20 2015 +0200 ---------------------------------------------------------------------- src/site/site.xml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/archiva-site/blob/3e41a64a/src/site/site.xml ---------------------------------------------------------------------- diff --git a/src/site/site.xml b/src/site/site.xml index 15ee558..d0d8333 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -56,16 +56,17 @@ </custom> <body> - <head> - <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> + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-140879-5', 'auto'); + ga('send', 'pageview'); + + </script> </head> <menu name="Introduction"> <item name="About" href="/index.html" />
