Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_internal/google_analytics_async.html is no longer supported by Google and will be removed in a future version of Hugo #195

Closed
dogmatic69 opened this issue Feb 15, 2024 · 5 comments

Comments

@dogmatic69
Copy link

as per title

@StefMa
Copy link
Owner

StefMa commented Feb 16, 2024

Hey, thanks for the issue!
Could you provide a link/source to this information? 🙏

@dogmatic69
Copy link
Author

It's in the logs when running the server, not looked much into it

@brianmgray
Copy link

I see it too. It looks like this is the problem:

{{ template "_internal/google_analytics.html" . }}

Per this: gohugoio/hugo#10899, it looks like this template is deprecated

@StefMa
Copy link
Owner

StefMa commented Mar 6, 2024

I investiaged a bit and it seems that the _internal/google_analytics_async.html template is deprecated.
But not the _internal/google_analytics.html one.
(Note the _async here 🙃 )
See also https://github.com/gohugoio/hugo/pull/11468/files

This was already changed in this PR.

The mentioned PR was merged at 14.3.2023 (close to a year ago 😁) while the 1.0.0 release happen at 5.3.2023.

So it seems I only have to do another release to fix this.

Do you guys using hugo mod?
Could you try to use the latest git hash to check if the warning disappear?

@StefMa
Copy link
Owner

StefMa commented May 10, 2024

v1.1.0 is out.
See https://github.com/StefMa/hugo-fresh/releases/tag/v1.1.0

This issues is obsolete now. Going to be close it.

@StefMa StefMa closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants