We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
By default, with the Google Analytics template, we do not respect the browser's "do not track" setting:
hugo/tpl/tplimpl/embedded/templates/google_analytics.html
Lines 9 to 18 in e08d9af
I can't think of a good reason for overriding a visitor's preferences.
I suggest we deprecate this config setting and always respect the visitor's preference.
cc: @chalin
The text was updated successfully, but these errors were encountered:
This is the script you get from Google:
<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-MBZGKNMDWC"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-MBZGKNMDWC'); </script>
Many site managers will want the above, I don't think Hugo want to take a morale standpoint here.
But I do agree that respectDoNotTrack can be default true, but I don't think we can remove it.
respectDoNotTrack
true
Sorry, something went wrong.
No branches or pull requests
By default, with the Google Analytics template, we do not respect the browser's "do not track" setting:
hugo/tpl/tplimpl/embedded/templates/google_analytics.html
Lines 9 to 18 in e08d9af
I can't think of a good reason for overriding a visitor's preferences.
I suggest we deprecate this config setting and always respect the visitor's preference.
cc: @chalin
The text was updated successfully, but these errors were encountered: