Browse Source

Update fathom to include site ID.

Syfaro 1 month 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
10 10
   description = "Hi. I'm a purple fox."
11 11
   peppershrike = "https://peppershrike.huefox.com"
12 12
   fathom = "//fathom.syfaro.net/tracker.js"
13
+  fathom_id = "DFPYF"
13 14
 
14 15
 [imaging]
15 16
   resampleFilter = "Lanczos"

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

@@ -59,6 +59,7 @@
59 59
                 o.parentNode.insertBefore(r, o)
60 60
             })(document, window, '{{ .Site.Params.fathom }}', 'fathom');
61 61
 
62
+            fathom('set', 'siteId', '{{ .Site.Params.fathom_id }}');
62 63
             fathom('trackPageview');
63 64
         </script>
64 65
     {{ end }}

Loading…
Cancel
Save