Initial Commit
This commit is contained in:
13
themes/hugo-coder/layouts/partials/analytics/fathom.html
Normal file
13
themes/hugo-coder/layouts/partials/analytics/fathom.html
Normal file
@ -0,0 +1,13 @@
|
||||
<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, '//{{ .Site.Params.fathomAnalytics.serverURL | default "cdn.usefathom.com" }}/tracker.js', 'fathom');
|
||||
fathom('set', 'siteId', '{{ .Site.Params.fathomAnalytics.siteID }}');
|
||||
fathom('trackPageview');
|
||||
</script>
|
Reference in New Issue
Block a user