mirror of
https://github.com/monero-project/monero-site.git
synced 2025-01-18 23:53:42 +02:00
clean up GA tag, add to languages
This commit is contained in:
parent
121afba26e
commit
18a4aeffb3
@ -17,13 +17,14 @@
|
|||||||
$('[data-toggle="tooltip"]').tooltip();
|
$('[data-toggle="tooltip"]').tooltip();
|
||||||
});
|
});
|
||||||
|
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
(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),
|
(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)
|
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');
|
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||||
|
|
||||||
ga('create', 'UA-53312765-1', 'auto');
|
ga('create', 'UA-53312765-1', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('require', 'linkid', 'linkid.js');
|
||||||
</script>
|
ga('send', 'pageview');
|
||||||
|
</script>
|
||||||
|
|
||||||
{% include hostflag.html %}
|
{% include hostflag.html %}
|
10
language.php
10
language.php
@ -69,5 +69,15 @@ if (isset($_COOKIE["MONERO_LANG"]))
|
|||||||
<!-- JS -->
|
<!-- JS -->
|
||||||
<script src="//static.getmonero.org/js/jquery.min.js"></script>
|
<script src="//static.getmonero.org/js/jquery.min.js"></script>
|
||||||
<script src="//static.getmonero.org/js/bootstrap.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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user