Add support for Pirsch analytics

master
Sean Collins 2 years ago committed by Will Faught
parent 7c413968ff
commit 451c9a3fbb

@ -190,6 +190,8 @@ paige:
host_url: ""
mixpanel: # See https://mixpanel.com
token: ""
pirsch: # See https://pirsch.io/
identification_code: ""
plausible: # See https://plausible.io
account_id: ""
woopra: # See https://woopra.com

@ -12,6 +12,7 @@
{{ partial "paige/analytics/hotjar.html" $page }}
{{ partial "paige/analytics/matomo.html" $page }}
{{ partial "paige/analytics/mixpanel.html" $page }}
{{ partial "paige/analytics/pirsch.html" $page }}
{{ partial "paige/analytics/plausible.html" $page }}
{{ partial "paige/analytics/woopra.html" $page }}
{{ partial "paige/analytics/yandex.html" $page }}

@ -0,0 +1,5 @@
{{ $page := . }}
{{ with $page.Param "paige.analytics.pirsch" }}
<script defer type="text/javascript" src="https://api.pirsch.io/pirsch.js" id="pirschjs" data-code="{{ .identification_code }}"></script>
{{ end }}
Loading…
Cancel
Save