Adding Google Analytics

This commit is contained in:
2018-10-21 22:12:30 +02:00
parent 564886a112
commit bd6b65d996

View File

@@ -22,6 +22,16 @@
<script src='https://www.google.com/recaptcha/api.js'></script>
<script src="{{ app.frontjs }}/functions.js"></script>
<script src="{{ app.frontjs }}/like.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-127852781-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-127852781-1');
</script>
<!-- End Google Analytics -->
</head>
<body>
{% include app.fronthtml~'/nav.twig' %}