Files
reground-site/layouts/partials/head-analytics.html
T
will 344dc4719b
deploy / deploy (push) Successful in 11s
Add Plausible Analytics tracking
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.
2026-08-21 13:23:58 -04:00

6 lines
184 B
HTML

{{ if hugo.IsProduction }}
{{ with .Site.Params.plausible_domain }}
<script defer data-domain="{{ . }}" src="https://plausible.reground.org/js/script.js"></script>
{{ end }}
{{ end }}