From 56ffb3b19ea6f84eaf3bbfca5c0fbbe01fdde73f Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Mon, 29 Jun 2026 12:58:57 +0200 Subject: [PATCH] Update stats API docs Ref https://github.com/plausible/analytics/pull/6452 --- docs/stats-api.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/stats-api.md b/docs/stats-api.md index 0ffcf553..719a57a4 100644 --- a/docs/stats-api.md +++ b/docs/stats-api.md @@ -150,7 +150,7 @@ Valid dimensions include: :::warning -Mixing session metrics `bounce_rate`, `views_per_visit` and `visit_duration` with event dimensions is not allowed. +Mixing session metrics `bounce_rate`, `views_per_visit` and `visit_duration` with event dimensions is not allowed, with the exception of `event:page` and `event:hostname` (when used together with `event:page`). ::: @@ -162,7 +162,9 @@ Values of these dimensions are determined by the first pageview in a session. | Dimension | Example | Description | | --- | --- | --- | | `visit:entry_page` | /home | Page on which the visit session started (landing page). | +| `visit:entry_page_hostname` | example.com | Hostname of the entry page. | | `visit:exit_page` | /home | Page on which the visit session ended (last page viewed). | +| `visit:exit_page_hostname` | example.com | Hostname of the exit page. | | `visit:source` | Twitter | Visit source, populated from an url query parameter tag (`utm_source`, `source` or `ref`) or the Referer HTTP header. | | `visit:referrer` | t.co/fzWTE9OTPt | Raw `Referer` header without `http://`, `http://` or `www.`. | | `visit:channel` | Organic Search | Acquisition channel for visit. |