Add Google Analytics

This commit is contained in:
Mathieu Sanchez 2018-11-21 15:58:29 +09:00
parent 303e97faaa
commit 8006076850

View File

@ -128,7 +128,16 @@
<script src="ressources/jquery-3.3.1.min.js"></script>
<script async src="ressources/materialize.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-74712385-7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-74712385-7');
</script>
<script async src="ressources/index.js"></script>