Get analytics
get_analyticsViews, unique visitors, completion rate, average time and leads for the last days (default 30, today included, UTC), with daily counts and the change against the previous period. For one demo (demoId): the step funnel (sessions that reached each published step) with where viewers drop off and the biggest drop, screen visits and hotspot clicks (clickable), recent sessions and traffic sources. Linear demos: the drop is from the previous step. Branched demos (branched: true, choices or step jumps): steps on different paths can’t be compared in list order, so the drop is left, the sessions that stopped at that step without finishing, with each step’s path, plus paths and a breakdown per choice. Without demoId: the workspace totals and top demos. Free plans get view counts only (detailed: false).
Requires: demos:read, analytics:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| demoId | No | One demo (default: the whole workspace). |