# Activation Funnel block

> Activation Funnel Report with Conversion Area Chart and Segment Mix

Tracks workspaces from signup to week 4 retention via a stacked funnel chart, segment mix pie, and risk-flagged cohort grid with period, segment, and export filters. ReUI DataGrid, Badge, Frame; shadcn Button, Select, Tabs. Funnel and cohort reports.

- Type: Pro block
- Category: [Analytics](https://web.dev.reui.io/blocks/solutions/analytics.md)
- Page: https://web.dev.reui.io/blocks/solutions/analytics/solution-analytics-3
- MCP: `get_block("solution-analytics-3")`
- Built with: Avatar, Badge, Breadcrumb, Button, Calendar, Chart, Data Grid, Dropdown Menu, Frame, Item, Popover, Select, Tabs
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A 4 stage stacked funnel area chart beside a segment mix pie, over a per stage breakdown grid with risk badges and a segment filter

## Agent notes

- The `funnelData`, `segmentMixData` and `stageBreakdownRows` arrays in data.tsx are sample numbers to replace with your funnel query
- Every Export and Share button and the Export CSV and Export PNG menu items have no `onClick`, and `handleRefresh` only runs a timer
- The `ReportDatePicker` and `CompareToggle` keep their own state and no chart reads it, so they filter nothing until wired

## When not to use

- A single sales funnel card split by lead source, with no cohort grid below it: use [Pipeline Leakage](https://web.dev.reui.io/blocks/chart/sankey-chart/chart-53.md) (`get_block("chart-53")`)
- Week over week retention by cohort rather than stage conversion: use [Cohort Retention](https://web.dev.reui.io/blocks/solutions/analytics/solution-analytics-4.md) (`get_block("solution-analytics-4")`)

## Third-party libraries

- Recharts v3: [API reference](https://recharts.github.io/en-US/api/), [docs](https://recharts.github.io/en-US/guide/getting-started/)
- TanStack Table v9: [API reference](https://tanstack.com/table/v9/docs/framework/react/reference/index), [docs](https://tanstack.com/table/v9/docs/framework/react/quick-start)
- date-fns v4: [docs](https://date-fns.org/v4.1.0/docs/Getting-Started)
- React DayPicker v9: [API reference](https://daypicker.dev/v9/api), [docs](https://daypicker.dev/v9/start), through shadcn Calendar

## Install

```bash
npx shadcn@latest add @reui/solution-analytics-3
```

## About Analytics blocks

### When to use

- Product usage reports: overall health, feature adoption, activation funnel, cohort retention or an A/B test
- Analyst workspaces for an event catalog, weekly segment rule coverage or the detail page of one metric
- Alert rule settings for product metrics: thresholds, delivery per rule and channel, and quiet hours

### When not to use

- A team home for operations work such as fulfillment, staffing, calls or payouts: use the [Dashboard blocks](https://web.dev.reui.io/blocks/application/dashboard.md)
- A single trend card placed inside a page you already built: use the [Line Chart blocks](https://web.dev.reui.io/blocks/chart/line-chart.md)
- A plain table of your own records with sorting and filters and no report around it: use [Data Grid](https://web.dev.reui.io/components/data-grid.md) (`get_component("data-grid")`)

### Agent notes

- Every block sets a `min-h-svh` wrapper plus its own max width and padding in page.tsx or its root; remove them inside your app shell
- Filters and edits live in `useState` and reset on reload; no block requests or persists data, so connect each to your analytics backend

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
