Update Google Analytics tag to the latest version

This commit is contained in:
Jos de Jong 2022-02-28 08:17:07 +01:00
parent e6135af3c9
commit 2bc1103102

View File

@ -115,14 +115,14 @@
<script src="/js/commandline.js" type="text/javascript"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-42777816-2"></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','https://www.google-analytics.com/analytics.js','ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
ga('create', 'UA-42777816-2', 'auto');
ga('send', 'pageview');
gtag('config', 'UA-42777816-2');
</script>
</body>