Funnels - API Documentation
Ⓔ Enterprise Only
This feature is available exclusively in Countly Enterprise.
Overview
Funnels helps you track user progression through ordered events and measure conversion drop-off between steps.
Key Features
- Define reusable funnels with step-level query filters.
- Support both
session-independentandsame-sessionfunnel types. - Analyze conversion performance and fetch user IDs for specific step transitions.
- Store/reuse funnel grouping flags (including favorites).
- Power dashboard widgets and periodic overview data.
Funnel Types
| Type | Description |
|---|---|
session-independent | Step completion is evaluated across sessions in period scope. |
same-session | Step completion is constrained to matching session context. |
Quick Links
Read Endpoints
Write Endpoints
Data Sources
countly.funnels: Funnel definitions and group flags.countly.funneldata: Daily summarized funnel data.countly_drill.drill_events: Event stream used during funnel calculations.countly_drill.drill_bookmarks: Saved filters used throughfilter_id.countly.app_users{appId}: User pre-filtering and cohort checks.countly.long_tasks: Async funnel calculation task state/results.countly_fs.funnels_cache: Cached funnel result blobs.
Configuration Settings
| Setting | Default | What it controls |
|---|---|---|
funnel_step_limit | 8 | Intended max step count for funnel definitions. |
funnel_caching | true | Enables funnel cache read/write behavior. |
funnel_caching_period | 30 | Number of days used by background cache generation jobs. |
Workflow
- Create a funnel with Funnels - Create.
- Optionally update structure or ordering with Funnels - Update.
- Run analysis using Funnels - Analyze.
- Use Funnels - Read Data for daily summaries/widgets.
- Remove obsolete funnels with Funnels - Delete.
Performance Considerations
- Larger periods and more steps increase query cost.
same-sessionfunnels add session grouping work and can be heavier.- As data grows, calculations may run asynchronously and return
task_id. - Cache behavior (
funnel_caching) can reduce repeated query latency.
Related Features
- Drill
- Dashboard
- Report Manager
Last Updated: 2026-02-15