Overview
Navigate to Analytics → Overview in the sidebar, or open /analytics (without additional segment tabs).

Summary
Section titled “Summary”Tab Overview is the default report that appears when you open the Analytics page. It displays four KPI cards at the top, a daily message volume line chart, and a donut chart of conversation distribution by type.
API Used
Section titled “API Used”Date Range Picker
Section titled “Date Range Picker”All reports on the Analytics page use a shared date range picker located in the header at the top of the page (outside the individual tabs). The default range is the last 30 days (counted from today going back 29 days).
This picker affects the entire Analytics report — not just the Overview. Whenever you change the range, all tabs reload their data.
| The | Behavior |
|---|---|
| Default | from = hari ini - 29 hari, to = hari ini |
| Request format | startDate and endDate are sent to the API as yyyy-MM-dd |
| Period label | Changes are tracked as 7d, 30d, 90d, or custom for internal analytics |
KPI Cards
Section titled “KPI Cards”Four KPI cards are displayed in a 4-column grid. Each card shows an absolute value and percentage change compared to the previous period.
Messages Sent
Section titled “Messages Sent”| Aspect | Details |
|---|---|
| Label | ”Messages Sent” |
| Value | data.kpis.messagesSent.value — total number of outbound messages in the period |
| Perubahan | data.kpis.messagesSent.change * 100, displayed with 1 decimal |
| Icon | Send (paper plane) |
| Interaction | Click the card to record an messages_sent |
Values are formatted using toLocaleString() (thousand separator according to locale).
Delivery Rate
Section titled “Delivery Rate”| Aspect | Details |
|---|---|
| Label | ”Delivery Rate” |
| Value | data.kpis.deliveryRate.value * 100, displayed with 1 decimal (for example 95.3%) |
| Perubahan | data.kpis.deliveryRate.change * 100, displayed with 1 decimal |
| Icon | CheckCircle2 |
Read Rate
Section titled “Read Rate”| Aspect | Details |
|---|---|
| Label | ”Read Rate” |
| Value | data.kpis.readRate.value * 100, displayed with 1 decimal (for example 72,1%) |
| Perubahan | data.kpis.readRate.change * 100, displayed with 1 decimal |
| Icon | Eye |
The same warning applies: API values are assumed to be on a 0.0–1.0 scale.
Estimated Total Cost
Section titled “Estimated Total Cost”| Aspect | Details |
|---|---|
| Label | ”Total Estimated Cost” |
| Value | Array data.kpis.totalCost — supports multi-currency (IDR and/or USD) |
| Format | Value divided by 100,000, then formatted as currency via Intl.NumberFormat |
| Perubahan | change * 100, displayed with 1 decimal |
Message Volume Chart
Section titled “Message Volume Chart”The line chart displays daily trends for four metrics:
| Line | Color | Label |
|---|---|---|
sent | Gray (hsl(217 2% 62%)) | Delivered |
delivered | Blue (hsl(217 91% 60%)) | Received |
read | Green (hsl(142 71% 45%)) | Read |
failed | Red (hsl(0 84% 60%)) | Failed |
X-axis: dates (formatted as “MonthName Day”, e.g. “Jun 1”).
Y-axis: message volume (auto-scaled).
Chart properties:
- Line type:
monotone(smooth curve) - Data points hidden (
dot: false) - Null values connected (
connectNulls: true) - Vertical grid hidden
- Tooltip displays a dot indicator
Data comes from data.volumeChart — array of objects with fields date, sent, delivered, read, and failed.
Conversations by Type Chart
Section titled “Conversations by Type Chart”A donut chart (pie chart with a center hole) showing the distribution of conversations by WhatsApp category:
| Type | Color | Label |
|---|---|---|
MARKETING | Dark green (hsl(142.1 76.2% 36.3%)) | Marketing |
UTILITY | Biru (hsl(221.2 83.2% 53.3%)) | Utility |
AUTHENTICATION | Purple (hsl(262.1 83.3% 57.8%)) | Authentication |
SERVICE | Pink (hsl(346.8 77.2% 49.8%)) | Service |
UNKNOWN | Gray (hsl(215 20.2% 65.1%)) | Unknown |
The data comes from data.conversationTypeChart — an array of objects { type, count }.
Chart properties:
- Inner radius: 60px (donut, not a full pie)
- Vertical legend on the right
Period Changes
Section titled “Period Changes”All KPIs display percentage changes with the label “vs. previous period”. The previous period is calculated by the backend — the frontend only displays the value change provided by the API.
| Indicator | Meaning |
|---|---|
Green up arrow (TrendingUp) | Positive change (value increased) |
Red down arrow (TrendingDown) | Negative change (value decreased) |
Empty State
Section titled “Empty State”If there is no data from the API, the message “No overview data available for the selected period.” is displayed.
Error Status
Section titled “Error Status”| Condition | Display |
|---|---|
| Authentication token not found | Red alert with the message “Authentication token not found.” |
| API request fails | Red alert with the error message from the exception |
Technical Notes
Section titled “Technical Notes”- All metric computation is performed by the backend. The portal only displays the results.
- There is no direct export option in this tab — use Message Explorer or Export Data to export raw data.
- The API endpoint only accepts
startDateandendDate— there are no channel parameters or other filters at the Overview level.