Add fathom tracking script

This commit is contained in:
Philipp Oppermann
2018-10-09 15:40:28 +02:00
parent 4538b2fb21
commit 4e82b63816
2 changed files with 30 additions and 0 deletions

View File

@@ -54,6 +54,21 @@
})();
</script>
<!-- End Piwik Code -->
<!-- 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.phil-opp.com/tracker.js', 'fathom');
fathom('trackPageview');
</script>
<!-- / Fathom -->
</body>
</html>

View File

@@ -55,6 +55,21 @@
})();
</script>
<!-- End Piwik Code -->
<!-- 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.phil-opp.com/tracker.js', 'fathom');
fathom('trackPageview');
</script>
<!-- / Fathom -->
</body>
</html>