Get site traffic (analytics proxy)
get_site_trafficFetch site traffic statistics from Plausible or Umami. Returns normalised numbers, or falls back to providing the request URL for manual use.
Instructions
Read proxy for site traffic: fetch the configured provider's stats (Plausible/umami) using the FEATUREBOARD_ANALYTICS_KEY env var and return normalised numbers so the board can show traffic. Degrades gracefully — when disabled, unconfigured, or missing a key it returns the exact request URL so you can fetch it yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Override the configured window, e.g. 7d, 30d. | |
| metrics | No | Override the configured metrics list. | |
| project | Yes |