feat(analytics): make Umami DNT behavior configurable

This commit is contained in:
undecV 2025-06-15 19:21:28 +08:00
parent 23a1baf96c
commit fe4e9b6163
No known key found for this signature in database
GPG key ID: 0C736668A96CC1D2
4 changed files with 9 additions and 1 deletions

View file

@ -372,6 +372,9 @@ service = "goatcounter"
# Leave this field empty if you're using the service's default hosting.
self_hosted_url = "https://tabi-stats.osc.garden"
# Optional: For Umami, enable this option to respect users' Do Not Track (DNT) settings. The default is true.
do_not_track = true
# giscus support for comments. https://giscus.app
# Setup instructions: https://welpo.github.io/tabi/blog/comments/#setup
[extra.giscus]