feat(analytics): Goatcounter support (#956)

* Add options to support goatcounter analytics

* goatcounter: support self-hosted

* Add to configuration docs for goatcounter settings

* use https instead of protocol-relative link for goatcounter js
This commit is contained in:
Tyler Funk
2024-03-06 21:44:34 -06:00
committed by GitHub
parent 343fd538cf
commit 5576219990
3 changed files with 16 additions and 0 deletions

View File

@@ -19,6 +19,12 @@ export type Analytics =
websiteId: string
host?: string
}
| {
provider: "goatcounter"
websiteId: string
host?: string
scriptSrc?: string
}
export interface GlobalConfiguration {
pageTitle: string