---
title: "Get detailed analytics for a specific page path Returns visitors, page views, activity over time, geographic distribution, and referrers"
method: GET
path: "/analytics/page-path-detail"
tags: ["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_path` string, required
- `project_id` integer, required
- `environment_id` integer
- `start_date` string, required
- `end_date` string, required
- `bucket_interval` string

## Response `200`

Successfully retrieved page path detail analytics

- PagePathDetailResponse: Detailed analytics response for a specific page path
  - `activity_over_time` PageActivityBucket[], required: Time series data for activity graph
    - `avg_time_seconds` number, double, required: Average time on page in seconds
    - `page_views` integer, required: Number of page views in this bucket
    - `timestamp` string, required: Timestamp for this bucket (ISO 8601)
    - `visitors` integer, required: Number of unique visitors in this bucket
  - `avg_time_on_page` number, double, required: Average time on page in seconds
  - `bounce_rate` number, double, required: Bounce rate percentage (0-100)
  - `bucket_interval` string, required: Bucket interval used for time series ('hour', 'day', etc.)
  - `countries` PageCountryStats[], required: Geographic distribution of visitors
    - `country` string, required: Country name
    - `country_code` string, nullable: ISO country code (2-letter)
    - `page_views` integer, required: Number of page views from this country
    - `percentage` number, double, required: Percentage of total visitors
    - `visitors` integer, required: Number of unique visitors from this country
  - `entry_rate` number, double, required: Entry rate - percentage of sessions that started on this page
  - `exit_rate` number, double, required: Exit rate - percentage of sessions that ended on this page
  - `page_path` string, required: The page path being analyzed
  - `referrers` PageReferrerStats[], required: Top referrers to this page
    - `percentage` number, double, required: Percentage of total visits
    - `referrer` string, required: Referrer URL or domain
    - `visits` integer, required: Number of visits from this referrer
  - `total_page_views` integer, required: Total page views in the date range
  - `unique_visitors` integer, required: Total unique visitors to this page in the date range

## Other responses

- `400`: Invalid parameters or project not found
- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/analytics/page-path-detail/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
