|
| 1 | +# Anonymous Usage Telemetry |
| 2 | + |
| 3 | +Zoneless can optionally send **anonymous, aggregate usage heartbeats** to |
| 4 | +[zoneless.com](https://zoneless.com). Telemetry is **opt-in and off by default**, |
| 5 | +and only applies to **self-hosted** instances (not operator-managed hosting). |
| 6 | + |
| 7 | +## Consent |
| 8 | + |
| 9 | +Enable via the checkbox during setup or under **Settings → Anonymous usage**, |
| 10 | +or `POST /v1/telemetry` with `{ "enabled": true }` as a platform user. |
| 11 | + |
| 12 | +Disable the same way, or set `ZONELESS_TELEMETRY=0`. |
| 13 | + |
| 14 | +## What is sent |
| 15 | + |
| 16 | +One HTTPS POST roughly once per day when enabled **and** `LIVEMODE=true`. |
| 17 | +Test-mode instances (`LIVEMODE` unset/false) never send; consent can still be |
| 18 | +saved and will take effect after switching to live mode. |
| 19 | + |
| 20 | +| Field | Description | |
| 21 | +| ----------------------- | ----------------------------------------------------------------------------------------------------- | |
| 22 | +| `instance_id` | Random UUID generated at opt-in | |
| 23 | +| `zoneless_version` | Package version string | |
| 24 | +| `livemode` | Always `true` when a report is sent (test mode never reports) | |
| 25 | +| `single_tenant` | Whether single-tenant mode is on | |
| 26 | +| `setup_completed` | Whether at least one platform account exists | |
| 27 | +| `os` | `process.platform` (e.g. `linux`) | |
| 28 | +| `node_major` | Major Node.js version number | |
| 29 | +| `payment_count_7d` | Bucket: `0`, `1-10`, `11-100`, `101-1000`, `1000+` (payment/charge BTs) | |
| 30 | +| `usdc_volume_7d` | Payment/charge volume bucket: `0`, `lt_10`, `lt_100`, `lt_1k`, `lt_10k`, `lt_100k`, `lt_1m`, `gte_1m` | |
| 31 | +| `usdc_payout_volume_7d` | Payout volume bucket (same bands; absolute amount) | |
| 32 | +| `connected_accounts` | Bucket: `0`, `1`, `2-10`, `11-100`, `100+` | |
| 33 | + |
| 34 | +## What is never sent |
| 35 | + |
| 36 | +Emails, business names, domains, API keys, wallet addresses, customer PII, |
| 37 | +exact dollar amounts, request bodies, logs, or IP addresses. |
0 commit comments