Skip to content

reveata funnels

View as Markdown

List a website's saved funnels and see visitors, conversion and drop-off for each step.

On this page

reveata funnels lists the funnels saved for a website and shows how visitors move through each step: visitors, conversion and drop-off. Results take the same period and filter options as reveata stats. Both commands need the funnels:read scope, so they need an account token: site keys don't have it.

funnels create, funnels update and funnels delete save, change and remove funnels (funnels:write and the editor role). Give the steps in order with --step: page:/pricing (exact path), page-contains:blog, page-starts:/docs or goal:signup. funnels list prints the id the other commands take. Deleting needs --yes; no analytics data is removed.

reveata funnels list

Saved funnels of a website.

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)

Calls GET /api/v1/websites/{website}/funnels (funnels:read).

bash
reveata funnels list --site example.com

reveata funnels results <funnelId>

Conversion through each step of a saved funnel.

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --period <period>: last_7d, last_30d (default), today, yesterday, last_12m, all, custom, …
  • --from <YYYY-MM-DD>: Start day (implies --period custom)
  • --to <YYYY-MM-DD>: End day (implies --period custom)
  • --compare <mode>: previous_period (default), previous_period_dow (same weekdays), year_over_year, custom (with --compare-from/--compare-to) or none
  • --compare-from <YYYY-MM-DD>: First day compared with (--compare custom)
  • --compare-to <YYYY-MM-DD>: Last day compared with (--compare custom)
  • --filter <dim:op:value>: Filter, e.g. country:is:DE (repeatable; separate alternatives with |)
  • --any <dim:op:value>: An "or" condition: visits matching any --any filter (repeat, at least two), ANDed with --filter
  • --segment <id>: Saved segment id

Calls GET /api/v1/websites/{website}/funnels/{funnelId}/results (funnels:read).

bash
reveata funnels results 6710a4c2e4b0a1b2c3d4e5f6 --site example.com --period last_7d

reveata funnels create <name>

Save a funnel of 2 to 8 steps (editor role).

Steps in order with --step: page:/pricing (exact path), page-contains:blog, page-starts:/docs or goal:signup.

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --step <kind:value>: Funnel step: page:/pricing, page-contains:blog, page-starts:/docs, goal:signup

Calls POST /api/v1/websites/{website}/funnels (funnels:write).

bash
reveata funnels create "Pricing to signup" --site example.com --step page:/pricing --step goal:signup

reveata funnels update <funnelId>

Rename a funnel or replace its steps (editor role).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • --name <name>: Display name
  • --step <kind:value>: Funnel step: page:/pricing, page-contains:blog, page-starts:/docs, goal:signup

Calls PATCH /api/v1/websites/{website}/funnels/{funnelId} (funnels:write).

bash
reveata funnels update 6710a4c2e4b0a1b2c3d4e5f6 --site example.com --name "Checkout"
reveata funnels update 6710a4c2e4b0a1b2c3d4e5f6 --site example.com --step page:/ --step goal:purchase

reveata funnels delete <funnelId>

Delete a saved funnel (editor role).

Options:

  • --site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)
  • -y, --yes: Confirm a delete, revoke, roll or removal (required; nothing is asked)

Calls DELETE /api/v1/websites/{website}/funnels/{funnelId} (funnels:write).

bash
reveata funnels delete 6710a4c2e4b0a1b2c3d4e5f6 --site example.com --yes

Was this helpful?