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

Wires the site up to the newly-deployed self-hosted Plausible instance
at plausible.reground.org, gated behind hugo.IsProduction so local dev
builds never send events.
This commit is contained in:
2026-08-21 13:23:58 -04:00
parent 1d7635a1ce
commit 344dc4719b
3 changed files with 7 additions and 0 deletions
+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 }}