DocsAnalytics
Funnels
Define the steps that lead to a conversion so you can measure them and use them as the goal of an experiment.
A funnel is the path you want a visitor to take, written down as steps. Once it is saved, conversion means the same thing in every report and every experiment, and you can see exactly where people drop out.
You do not build it in a settings screen. You describe the steps to your agent and it checks each one against real traffic before saving.
See it in action
Ask your agent this.
Create a funnel called Demo requests. Step one is a visit to /pricing, step two is a click on Book a demo, step three is a booked meeting. Then chart how many visitors reached each step in the last 30 days.
It answers with something like this.
The Demo requests funnel is saved. All three steps matched real visits, so it measures what you meant.
The big drop is between viewing pricing and clicking Book a demo.
Create a funnel called Demo requests. Step one is a visit to /pricing, step two is a click on Book a demo, step three is a booked meeting. Then chart how many visitors reached each step in the last 30 days.
Read the analytics tablesget_analytics_schema
Saved the funnelcreate_funnel
Queried your analyticsquery_analytics
The Demo requests funnel is saved. All three steps matched real visits, so it measures what you meant.
The big drop is between viewing pricing and clicking Book a demo.
What happens
- Your agent creates the funnel and test-runs each step against the last 7 days of traffic.
- It warns you if a step matched nothing, which usually means a page path or button label is wrong.
- The funnel is saved for reports and experiments.
What to check
- Every step has visitors in the test run.
- The steps are in the order people really take them.
What a step can be
A step is one condition on one thing a visitor did.
| Step | Example |
|---|---|
| A page view | Visited /pricing |
| A click | Clicked a button that says Book a demo, or a link to your signup page |
| A scroll | Reached 75 percent of the page |
| A booking | Booked a meeting through the scheduler on the page |
| An event from a connected tool | A signup event from PostHog or Google Analytics, when that tool is connected |
To count a form, send people to a thank-you page after they submit and use the visit to that page as the step.
Good to know
Why bother
A saved funnel means conversion has one definition. Reports and experiments use the same steps every time, so two people never argue from two different numbers.
Use it in an experiment
Pick a funnel as the goal when you run an A/B test. Results are measured against it, and you can measure the same test against another funnel later.
Change or remove one
Ask your agent to update a funnel. It keeps its name, so experiments that use it carry on. A funnel is deleted only when you ask.
Common questions
What is a funnel?
The steps you want a visitor to take, saved once so conversion means the same thing in every report and every experiment.
What can a step be?
A page view, a click, a scroll depth or a booking on your website, or an event from PostHog or Google Analytics.
How do I know a step is right?
Your agent test-runs each step against the last 7 days of traffic and warns you if one matched nothing.
Example prompts
Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.
The request from the example
Create a funnel called Demo requests. Step one is a visit to /pricing, step two is a click on Book a demo, step three is a booked meeting. Then chart how many visitors reached each step in the last 30 days.
Each step is one thing Sherpa records, a page view, a click or a booking. Naming the funnel gives every later report and experiment the same definition.
The drop-off finder
Where do most people drop out of the Demo requests funnel? Compare phones with desktop.
Splitting by device often shows the drop is a layout problem, not a message problem.
The funnel report
List my funnels and chart how each one converted this month against last month.
One request, every definition you have saved, all measured the same way.
The did-they-read-it step
Add a step to the Demo requests funnel for scrolling past 75 percent of /pricing.
Scroll depth can be a step, which tells you whether people who read the whole page convert better.
For agents
Sherpa MCP tools for this job, in the order they are usually called. create_funnel, update_funnel, list_funnels, get_funnel, delete_funnel. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the MCP reference.