Update analytics ID

This commit is contained in:
2017-11-14 22:18:22 +01:00
parent 5a752618c3
commit 104e9aa835

View File

@@ -1,19 +1,11 @@
{{define "analytics"}}{{if not debugMode}} {{define "analytics"}}{{if not debugMode}}
<!-- Google Analytics Tracking Code --> <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-24463738-5"></script>
<script> <script>
(function (i, s, o, g, r, a, m) { window.dataLayer = window.dataLayer || [];
i['GoogleAnalyticsObject'] = r; function gtag(){dataLayer.push(arguments);}
i[r] = i[r] || function () { gtag('js', new Date());
(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-24463738-4', 'auto'); gtag('config', 'UA-24463738-5');
ga('send', 'pageview');
</script> </script>
{{end}}{{end}} {{end}}{{end}}