d8a_run_journeys
Use this to see the journeys users or sessions take through events, e.g. page_view labelled by page: what follows a start item or leads to an end item, optionally broken down by an entry dimension. Results keep the journeys graph (steps, edges, and prefixes when start or end is set) with truncation metadata and warnings; counts are journeys. No compare: run it twice with different dates. Read d8a_get_tracking_guide topic journeys-definition first; filters, cleaning_rules and excluded_items default to empty, start, end and breakdown are optional, and every other definition field is required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>",
"definition": "<definition>"
},
"name": "d8a_run_journeys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | Instead of dates. last_week is the previous Sunday-Saturday. | |
| date_to | No | Last day (inclusive), YYYY-MM-DD, in the property timezone. | |
| date_from | No | First day, YYYY-MM-DD, in the property timezone. | |
| definition | Yes | ||
| property_id | Yes | Property ID from d8a_list_properties. | |
| breakdown_focus | No | A bucket key from a previous result's breakdown to show only its journeys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| result | Yes | ||
| timezone | Yes | ||
| warnings | Yes | ||
| property_id | Yes | ||
| generated_at | Yes | ||
| breakdown_label | No |