congo/layouts/partials/analytics.html

11 lines
445 B
HTML
Raw Normal View History

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