The page selector allows you to select the page or page groups you want to analyze. You can use the page selector across Contentsquare's capabilities including: Analysis Context, Zoning Analysis, Dashboards, Alerts, Impact, and Session Replay. The Page Selector comprises of two main tabs: Existing page groups and Choose pages
Choose pages
With ‘Choose pages’ you can analyse a single page (URL) or multiple pages and add different conditions, without needing an existing mapping.
Criteria
When setting up URL-based criteria, you can define both the specific part of the URL to target (such as the full URL, path, or query) and the matching criteria (like exact match, contains, or regex). The criteria allow for flexible and precise filtering, helping you analyze the right set of pages based on your needs.
Criteria for different parts of the URL
| Option | Extracted part from the URL | Description |
|---|---|---|
| Full URL | https://blog.example.com/shop/products?id=123&utm_source=google&user_type=premium | The entire URL, including host, path, and query parameters. |
| Path | /shop/products | Represents a specific page or section of the website. |
| Host | blog.example.com | The subdomain + domain, identifying the specific service or section of the website |
| Query | ?id=123&utm_source=google&user_type=premium | Contains key-value parameters. |
| Custom variable | user_type=premium | A user-defined parameter that can store specific data (e.g., user type, session ID, experiment group, etc.) |
Matching criteria
| Option | Description |
|---|---|
| Matches exactly | The full URL, including query parameters, must match exactly. |
| Is | Matches the full URL but ignores query parameters. |
| Contains | Matches any URL that includes the specified text anywhere within it. |
| Starts with | Matches any URL that begins with the specified text. |
| Ends with | Matches any URL that ends with the specified text. |
| Regex | Allows flexibility using regular expressions. It lets you create rules with more complex conditions. |
Understanding the difference between the "Is" vs "Contains matching conditions
The "Is" condition can be used for exactly matching a URL, excluding the query parameters. Use this condition when you want to target a specific page but need to ignore any variations resulting from query parameters.
For example:
- Condition: URL "Is" https://www.example.com/products
- Matching URLs
- https://www.example.com/products
- https://www.example.com/products?category=shoes (the query parameter is ignored in the match)
- Non-matching URLs
https://www.example.com/about
The "Contains" condition can be used to match any URL that includes a specified string anywhere within it. This is useful for capturing a broader range of pages that share a common string in their URL.
For example:
- Condition: URL "Contains" /products
- Matching URLs
- Non-matching URLs
https://www.example.com/about (does not contain "/products")
Using AND/OR operators
You can now use AND/OR operators when defining criteria for Pages allowing for more precise filtering and customization.
AND Operator: Ensures that all specified conditions must be met for a page to be included in the group.
OR Operator: Allows pages to be included if they meet at least one of the specified conditions.
Suggestions panel
The suggestion panel is displayed when you set up the conditions and click on the URL field. The suggestions are based on the conditions you selected and take into account your last usage and/or traffic depending on which conditions you selected.
The suggestions are only available with the operators IS / IS NOT and MATCH EXACTLY / DOES NOT MATCH EXACTLY
Key metrics are displayed, including number of views from the last 3 days and URLs in the page group group. Hover over the metrics to view the URL breakdown.
Note
You can add up to 12 criteria to see aggregated data on a group of URLs corresponding to the selected criteria
Existing page groups
Under ‘Existing page groups’, you can search for a created page group or filter your search based on specific Mappings, making it easier to find relevant data. Filtering options include:
- Favorite Mappings – Quickly access frequently used mappings.
- Own Mappings – View only the mappings you have created.
- Reference Mapping – Filter by predefined reference mappings.
- Specific Mappings – Search for a particular mapping as needed
When you select a filter, the page groups from the selected mapping are displayed.
Note
Filters remain applied when switching between capabilities.
Hover over the relevant page group to view additional information from that page group.
Click 'View page group' to open a mapping side sheet directly within your current analysis, where you can:
- View the pages and conditions included in the page group
- Edit the page group's pages and conditions
- Delete the page group
Any changes are saved and applied immediately, without leaving your current analysis.
Learn more about how to create and edit mappings.
Note: The 'View page group' option is available for web only and requires your project to have accepted the Contentsquare AI terms and conditions.