Funnels

Follow visitors through the steps to a sign-up or a sale and see where they drop off.

A Funnel is a list of steps, pages or Events, that you expect people to take in order, such as landing page, pricing, sign-up and payment. It shows how many people reached each step and how many dropped off between two steps, so you know which page to fix first.

Plan the Funnel first

Write the journey down before you open the builder:

  1. Pick the outcome you care about, usually a sign-up, a purchase or a lead. That is the last step.
  2. Walk the journey yourself and note each page's path in the address bar. Leave out the domain, the query string and the # part: only the path is recorded, so /?ref=x is recorded as /.
  3. Find the steps a path cannot show. A modal, a form that stays on the same page, or a checkout on another domain (Stripe, Polar, Lemon Squeezy) has no page of its own. Send an Event for it with sd("Name").
  4. Choose the window: how long one person has, from the first step, to reach the last.

Create it

Open a Site, choose Funnels in the sidebar and click New funnel.

FieldWhat to enter
NameWhat the Funnel measures, such as Pricing to paid.
Windowwithin 1 hour, 24 hours, 7 days or 30 days, counted from the first step.
Step typePageview for a page, Event for an action sent with sd() or data-sd-event.
Pattern or Event nameA path for a Pageview, such as /pricing. The exact name for an Event, such as Sign up.
LabelOptional. A short name shown in the report instead of the pattern, such as Created site.

Click Add step for each further step, up to 8, and reorder them with the arrows. Once two steps are filled in, Preview over the current range shows the results with the data you already have, so you can check that each step finds people before you click Create funnel.

A Site can have up to 20 Funnels. They show on the Funnels page and on the dashboard's Funnels card, and Share links show them too.

Page patterns

A pattern starts with / and must match the whole path. * matches any characters, slashes included.

PatternMatchesDoes not match
/pricing/pricing/pricing/teams
/blog/*/blog/my-post, /blog/2026/news/blog
/products/*/checkout/products/shoes/checkout/products/shoes
/app/*/billing/app/acme/billing/app/acme/settings
*every page

Single-page apps (Nuxt, Next.js, Vue, React) work too: the snippet records each route change as a Pageview.

Event steps

An Event step matches the Event's name exactly, capitals included. Send the Event at the moment the step happens:

// After the sign-up request succeeds, not when the button is clicked
sd("Sign up", { method: "email" });

// Just before redirecting to an external checkout
sd("Checkout started", { plan: "pro-monthly" });

// On the page your checkout returns to after a successful payment
sd("Subscribed");

The Events you have received are listed on the dashboard's Events card. Copy names from there to avoid typos. Events captured automatically, such as Form submit, can be steps too.

How people are counted

  • A person enters the Funnel when they view the first step during the selected date range, and counts for each later step they reach in order before the window ends. Other pages and Events in between don't matter.
  • Steps must happen in order. Someone who signs up and only then views your pricing page does not count for pricing.
  • Filters on the dashboard narrow who can enter, for example only visitors from Google or from one country.
  • Visitor ids change every day (Privacy model), so without more a person can only be followed within one day. For 7- and 30-day windows, call sd.identify() once people sign in, which links their days together.

Example: a SaaS from visit to payment

This is how we track our own site. The landing page and pricing have their own paths, but the sign-up form opens in a modal and the checkout happens on Polar, so those steps are Events.

Visitor to paying customer, within 30 days:

#TypeValueLabel
1Pageview/Landing page
2EventSign upSigned up
3Pageview/app/*/sites/*/settingsCreated a site
4Pageview/app/*/billingOpened billing
5EventCheckout startedStarted checkout
6EventSubscribedPaid

A big drop between steps 3 and 4 says people never come back after installing, so the next thing to work on is the onboarding emails, not the pricing page.

We pair it with shorter Funnels that answer one question each:

FunnelWindowSteps
Landing page to sign-up1 hour/ → /pricing → Event Sign up
Pricing to paid7 days/pricing → Event Sign up → Event Subscribed
Blog to sign-up24 hours/blog/* → /pricing → Event Sign up
Docs to sign-up7 days/docs/* → Event Sign up
Trial to paid30 daysEvent Sign up → /app/*/billing → Event Subscribed

More recipes

Online store, within 24 hours: /products/* → Event Add to cart → /cart → /checkout → /checkout/thank-you

Lead generation, within 24 hours: / → /services/* → /contact → Event Form submit

Newsletter from content, within 1 hour: /blog/* → Event Newsletter signup

Booking a demo, within 7 days: /pricing → /demo → Event Demo booked

Tips

  • Start with two or three steps. Add the steps in between once you know where most people leave.
  • Make the outcome a Goal too. A Goal gives a conversion rate on the dashboard, and the Goal filter shows which Sources and pages bring conversions.
  • Keep each Funnel to one question. "Does the blog bring sign-ups?" and "Does pricing turn sign-ups into payments?" read better as two Funnels than as one long one.
  • A step that shows zero usually has a typo, a pattern that doesn't match the whole path, or an Event that is not being sent yet. Check the Pages table and the Events card for the exact path or name.
  • Compare ranges. Change the date range after you change a page to see whether the drop-off improved.