mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
✨ feat(analytics): make Umami DNT behavior configurable
This commit is contained in:
parent
23a1baf96c
commit
fe4e9b6163
4 changed files with 9 additions and 1 deletions
|
|
@ -811,6 +811,8 @@ You can set them up in the `[extra.analytics]` section of your `config.toml`.
|
|||
- For Umami: `"https://umami.example.com"`
|
||||
- For Plausible: `"https://plausible.example.com"`
|
||||
|
||||
- `do_not_track`: (Umami only) Optional. When set to `true`, the generated tracking script will include the `data-do-not-track="true"` attribute, which disables tracking for users whose browsers send a "Do Not Track" (DNT) header.
|
||||
|
||||
An example configuration for non-self-hosted GoatCounter would look like this:
|
||||
|
||||
```toml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue