When tracking with a wildcard or regular expression, a valid URL that uses the page layout you'd like to track is required. The URL is used to capture a screenshot and aggregate results from pages that match the wildcard or regular expression pattern to the screenshot.
Setting up a Snapshot to track by wildcard or regular expression is simple.
- Add a new Snapshot for the page that uses the layout you'd like to track.
- Select Use a Wildcard/Regular Expression under Show More Settings Options.
- On the Settings page, enter a wildcard or regular expression pattern that matches the URLs you'd like to track.
Let’s use a product details page as an example. A wildcard pattern allows you to replace parts of the URL that change based on product with an asterisk.
Product Detail Page: http://www.example.com/products/some-product
Wildcard Pattern: http://www.example.com/products/*