Add support for plausible analytics (#382)

* Add myself to contributors.md

* Add plausible config to example

* Add plausible to base layout

* Add plausible analytics snippet

* Remove unneeded part of snippet

* Add plausible config to stackbit
This commit is contained in:
Rhys Perry
2020-08-11 21:02:49 +02:00
committed by GitHub
parent be7b79af62
commit 34ac982a4b
5 changed files with 22 additions and 0 deletions

View File

@@ -127,6 +127,10 @@
{{- partial "analytics/fathom" . -}}
{{ end }}
{{ if and .Site.Params.plausibleAnalytics .Site.Params.plausibleAnalytics.domain }}
{{- partial "analytics/plausible" . -}}
{{ end }}
</body>
</html>