Journeys
journeysThe routes visitors actually take, grouped into identical sequences and counted, busiest first. Use this when you do NOT already know the steps: funnel measures a path you name, journeys discovers the ones you did not think to check. A step is a pageview path (/pricing) or a custom event marked with a leading # (#signup_click), so the moment of conversion appears in the route. Consecutive repeats are collapsed and only the first 10 steps define a route. contains filters to routes that include a given path or event: run it once with and once without to see what converting visitors do differently. Visitor identity rotates daily, so a route is one day of activity and describes a group, never a person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO end, alternative to period | |
| from | No | ISO start, alternative to period | |
| site | No | the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user. | |
| limit | No | max routes returned (default 20) | |
| period | No | relative period like '24h', '7d' (default), '4w' | |
| contains | No | only routes that include this path or #event step |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| site | Yes | ||
| period | Yes | ||
| contains | No | ||
| journeys | Yes | ||
| total_visitors | Yes |