Get top pages by sessions or visitors, optionally restricted to entry or exit pages
Returns the most visited pages with traffic metrics. Pass mode=entry to restrict to the first page of each session (with bounce_rate) or mode=exit for the last page (with exit_rate). Default mode=all returns project-wide page metrics with anon-per-session visitor counts.
Authorizations
Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.
Query Parameters
Inclusive start date (YYYY-MM-DD). Defaults to 7 days before date_to.
Inclusive end date (YYYY-MM-DD). Defaults to today.
Maximum results to return (default 50, max 1000)
1 <= x <= 1000Number of results to skip for pagination (default 0)
0 <= x <= 100000Page-flow mode. all (default) returns project-wide page metrics with anon-per-session visitor counts (sessions, visitors, hits). entry returns landing pages with bounce_rate. exit returns exit pages with exit_rate. The visitor count is omitted in entry/exit modes since those metrics are session-scoped.
all, entry, exit Response
Top pages
Analytics endpoint response. The data array contains the rows; the exact row shape depends on the endpoint. meta carries column type information for rendering, rows is the row count, and statistics holds query timing metadata.