congo/layouts/partials/analytics.html

11 lines
446 B
HTML
Raw Permalink Normal View History

2021-08-11 05:28:33 +00:00
{{ if not .Site.IsServer }}
{{ with .Site.Params.fathomAnalytics.site }}
{{ if isset $.Site.Params.fathomanalytics "domain" }}
<script src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}" defer></script>
{{ else }}
<script src="https://cdn.usefathom.com/script.js" data-site="{{ . }}" defer></script>
2021-08-11 05:28:33 +00:00
{{ end }}
{{ end }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}