Get KPIs (sessions, pageviews, bounce rate, session duration)
Time-series traffic KPIs with optional dimension breakdown. Returns sessions (session count), pageviews, bounce rate and average session length. When include_previous_period=true without group_by, the response also includes visitors (unique visitors), visitors_current and visitors_previous.
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.
Dimension to break down by
referrer, location, device, browser, os, utm_source, utm_medium, utm_campaign Return current and previous period for WoW comparison
Response
KPI time-series
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.