Add Plausible Analytics tracking
deploy / deploy (push) Successful in 7s

This commit is contained in:
2026-08-21 16:02:47 -04:00
parent 7f6fe27966
commit d2f1ffd946
3 changed files with 7 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ disableKinds = ["taxonomy", "term"]
author = "Michael Ferrara"
eec_base_url = "https://eec.michaelferrara.org"
bookshop_base_url = "https://shop.michaelferrara.org"
plausible_domain = "michaelferrara.org"
[[menu.footer]]
name = "Contact"
+1
View File
@@ -18,6 +18,7 @@
{{ else }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
{{ end }}
{{ partial "head-analytics.html" . }}
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
+5
View File
@@ -0,0 +1,5 @@
{{ if hugo.IsProduction }}
{{ with .Site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.reground.org/js/script.js"></script>
{{ end }}
{{ end }}