mirror of
https://github.com/welpo/tabi.git
synced 2026-02-15 23:57:19 +01:00
✨ feat(analytics): make Umami DNT behavior configurable (#536)
Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
23a1baf96c
commit
9b115904d7
6 changed files with 16 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
+++
|
||||
title = "Mastering tabi Settings: A Comprehensive Guide"
|
||||
date = 2023-09-18
|
||||
updated = 2025-06-08
|
||||
updated = 2025-06-16
|
||||
description = "Discover the many ways you can customise your tabi site."
|
||||
|
||||
[taxonomies]
|
||||
|
|
@ -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" 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