Business metrics and operational insights.
Endpoints for querying business metrics and operational insights. Analytics endpoints return aggregated data over date ranges to help you understand trends, measure performance, and make data-driven decisions.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /analytics/subscriptions/health | Subscription health metrics |
GET | /analytics/customers/activity/event-counts | Count Events |
GET | /analytics/customers/activity/top-pages | Top Pages |
GET | /analytics/customers/activity/top-referrers | Top Referrers |
GET | /analytics/customers/activity/conversion-by-dimension | Conversion Rate by Dimension |
GET | /analytics/customers/activity/journey | Customer Journey |
Common Parameters
All analytics endpoints require:
| Parameter | Type | Description |
|---|---|---|
site_id | integer | Site identifier |
Most analytics endpoints also accept date range and aggregation parameters. Refer to each endpoint for specifics.
Caching
Analytics responses are cached server-side to reduce database load on repeated requests. Cache duration varies by endpoint (typically 1 hour). Data reflects the state at the time of the last cache refresh, not real-time.

