clean up GA tag, add to languages

This commit is contained in:
Riccardo Spagni 2015-02-25 11:06:53 +02:00
parent 121afba26e
commit 18a4aeffb3
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
2 changed files with 18 additions and 7 deletions

View file

@ -23,6 +23,7 @@
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53312765-1', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
</script>

View file

@ -69,5 +69,15 @@ if (isset($_COOKIE["MONERO_LANG"]))
<!-- JS -->
<script src="//static.getmonero.org/js/jquery.min.js"></script>
<script src="//static.getmonero.org/js/bootstrap.min.js"></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-53312765-1', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
</script>
</body>
</html>