d8a_run_funnel
Use this to measure conversion through ordered steps, e.g. product view, add to cart, purchase: how many users or sessions reach each step within a conversion window, with per-step conversion, drop-off and timing, and an optional breakdown. Add compare for an earlier period; the summary gives entrant and completion deltas, with the completion-rate change in percentage points. Steps are conditions on dimensions, e.g. the name dimension for event names: read d8a_get_tracking_guide topic funnel-definition first, or start from a saved funnel's run_input.
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_funnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | Instead of dates. last_week is the previous Sunday-Saturday. | |
| compare | No | Also run the same request for a comparison period: previous_period (the same number of days just before), previous_year (the same dates a year earlier) or explicit dates. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| result | Yes | ||
| summary | No | ||
| previous | No | ||
| timezone | Yes | ||
| warnings | Yes | ||
| property_id | Yes | ||
| generated_at | Yes | ||
| compare_period | No | ||
| breakdown_label | No |