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

Refactor web analytics script to conditionally load based on DNT setting #1074

Closed
wants to merge 4 commits into from

Conversation

mobeicanyue
Copy link

image

新版 Umami v2.10.0 移除了 dnt 支持
所以重构 dnt 实现

经测试,不开启的浏览器可以正常生成,在在开启 dnt 的浏览器不生成

image

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

Successfully merging this pull request may close these issues.

None yet

1 participant