From b0cd6b5693258f4dfee839f12faa24124d8f8fed Mon Sep 17 00:00:00 2001 From: Musselman Date: Mon, 8 Jul 2024 21:47:47 -0500 Subject: [PATCH] Analytics try 2 --- layouts/partials/analytics.html | 19 ++----------------- layouts/partials/head.html | 2 +- 2 files changed, 3 insertions(+), 18 deletions(-) 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" . }}