diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 133e13c..b85f996 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -1,8 +1,5 @@ {{ if hugo.IsProduction }} - {{ with .Site.Params.fathomAnalytics.site }} - - {{ end }} - {{ with site.Params.plausibleAnalytics.domain }} + {{ with site.Params.plausibleAnalytics.domain }} {{ end }} - {{ with site.Params.umamiAnalytics }} - {{- $region := "eu" }} - {{- if isset . "region" }} - {{- $region = .region }} - {{- end }} - - {{ end }} - {{ template "_internal/google_analytics.html" . }} -{{ end }} + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c31f2b0..44c79e2 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -39,4 +39,4 @@ {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} {{/* Analytics */}} - {{ partial "analytics.html" . }} +{{ partial "analytics.html" . }}