Sales Analytics
Revenue by client category
Powers the Revenue by category doughnut on the Overview screen and the horizontal bar chart on the Sales analytics screen.
Categories are driven by LeadCategory records (Direct, Agency, Digital, Government). Each row includes total contract value, deal count, and avg deal value for leads committed in the period.
GET
Revenue by client category
Authorizations
Enter your JWT token in the format: Bearer
Query Parameters
Period string. Accepted formats:
2026-05— calendar monthQ2-2026— quarter (Q1–Q4)YTD-2026— year to date
Previous
Sales summary KPIsPowers the KPI card row on the **Sales analytics** screen and the top row of the **Executive overview** screen.
Returns total revenue, avg deal size, open leads, new clients, and deals closed for the requested period. All monetary values are in the contract currency (KES for domestic deals).
Campaign counts have moved to `GET analytics/campaigns/summary`.
Next
Revenue by client category
