Skip links
View Categories

The 6 URL matching rules explained

< 1 min read

Each funnel step matches sessions by a URL rule. Opti-Behavior offers six. This article explains each with examples.

The six rules #

Rule Matches when Examples
Any Page View Any tracked page (a wildcard step). Any URL; use for “visited the site”.
Exact URL The URL matches exactly. /checkout/ ; /thank-you/
URL Contains The URL contains the text. product ; cart
URL Starts With The path begins with the text. /shop/ ; /blog/
URL Ends With The path ends with the text. /checkout/ ; .html
Regex The URL matches the regular expression. ^/product/[0-9]+ ; /(cart|checkout)/
A funnel step row showing the match-type selector set to URL Contains with the pattern field below it

Expected result #

Choosing the right rule ensures each step counts the intended sessions.

FAQ #

Which rule should I use for a single page? #

Use Exact URL for one specific page, or URL Contains for a group.

Related articles #

Leave a comment

Explore
Drag