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:
parent
61e5a34171
commit
0802f18605
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<!-- ADD GOOGLE ANALYTICS IF ENABLED -->
|
<!-- ADD GOOGLE ANALYTICS IF ENABLED -->
|
||||||
{{ if site.GoogleAnalytics }}
|
{{ if site.GoogleAnalytics }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
<!-- Add Google Analytics if enabled in configuration -->
|
<!-- Add Google Analytics if enabled in configuration -->
|
||||||
{{ if site.GoogleAnalytics }}
|
{{ if site.GoogleAnalytics }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
<body data-spy="scroll" data-target="#top-navbar" data-offset="100">
|
<body data-spy="scroll" data-target="#top-navbar" data-offset="100">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue