@radzor/funnel-report
Build and analyze conversion funnels. Define ordered steps, record user progression, and generate reports with conversion rates and dropoff analysis. In-memory, zero dependencies.
Analyticsv0.1.0typescriptpythonServerfunnelconversionanalyticsdropoffpipelinemetricsby Radzor
Install
View source on GitHub →$npx radzor@latest add funnel-report
⚠ Constraints: All data is in-memory; resets on process restart. Steps must be defined before recording. The windowMs parameter sets the maximum time for a user to complete the funnel — user entries older than windowMs are pruned on report generation.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| funnelId* | string | — | Unique identifier for this funnel. |
| steps | string[] | — | Ordered list of step names defining the funnel. |
| windowMs | number | 86400000 | Maximum time window in ms for a user to complete the funnel. Events outside the window are ignored. |
funnelId*string
Unique identifier for this funnel.
stepsstring[]
Ordered list of step names defining the funnel.
windowMsnumber
Maximum time window in ms for a user to complete the funnel. Events outside the window are ignored.