# Find the step where people leave.

Then count what matters. Funnels show how many visitors make it from one step to the next, how many are lost, and how long the step took. Goals count the actions you care about, with a conversion rate beside each.

Try it on sample data: [Funnels and goals in the demo](/app/demo/funnels)

## Steps from pages and events

A funnel is 2 to 8 steps, in order. Each step is either a page, matched by a path pattern like /pricing or /docs/*, or a custom event like signup. Visitors must complete the steps in that order within a window you choose: 1 hour, 1 day, 7 days or 30 days.

Funnels work on the data you already collect. Define one today and it is calculated over the whole period you pick, not only from today onward.

- Conversion from the first step and from the previous step
- Visitors lost at each step, and the median time it took
- Filter by source, country, device or campaign to compare paths

## Goals for the things you count

A goal is one action: a signup, a download, a page reached. Each goal shows its completions and the share of visitors who completed it, in the selected period, next to every breakdown in the dashboard.

Give a goal a value and it is counted as money too. For real payments, connect a provider and revenue is attributed for you.

## What you do with it

The biggest drop is the best place to spend an afternoon. If most visitors who reach pricing never sign up, the pricing page is the problem, not the traffic. If signups never upgrade, look at the first week in the product.

Compare the same funnel for two sources and you often find one channel that converts several times better than the rest. Retention cohorts then show whether those people keep coming back.

## Send an event. Pick the steps.

1. **Send the events you need.** Pageviews are tracked already. For actions, call the global, or mark a button with an attribute and skip the JavaScript.

```js
// Anywhere in your code
crispstats("signup", { plan: "pro" });
```

2. **Or mark it up.** A click on the element, or anything inside it, sends the event with each prop attribute as a prop.

```html
<button data-cs-event="add to cart" data-cs-prop-sku="tee-01">
  Add to cart
</button>
```

3. **Build the funnel.** In Funnels, add the steps in order and choose the window. The chart appears at once, over the range you have selected.

## Frequently asked questions

### How many funnels and goals can I create?

As many as you need, on every plan. A funnel can have up to 8 steps.

### Do steps have to happen in one visit?

No. They have to happen in order within the funnel's window, which is seven days unless you change it. By default a visitor is recognised for one day, so steps on different days count only with persistent visitors on.

### Can a step match several pages?

Yes. A page step takes a path pattern, so /blog/* matches every post.

### Do custom events cost extra?

Each custom event counts as one event toward your plan, like a pageview. There is no separate price for funnels or goals.

### Can I see funnels through the API?

Yes. The REST API and the MCP server both list your funnels and return each one's steps and conversion, the same numbers the dashboard shows.
