Analytics & Growth
See cohort retention, unit economics, and conversion — in real time.
The metrics that decide what to scale, queryable however you work: dashboards, warehouse tables, or API. It's your data, as data — so you decide what to ask, and your agents can query it directly over MCP.
What's inside
The metrics that grow a virtual-care business.
Retention, economics, and conversion — as data you query, not charts you’re handed.
Cohorts & retention
Order economics
Conversion & funnels
Data, not dashboards
Served to your agents over MCP
Callable by your agents
Optional depth: how it fits
Numbers that reconcile, by construction.
You don't need the internals to use the metrics — but if you want them: analytics is the CQRS read side of the event backbone, with read models projected from every event. Domain events project into read models and a warehouse, and the same layer answers your agents’ MCP read queries. Because it’s built from the event log, the numbers reconcile with the system of record by construction.
POST /v1/metrics/query
{
"metric": "net_revenue",
"group_by": "therapy",
"window": "last_90d"
}
200 OK
{ "rows": [ { "therapy": "...", "value": ... } ] }Illustrative — the live reference lives at docs.purplelabelmd.com.
Get started