1
0
mirror of https://github.com/namibia/awesome-sysadmin.git synced 2024-12-04 02:48:25 +00:00

Move Google Analitycs to the head

This commit is contained in:
Francisco Augusto 2014-10-01 00:21:51 +02:00
parent 14857b7489
commit 187ed4ba2e

View File

@ -31,6 +31,18 @@
});
</script>
<!-- ANALYTICS -->
<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-8224475-6', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
@ -65,16 +77,5 @@
</footer>
</div>
<!-- ANALYTICS -->
<script type="text/javascript">
(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-8224475-6', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>