Support Google Analytics v4

Per https://github.com/hugo-toha/toha/issues/352 - in order to support Google Analytics v4, _internal/google_analytics.html should be used
This commit is contained in:
Dan Gillis 2021-06-16 10:20:06 -04:00
parent 61e5a34171
commit 0802f18605
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
<!-- ADD GOOGLE ANALYTICS IF ENABLED -->
{{ if site.GoogleAnalytics }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</head>

View file

@ -31,7 +31,7 @@
<!-- Add Google Analytics if enabled in configuration -->
{{ if site.GoogleAnalytics }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</head>
<body data-spy="scroll" data-target="#top-navbar" data-offset="100">