Path filters operators
The following are the path filters:
- Entry URL
- Exit URL
- Visited URL
- Referring site
URL components
The URL components help you to better understand the functionality of the path filters operators.
Here are the URL components:
- Protocol: This identifies the protocol to access the page or website, which can be
httporhttps. - Domain: This identifies the website.
- Path: This identifies the specific resource within the website.
- Query parameters: This includes query string and fragments.
Note
The following characters are only supported: a-z, A-Z,0-9, -, ., _, /, and ~. Any other characters need to be percent-encoded.
Regular path filters
In regular filters, the path is matched by finding all URLs that contain the text entered.
Note
This rule is case sensitive.
Example 1:
For the input 'pages', the results that match all the URLs with the input text are displayed.
| URL | Does this path match with example URL? |
|---|---|
| http://www.contoso.com/pages/ | Yes |
| http://www.contoso.com/pages/subpage | Yes |
| http://www.contoso.com/pages/?id=1 | Yes |
| http://www.contoso.com/pages/?id=1&id=2 | Yes |
| http://www.contoso.com/PAGES | No |
| https://www.contoso.com/pages/ | Yes |
| http://contoso.com/pages | Yes |
| https://contoso.com/pages/ | Yes |
Example 2:
For the input http://www.contoso.com/pages/?id=1, the results that match all the URLs with the input are displayed.
| URL | Does this path match with example URL? |
|---|---|
| http://www.contoso.com/pages/ | No |
| http://www.contoso.com/pages/subpage | No |
| http://www.contoso.com/pages/?id=1 | Yes |
| http://www.contoso.com/pages/?id=1&id=2 | Yes |
| http://www.contoso.com/pages/?id=1#article | Yes |
Advanced path filters
Advanced path filters support the following operators:
Is: Filter recordings by exactly matching the URL specified.Is not: Filter recordings without the specified URL.Includes: Filter recordings that contain the specified URL.Excludes: Filter recordings that don't contain the specified URL.
Is operator
This is an exact match type that is used to target a page on your website, ignoring any query parameters that might get added.
You can choose to include query parameters by checking include query parameters.
Example 1:
For the input https://www.contoso.com/pages/, the following results will be matched and unmatched:
| URL | Does this path match with example URL and with ignore query params? |
Does this path match with example URL and with accept query params? |
|---|---|---|
| https://www.contoso.com/pages/ | Yes | Yes |
| https://www.contoso.com/pages/subpage | No | No |
| https://www.contoso.com/pages/?id=1 | Yes | No |
| https://www.contoso.com/pages/?id=1&id=2 | Yes | No |
| https://www.contoso.com/pages/?id=1#article | Yes | No |
| https://www.contoso.com/PAGES | No | No |
| http://www.contoso.com/pages/ | No | No |
| https://contoso.com/pages | No | No |
| http://contoso.com/pages/ | No | No |
Example 2:
For the input https://www.contoso.com/pages/?id=1, the following results will be matched and unmatched:
| URL | Does this path match with the example URL and with ignore query params? |
Does this path match with the example URL and with accept query params? |
|---|---|---|
| https://www.contoso.com/pages/ | No | No |
| https://www.contoso.com/pages/subpage | No | No |
| https://www.contoso.com/pages/?id=1 | No | Yes |
| https://www.contoso.com/pages/?id=1&id=2 | No | No |
| https://www.contoso.com/pages/?id=1#article | No | No |
| https://www.contoso.com/PAGES | No | No |
| http://www.contoso.com/pages/ | No | No |
| https://contoso.com/pages | No | No |
| http://contoso.com/pages/ | No | No |
Is not operator
This is the exact opposite of the Is operator.
Example:
For the input https://www.contoso.com/pages/?id=1, the results with the example URL will be displayed ignoring id=1. So, the following URLS will be ignored:
However, if you check to include query params then the URL https://www.contoso.com/pages/?id=1 will be displayed.
Includes operator
This matches all the URLs that are used to target a page on your website, ignoring any query parameters that might get added.
You can choose to include query parameters by checking the box include query parameters.
Example 1:
For the input https://www.contoso.com/pages/, the following results will be matched and unmatched:
| URL | Does this path match with example URL and with ignore query params? |
Does this path match with example URL and with accept query params? |
|---|---|---|
| https://www.contoso.com/pages/ | Yes | Yes |
| https://www.contoso.com/pages/subpage | Yes | Yes |
| https://www.contoso.com/pages/?id=1 | Yes | Yes |
| https://www.contoso.com/pages/?id=1&id=2 | Yes | Yes |
| https://www.contoso.com/pages/?id=1#article | Yes | Yes |
Example 2:
For the input https://www.contoso.com/pages/?id=1, the following results will be matched and unmatched:
| URL | Does this path match with example URL and with ignore query params? |
Does this path match with example URL and with accept query params? |
|---|---|---|
| https://www.contoso.com/pages/ | No | No |
| https://www.contoso.com/pages/subpage | No | No |
| https://www.contoso.com/pages/?id=1 | No | Yes |
| https://www.contoso.com/pages/?id=1&id=2 | No | Yes |
| https://www.contoso.com/pages/?id=1#article | No | Yes |
Excludes operator
This is the exact opposite of the Includes operator.
Example:
For the input https://www.contoso.com/pages/?id=1, the results with the example URL will be excluded. So, the following URLS won't be part of the search result:
However, if you check include query params then the URL https://www.contoso.com/pages/?id=1 will be displayed.