---
title: "Get page analytics"
method: GET
path: "/public/analytics/page/stats"
tags: ["Analytics - Public"]
---

# Get page analytics

`GET /public/analytics/page/stats`

Get analytics for a specific page.

Returns page views, unique visitors, and engagement metrics for any page.

**Args:**
- domain: Website domain (query parameter)
- page_url: Page URL path (e.g., "/viaturas", "/about", "/contact")

**Returns:**
```json
{
  "page_url": "/viaturas",
  "total_views": 2341,
  "unique_visitors": 1823,
  "views_24h": 156,
  "views_7d": 892,
  "avg_time_on_page": 145,
  "bounce_rate": 0.42,
  "last_viewed_at": "2025-12-21T14:30:00Z"
}
```

**Metrics:**
- `page_url`: The page URL
- `total_views`: Total page views (all time)
- `unique_visitors`: Unique visitors to this page
- `views_24h`: Views in last 24 hours
- `views_7d`: Views in last 7 days
- `avg_time_on_page`: Average seconds on page
- `bounce_rate`: Bounce rate (0.0 - 1.0)
- `last_viewed_at`: Last view timestamp

## Query parameters

- `domain` string, required — Website domain
- `page_url` string, required — Page URL (e.g., /viaturas, /about, /contact)

## Headers

- `x-website-token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/4b44eb76b3ee/schema)
