Funnels#

A funnel is an ordered list of pages and goals. A visitor counts at a step when the same daily hash matches that step later than the previous one. The same person on another UTC day is a new visitor. A saved funnel belongs to one site. An editor can save 20 of them. Any member can read the list.

Open GET /funnels, choose the site, and fill one to six steps. A page step is a pageview. A goal step is the goal’s id; the report shows the goal’s name. * on a page or an event matches any text. %, _, and \ stay literal. Leave unused rows blank at the end. A campaign on a step, when set, must equal utm_campaign. Leave it blank to count every campaign. The date window uses the site timezone, so a visit just before local midnight stays on the previous day. A repeated step needs a later visit. A later step that happens first does not count. A window with no matching visits shows zero visitors and no rate.

The window is minutes after the first step. Leave it blank for any later time on that daily visitor. The longest window is 1440 minutes.

The result lists visitors, drop-off, and the share who reached the step from the start. Sources are the visitors who reached the first step, grouped by the source on that event. A visit with no source and no referrer is Direct.

Set both comparison dates to measure the same steps on another range. The period dates, when both are set, replace the period menu. The page can also compare with the previous period or the same dates last year.

Save stores the funnel on the site. Show reloads it. Delete removes it. The same funnel can be a panel on a shared dashboard, and it is included in the weekly report. Those views carry the funnel name, the step labels, the source labels, and the counts.

GET /api/funnels?site_id=... lists saved funnels. POST /api/funnels saves one. PATCH /api/funnels/<id> replaces it. DELETE /api/funnels/<id> removes it. POST /api/stats/<site_id>/funnel runs a funnel without saving it.