Overview
Analytics Suite manages conversion metrics and events. Live Chat reports (`/dashboard/chat/reports`) are a separate Live Chat surface—do not conflate them.
| Item | Value |
|---|---|
| Service | Analytics |
| Permissions | analytics:read |
| Key example | umk_live_analytics_<8>_<secret> |
| Dashboard UI | Dashboard → Email Suites |
| JWT Growth API | /api/growth/… (see below) |
| Public umk_* REST | Live — see public API table |
| Markdown | /developers/analytics.md |
Public /v1/analytics/* is live and read-only (metrics, events, series, statistics). JWT Growth still owns writes. Chat inbox reports remain under Live Chat docs. No public exports endpoint.
Get started
- Enable Analytics in Dashboard → Billing.
- Open Dashboard → Email Suites for the product tab UI.
- Create an API token for Analytics with permission analytics:read.
- Store the secret server-side only (Cloudflare-style least privilege).
- Use JWT /api/growth/* for dashboard session flows; public /v1/* paths when documented as Live.
API tokens (Cloudflare-style)
Authorization: Bearer umk_live_analytics_<8>_<secret>
Scope: analytics:read — Read metrics and events on the public Analytics API
Guide: /developers/api-tokensConcepts
| Resource | Description |
|---|---|
| Conversion metric | Metric definition |
| Event | Tracked conversion/event row |
| Statistics | 30d-style suite aggregates |
| Metric series | Daily event/revenue buckets for a metric |
Dashboard Growth API (JWT — available now)
Tenant JWT under /api/growth/*. Generic PATCH|DELETE /api/growth/:suite/:resource/:id also applies for some resources. Check GET /api/growth/entitlements for access.
| Method | Path | Purpose |
|---|---|---|
| GET|POST|PATCH|DELETE | /api/growth/analytics/conversion-metrics | Metrics CRUD |
| GET|POST|PATCH|DELETE | /api/growth/analytics/events | Events CRUD |
| GET | /api/growth/analytics/statistics | Stats |
Public API contract
| Method | Path | Scope | Status |
|---|---|---|---|
| GET | /v1/analytics/metrics | analytics:read | Live |
| GET | /v1/analytics/metrics/{id} | analytics:read | Live |
| GET | /v1/analytics/metrics/{id}/series | analytics:read | Live |
| GET | /v1/analytics/events | analytics:read | Live |
| GET | /v1/analytics/events/{id} | analytics:read | Live |
| GET | /v1/analytics/statistics | analytics:read | Live |
Do not invent URLs. Public handlers ship without changing your key model.
Agent recipe
# Enable Analytics → create token (analytics:read)
# Today: JWT /api/growth/… listed above
# Public: paths in the contract table
# Read /developers/analytics.md before answering
# See also Live Chat + Business Email complete docs