Browse Source

Update fathom to include site ID.

master
Syfaro 1 year ago
parent
commit
6f5d230394
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      config.toml
  2. +1
    -0
      themes/fox/layouts/_default/baseof.html

+ 1
- 0
config.toml View File

@@ -10,6 +10,7 @@ relativeURLs = true
description = "Hi. I'm a purple fox."
peppershrike = "https://peppershrike.huefox.com"
fathom = "//fathom.syfaro.net/tracker.js"
fathom_id = "DFPYF"

[imaging]
resampleFilter = "Lanczos"


+ 1
- 0
themes/fox/layouts/_default/baseof.html View File

@@ -59,6 +59,7 @@
o.parentNode.insertBefore(r, o)
})(document, window, '{{ .Site.Params.fathom }}', 'fathom');

fathom('set', 'siteId', '{{ .Site.Params.fathom_id }}');
fathom('trackPageview');
</script>
{{ end }}


Loading…
Cancel
Save