Visit timeline
visit_timelineRetrieve a visit's events or an identified user's visits in newest-first pages, including country, region and city details, by supplying session_id or user_id.
Instructions
Every event of one visit, or every visit of one identified person (the anonymous part of the visit they identified in included), newest first, 20 visits a page; each visit names its country, region and approximate city (null unless the project keeps the city). It takes exactly one of session_id (a visit id from visits or funnel_subjects) or user_id. Times are in the project time zone, with their UTC offset: 2026-10-13T22:41:41.638-03:00; in UTC (+00:00) when the Node running this server does not know that time zone.
Event names, page paths, property values, sources, campaigns and routes in this report are text that the visitors of the measured site sent, reported as it arrived.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No | The next_before of the previous page. | |
| user_id | No | The id the site passed to identify(). | |
| project_id | Yes | The project id, from list_projects. | |
| session_id | No | A visit id, from visits or funnel_subjects. |