Files
fnx_web/res/template/fragments/analytics.html

28 lines
867 B
HTML
Raw Normal View History

2017-11-10 12:39:55 +01:00
{{define "analytics"}}{{if not debugMode}}
2019-05-30 10:08:20 +02:00
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script>
(function(f, a, t, h, o, m){
a[h]=a[h]||function(){
(a[h].q=a[h].q||[]).push(arguments)
};
o=f.createElement('script'),
m=f.getElementsByTagName('script')[0];
o.async=1; o.src=t; o.id='fathom-script';
m.parentNode.insertBefore(o,m)
})(document, window, '//fathom.pixeldrain.com/tracker.js', 'fathom');
fathom('set', 'siteId', 'AWHYP');
fathom('trackPageview');
</script>
<!-- / Fathom -->
2017-11-14 22:18:22 +01:00
<!-- Global site tag (gtag.js) - Google Analytics -->
2019-02-13 21:35:21 +01:00
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-24463738-4"></script>
2017-11-10 12:39:55 +01:00
<script>
2019-05-30 10:08:20 +02:00
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
2017-11-10 12:39:55 +01:00
2019-05-30 10:08:20 +02:00
gtag('config', 'UA-24463738-4');
2017-11-10 12:39:55 +01:00
</script>
2019-05-30 10:08:20 +02:00
2019-02-13 21:35:21 +01:00
{{end}}{{end}}