Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Enhance funnels documentation with interactive tabs and steps components for improved user guidance

Bill Yangbffb8fddc375
diff --git a/docs/content/docs/funnels.mdx b/docs/content/docs/funnels.mdx
index e8a6bf8c4..38fb1a96a 100644
--- a/docs/content/docs/funnels.mdx
+++ b/docs/content/docs/funnels.mdx
@@ -2,6 +2,8 @@
title: Funnels
description: Analyze conversion through multi-step user journeys
---
+import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
+import { Step, Steps } from 'fumadocs-ui/components/steps';
![Funnels Dashboard](/docs/funnels/1.png)
@@ -10,28 +12,41 @@ Funnels let you define a sequence of steps β€” page visits or custom events β€”
## Creating a Funnel
![Creating a Funnel](/docs/funnels/2.png)
-
-Click **Create Funnel** to open the funnel builder. Each funnel has:
+<Steps>
+<Step>
+### Click "Create Funnel"
+Each funnel has:
- **Name** β€” A label for the funnel (e.g., "Signup Flow", "Checkout Process")
- **Steps** β€” Two or more sequential steps, each tracking a page visit or custom event
-### Page Steps
+</Step>
+<Step>
+### Add Steps
+
+A funnel always must have at least two steps.
+
+There are two types of steps: **Path Steps** and **Event Steps**.
-Page steps match pageview events by URL path.
+<Tabs items={['Path Steps', 'Event Steps']}>
+<Tab value="Path Steps">
+Path steps match pageview events by URL path.
- Enter a URL path starting with `/`
- Wildcards are supported:
- `*` matches a single path segment β€” `/products/*` matches `/products/shoes`
- `**` matches multiple segments β€” `/docs/**` matches `/docs/api/v2/intro`
-### Event Steps
-
+</Tab>
+<Tab value="Event Steps">
Event steps match custom events by name (e.g., `add_to_cart`, `purchase_completed`).
Events must be tracked using the Rybbit tracking script. See [Track Events](/docs/track-events) for setup instructions.
-
-### Step Options
+</Tab>
+</Tabs>
+</Step>
+<Step>
+### Configure Step Options (optional)
![Step Options](/docs/funnels/4.png)
@@ -41,6 +56,8 @@ Each step has additional configuration options:
- **Hostname** (optional) β€” Restrict matching to a specific domain, useful for multi-domain sites
- **Property Filters** (optional) β€” Filter by URL parameters (for page steps) or event properties (for event steps). Multiple filters can be added per step, and all must match.
+</Step>
+</Steps>
## Reading Funnel Results
The funnel visualization updates in real time as you configure steps. For each step, you'll see: