From ce70016f67643b431ed82527460dc94370588c1e Mon Sep 17 00:00:00 2001 From: vimux Date: Thu, 16 Nov 2023 11:39:35 -0500 Subject: [PATCH] Remove google_analytics_async.html include The internal Hugo template `google_analytics_async.html` no longer works because Google has removed the version of Google Analytics it uses. The regular internal template (google_analytics.html) already handles Google Analytics 4 asynchronously. --- layouts/_default/baseof.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ec4b96da..6b0ef901 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,11 +37,7 @@ {{- if not .Site.IsServer }} - {{- if hasPrefix .Site.GoogleAnalytics "G-" }} {{ template "_internal/google_analytics.html" . }} - {{- else }} - {{ template "_internal/google_analytics_async.html" . }} - {{- end }} {{- end }}