mirror of https://github.com/jpanther/congo.git
12 lines
558 B
HTML
12 lines
558 B
HTML
{{ if hugo.IsProduction }}
|
|
{{ with .Site.Params.fathomAnalytics.site }}
|
|
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
|
|
{{ end }}
|
|
{{ with site.Params.plausibleAnalytics.domain }}
|
|
<script defer
|
|
data-domain="{{ . }}"
|
|
data-api="{{ default "https://plausible.io/api/event" site.Params.plausibleAnalytics.event }}"
|
|
src="{{ default "https://plausible.io/js/script.js" site.Params.plausibleAnalytics.script }}"></script>
|
|
{{ end }}
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
{{ end }} |