Can I search for URLs using wildcards?

Yes! Use the “matches” URL operator to search against dynamic URL paths using a special syntax. Start your search using the event filter “Visited URL” and the operator “matches.”

Matches_Search_Operator.png

Then use the syntax below to structure the URL path for your search.

  • Use * (wildcard) to match any single token at a position.
  • Use ** to match all paths that start with a common prefix.
  • Use [] to match groups of tokens at particular positions.

Here are a few sample URL paths:

  • /product/*/reviews/*
  • /search/category/**
  • /category/[shoes, socks]

Your finished search will look something like this.

Wildcard_Search.png

When using the event filter "Visited URL" and operator "matches", you have to represent every token in the path in your search. For example if the full URL path is: 

/products/mens/sale/12345/details

and you're interested in searching for all sessions that include a visit to a product detail page from a sales category, you will need to structure your search as:

/*/*/sale/*/details or some other combination that includes each path token. 

Need to get in touch with us?

The FullStory Team awaits your every question.

Contact us