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:
/product?category=parachutes
1. Define a URL match
Section titled “1. Define a URL match”First we are going to match the path portion of the URL with the following URL match: /product.
2. Add a funnel
Section titled “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