Skip to main content

Funnels - API Documentation

Enterprise

This feature is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.

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-independent and same-session funnel 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

TypeDescription
session-independentStep completion is evaluated across sessions in period scope.
same-sessionStep completion is constrained to matching session context.

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 through filter_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

SettingDefaultWhat it controls
funnel_step_limit8Intended max step count for funnel definitions.
funnel_cachingtrueEnables funnel cache read/write behavior.
funnel_caching_period30Number of days used by background cache generation jobs.

Workflow

  1. Create a funnel with Funnels - Create.
  2. Optionally update structure or ordering with Funnels - Update.
  3. Run analysis using Funnels - Analyze.
  4. Use Funnels - Read Data for daily summaries/widgets.
  5. Remove obsolete funnels with Funnels - Delete.

Performance Considerations

  • Larger periods and more steps increase query cost.
  • same-session funnels 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.
  • Drill
  • Dashboard
  • Report Manager

Last Updated: 2026-02-15