1
0
mirror of https://github.com/namibia/awesome-sysadmin.git synced 2024-12-12 06:07:58 +00:00

News Google Analitycs script

This commit is contained in:
Francisco Augusto 2014-10-01 00:15:50 +02:00
parent eeecae60ab
commit 14857b7489

View File

@ -67,14 +67,13 @@
<!-- ANALYTICS -->
<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">
try {
var pageTracker = _gat._getTracker("UA-8224475-6");
pageTracker._trackPageview();
} catch(err) {}
(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>