Analytics

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

MethodEndpointDescription
GET/analytics/subscriptions/healthSubscription health metrics
GET/analytics/customers/activity/event-countsCount Events
GET/analytics/customers/activity/top-pagesTop Pages
GET/analytics/customers/activity/top-referrersTop Referrers
GET/analytics/customers/activity/conversion-by-dimensionConversion Rate by Dimension
GET/analytics/customers/activity/journeyCustomer Journey

Common Parameters

All analytics endpoints require:

ParameterTypeDescription
site_idintegerSite 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.