Warning about unsupported asynchronous Google Analytics
Closed this issue · 0 comments
McPringle commented
Describe the bug
When Hugo v0.123.0-3c8a4713908e48e6523f058ca126710397aa4ed5+extended renders my website using Anatole theme v1.13.0 I get the following warning:
WARN _internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo
To Reproduce
Steps to reproduce the behavior:
- Create a new hugo project:
hugo new site mytest
- Enter newly created project:
cd mytest
- Make hugo project a module:
hugo mod init mytest
- Add Anatole theme as a module:
hugo mod get github.com/lxndrblz/anatole
- Add the following lines at the end of
hugo.toml
:
[module]
[[module.imports]]
path = "github.com/lxndrblz/anatole"
disable = false
- Create a new post:
hugo new post/mytest.md
- Start Hugo server:
hugo server
- A warning is shown on the console:
WARN _internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo
Expected behavior
Hugo should start the server using the Anatole theme with default settings without warnings.
Desktop (please complete the following information):
- OS: all
- Browser: all
- Version of the Theme: v1.13.0
- Version of Hugo: v0.123.0-3c8a4713908e48e6523f058ca126710397aa4ed5+extended
Smartphone (please complete the following information):
- not applicable
Additional context
- not applicable