Skip links
View Categories

Funnel URL matching rules

1 min read

Each funnel step matches pages with a rule. Pick the narrowest rule that still catches every page of the step.

RuleMatches whenExample
Any Page / Any Page ViewAny tracked pageFirst step “Visited the site”
Exact URLThe URL is exactly this/checkout/
URL ContainsThe URL contains the text/product/ for all products
URL Starts WithThe path starts with the text/blog/
URL Ends WithThe path ends with the text/thank-you/
RegexThe URL matches a regular expression/(cart|panier)/

Tips #

  • Multilingual site? Use Regex for translated slugs: /(checkout|commander|kasse)/. Suggested funnels read the real slugs from WooCommerce or your LMS.
  • WooCommerce order confirmation: URL Contains order-received (the URL carries an order number).
  • Avoid a rule so broad that it also matches the next step.

Regex quick reference #

PatternMatches
^/product/URLs starting with /product/
/(cart|basket)//cart/ or /basket/
order-received/[0-9]+Order confirmation with a number

Expected result #

Each step counts exactly the pages you meant.

FAQ #

Are query strings matched? #

Use URL Contains or Regex to match a parameter such as ?step=2.

Do two funnels with the same rules count twice? #

Each funnel counts separately; the list warns when two funnels track the same steps.

Leave a comment

Explore
Drag