# Funnels and paths

> Where people drop off, where they go next, the way to a goal and what gave the result, without following anyone.

Three ways to see how people get to a goal, all on the **Goals** page, all without following anyone.

| | Answers | Plan |
| --- | --- | --- |
| [Funnels](#funnels) | Where do they drop off on the way? | Every plan |
| [Where do they go next?](#where-do-they-go-next) | From this page, where did people go? | Every plan |
| [The way to the goal](#the-way-to-the-goal) | Which pages lead to this goal? | Plus |
| [What gave the result?](#what-gave-the-result) | Which channels and campaigns brought the goals and orders? | Plus |

## How it works without following anyone

Every page view knows one thing about the visit: the page on your site the visitor was on just before, taken from what the browser sends anyway. Okidoki counts page views by those pairs, like 120 times from `/pricing` to `/signup`. Nothing links one stored page view to another, so a visit is never rebuilt and no person is followed.

So each step is counted exactly, and anything that spans several steps is an estimate made from them. Okidoki always says so, with "about".

## Funnels

**Where do they drop off?** shows how many take each step on the way to a goal, like Home page → Pricing → Sign up, and where they give up.

- Okidoki suggests a few funnels from how people actually move through your site. Press **Add** on one you like.
- Or describe one in your own words, like *people who read a blog post and then buy*. That uses one question to [Okidoki AI](https://docs.okidoki.sh/ask), which only sees your page addresses, titles and goal names, and can only pick pages that exist.
- Or pick the pages yourself, 2 to 5 steps. A step can be a section, like every page under `/blog`.

Each step shows how many page views went straight on from the step before. **About 9% get all the way** is an estimate made from those steps. A site can keep 10 funnels.

## Where do they go next?

Pick a page and see where people went next, where they came from, and how many left the site there. Click a page to follow one more step. Paths cannot be filtered by where visits came from, because Okidoki only knows the source of the first page of a visit.

## The way to the goal

> [!PLUS]
> The way to the goal is part of Plus.

Open a goal to see the funnel backwards: the pages people were on just before they reached it, the pages before those, and the most common ways in. It answers *which pages help people sign up?* without a funnel set up beforehand.

## What gave the result?

> [!PLUS]
> What gave the result? is part of Plus.

One picture from where people came from, to the page they came in on, to your goals or orders. It is on the **Overview** as **Channels that bring results**, on **Goals** as **What gave the result?** and on **Marketing → Campaigns** as **What pays off?**.

- Pick what counts as a result: one of your goals, or orders from your shop.
- Point at a row to see its whole way. Click Social media, Search or Ads to split it into each post and ad. With costs added, each row shows what it cost.
- Orders are counted exactly, with the source your shop recorded.
- Goals reached on the page a visit started on are counted exactly. Goals reached further into the site are shared out over the sources too: each page gets a chance to lead on to the goal, from the page pairs, and the estimates are scaled so they add up to the goals really reached. These numbers say "about".
- Okidoki AI reads the picture and gives one suggestion, without claiming a cause.

In the API: `GET /sites/:site/attribution` and `GET /sites/:site/goals/:goal/journey`. In MCP: `get_attribution` and `get_goal_journey`. Funnels are the report `funnels` and paths the report `paths`, see the [API reference](https://docs.okidoki.sh/api/reference#reports).

