---
title: "Get page flow analytics: entry pages, exit pages, drop-off points, and page transitions"
method: GET
path: "/analytics/page-flow"
tags: ["Analytics"]
---

# Get page flow analytics: entry pages, exit pages, drop-off points, and page transitions

`GET /analytics/page-flow`

## Request

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

## Query parameters

- `project_id` integer, required
- `environment_id` integer
- `start_date` string, required
- `end_date` string, required
- `limit` integer
- `transitions_limit` integer
- `min_views_for_dropoff` integer

## Response `200`

Successfully retrieved page flow analytics

- PageFlowResponse: Complete page flow analytics response
  - `drop_off_points` DropOffPoint[], required: Top drop-off points (highest exit rates with meaningful traffic)
    - `exit_count` integer, required: Number of exits from this page
    - `exit_rate` number, double, required: Exit rate for this page (exit_count / total_views)
    - `page_path` string, required: The page path where visitors drop off
    - `total_views` integer, required: Total views of this page
  - `top_entry_pages` PageFlowEntry[], required: Top entry pages (where visitors land), sorted by entry_count DESC
    - `avg_time_on_page` number, double, nullable: Average time spent on this page in seconds
    - `bounce_count` integer, required: Number of times visitors bounced on this page
    - `bounce_rate` number, double, required: Bounce rate: bounce_count / entry_count (only meaningful for entry pages)
    - `entry_count` integer, required: Number of times this page was the entry page of a session
    - `entry_rate` number, double, required: Entry rate: entry_count / total_views
    - `exit_count` integer, required: Number of times this page was the exit page of a session
    - `exit_rate` number, double, required: Exit rate: exit_count / total_views
    - `page_path` string, required: The page path (e.g. "/pricing", "/docs/getting-started")
    - `total_views` integer, required: Total page views for this page
  - `top_exit_pages` PageFlowEntry[], required: Top exit pages (where visitors leave), sorted by exit_count DESC
    - `avg_time_on_page` number, double, nullable: Average time spent on this page in seconds
    - `bounce_count` integer, required: Number of times visitors bounced on this page
    - `bounce_rate` number, double, required: Bounce rate: bounce_count / entry_count (only meaningful for entry pages)
    - `entry_count` integer, required: Number of times this page was the entry page of a session
    - `entry_rate` number, double, required: Entry rate: entry_count / total_views
    - `exit_count` integer, required: Number of times this page was the exit page of a session
    - `exit_rate` number, double, required: Exit rate: exit_count / total_views
    - `page_path` string, required: The page path (e.g. "/pricing", "/docs/getting-started")
    - `total_views` integer, required: Total page views for this page
  - `total_pages` integer, required: Total unique pages seen in the period
  - `total_sessions` integer, required: Total sessions in the period
  - `transitions` PageTransition[], required: Page-to-page transitions (most common navigation paths)
    - `from_page` string, required: The source page path
    - `percentage` number, double, required: Percentage of transitions from the source page that go to this destination
    - `to_page` string, required: The destination page path
    - `transition_count` integer, required: Number of times this transition occurred

## Other responses

- `400`: Invalid parameters
- `500`: Internal server error

## Changes

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

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/analytics/page-flow/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)
