Configure external analytics
set_analytics_configConfigure analytics provider to read site traffic (Plausible, Umami, custom, GA with OAuth). Set enabled:false to stop proxy. API key from environment variable.
Instructions
Configure which external analytics provider to READ site traffic from (distinct from set_site_analytics, which injects tracking). Provider is plausible/umami/custom (Google Analytics needs an OAuth connector). No API key is stored — the read proxy reads it from the FEATUREBOARD_ANALYTICS_KEY env var. Set enabled:false to turn the proxy off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | API host (e.g. plausible.io, or your self-hosted umami URL). | |
| period | No | Default window, e.g. 7d, 30d, month. | |
| siteId | No | Plausible domain, umami website id, etc. | |
| enabled | No | ||
| metrics | No | Metrics to request, e.g. visitors, pageviews, bounce_rate. | |
| project | Yes | ||
| provider | No | ||
| statsUrl | No | For provider 'custom': the full stats endpoint ({period} is substituted). |