✨feat: support privacy-respecting analytics (#193)
This commit is contained in:
19
config.toml
19
config.toml
@@ -211,6 +211,25 @@ allowed_domains = [
|
||||
# Please see https://welpo.github.io/tabi/blog/custom-font-subset/ to learn how to create this file.
|
||||
custom_subset = true
|
||||
|
||||
[extra.analytics]
|
||||
# Specify which analytics service you want to use.
|
||||
# Supported options: ["goatcounter", "umami", "plausible"]
|
||||
# service = "umami"
|
||||
|
||||
# Unique identifier for tracking.
|
||||
# For GoatCounter, this is the code you choose during signup.
|
||||
# For Umami, this is the website ID.
|
||||
# For Plausible, this is the domain name (e.g. "example.com").
|
||||
# Note: Leave this field empty if you're self-hosting.
|
||||
# id = "yourID"
|
||||
|
||||
# Optional: Specify the URL for self-hosted analytics instances.
|
||||
# For GoatCounter: Base URL like "https://stats.example.com"
|
||||
# For Umami: Base URL like "https://umami.example.com"
|
||||
# For Plausible: Base URL like "https://plausible.example.com"
|
||||
# Leave this field empty if you're using the service's default hosting.
|
||||
# self_hosted_url = ""
|
||||
|
||||
# giscus support for comments. https://giscus.app
|
||||
# Setup instructions: https://welpo.github.io/tabi/blog/comments/#setup
|
||||
[extra.giscus]
|
||||
|
Reference in New Issue
Block a user