Query string

You can use a URL match in combination with a funnel to match URLs which contain query string params. In this example we are going to explore how to match against the following URL:

1. Define a URL match

First we are going to match the path portion of the URL with the following URL match: /product.

See the URL match docs for more information.

2. Add a funnel

While the URL match will correctly match /product?category=parachutes it will also match other unwanted URLs like no query string params /product or the wrong query string params /product?category=bananas etc. To fix this we are going to add a funnel directly after the URL match to restrict the query string params that we accept.

Param Key = category
Param Value = parachutes

If you have multiple query string params that you want to match against you can add another by clicking the + ADD button.