Author: vines Date: Tue May 13 18:40:26 2014 New Revision: 1594323 URL: http://svn.apache.org/r1594323 Log: First pass at added analytics
Modified: accumulo/site/trunk/templates/skeleton.html Modified: accumulo/site/trunk/templates/skeleton.html URL: http://svn.apache.org/viewvc/accumulo/site/trunk/templates/skeleton.html?rev=1594323&r1=1594322&r2=1594323&view=diff ============================================================================== --- accumulo/site/trunk/templates/skeleton.html (original) +++ accumulo/site/trunk/templates/skeleton.html Tue May 13 18:40:26 2014 @@ -33,22 +33,16 @@ <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <title>{% block title %}{{ headers.title }}{% endblock %}</title> - <script type="text/javascript"> -/* - var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-21103458-6']); - _gaq.push(['_setDomainName', 'apache.org']); - _gaq.push(['_setAllowLinker', true]); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); -*/ - </script> +<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-50934829-1', 'apache.org'); + ga('send', 'pageview'); + +</script> </head>