You can use a URL match in combination with a funnel to enable more specific and flexible URL matching. In this example we are going to explore how to match against the following two URLs specifically /cart/payment
and /checkout
First we are going to edit our URL match to the following /{+page}
.
While the URL match will correctly match /cart/payment
and /checkout
it will also match other unwanted URLs like /register
etc. To fix this we are going to add a funnel directly after the URL match to specify the values of {page}
that we accept.
/cart/payment
or /cart/payment/
the value of the page
variable will be cart/payment