Analytics

Get detailed analytics for a specific page path Returns visitors, page views, activity over time, geographic distribution, and referrers

get/analytics/page-path-detail

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/analytics/page-path-detail
  • Auth: HTTP bearer

Query parameters

page_pathstring required

The page path to get details for (URL-encoded)

project_idinteger required

Project ID

environment_idinteger

Environment ID (optional)

start_datestring required

Start date in ISO 8601 format

end_datestring required

End date in ISO 8601 format

bucket_intervalstring

Bucket interval for time series: 'hour', 'day', 'week', 'month' (default: auto based on date range)

Response

Successfully retrieved page path detail analytics

avg_time_on_pagenumber double required

Average time on page in seconds

bounce_ratenumber double required

Bounce rate percentage (0-100)

bucket_intervalstring required

Bucket interval used for time series ('hour', 'day', etc.)

entry_ratenumber double required

Entry rate - percentage of sessions that started on this page

exit_ratenumber double required

Exit rate - percentage of sessions that ended on this page

page_pathstring required

The page path being analyzed

total_page_viewsinteger required

Total page views in the date range

unique_visitorsinteger required

Total unique visitors to this page in the date range

Changes

No recorded changes to this operation across all 50 revisions of this API.