Individual visits
list_visitsDrill below the aggregates: the visits that started in a window, newest first, with where they landed and left, their source, country and device; or, with visit_id, one visit step by step (pages, events, referrer), at any age. For questions like "what did people from X actually do". Pass next_cursor back as cursor for older visits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, inclusive, YYYY-MM-DD; default today | |
| from | No | First day, YYYY-MM-DD; overrides period | |
| limit | No | ||
| cursor | No | next_cursor from a previous list | |
| period | No | Window ending now; days are whole days in the timezone. Ignored when from is set. | 30d |
| site_id | Yes | site_id from list_sites; a site name, slug or domain also resolves | |
| timezone | No | IANA zone for day boundaries; default the user's | |
| visit_id | No | One visit, from a previous list |