Top Pages
Get top, entry, and exit pages for a site.
Top Pages
Returns a breakdown of page paths by pageview count and unique visitors. Supports top pages, entry pages, and exit pages.
Endpoint
GET /api/v1/organizations/:orgId/sites/:siteId/analytics/pages
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | No | Time period |
type | string | No | pages (default), entry, or exit |
limit | number | No | Max results to return (default: 10) |
filters | string | No | JSON-encoded filter array |
Response fields
Returns an array of page entries:
| Field | Type | Description |
|---|---|---|
page_path | string | The page URL path (e.g., /pricing) |
views | number | Total pageview count |
visitors | number | Unique visitors for this page |