Mappings is available for Contentsquare Enterprise plans
A condition is composed of:
- a condition type (path, host, query)
- an operator (starts with, contains, etc.)
- a value.
How to add a condition
1. Choose a condition type | 2. Choose an operator | 3. Write down your value |
|
|
|
Creating a batch of conditions
There are two options to add condition within the same batch:
AND | OR |
Pages must satisfy condition 1 AND condition 2 | Pages must satisfy either condition 1 OR condition 2 |
In the example above, we are creating a page group with URLs that have a path starting with "/product" or "/category".
Adding more batches of conditions
You can also add more batches of conditions within the same page group in a mapping.
Create several batches of conditions with different rules thanks to AND / OR options between batches:
Recap: AND / OR between conditions and batches of conditions within the page group.
Example:
- Domain is exactly “www.mydomain.com”
- URL path contains “path”
- URL parameters start with “utm_source=google”
This search will yield the following result:
and also
and
However, the following pages will not be included in the results:
- www.mydomain.com/path1?utm_medium=search&utm_source=google because the character string “utm_source=google” is not located at the start of the URL parameters
- subdomain.mydomain.com/path1?utm_medium=search&utm_source=google because the domain is not exactly equal to “www.mydomain.com” but also contains “subdomain”
What are condition creation limitations?
Conditions & characters | Supported number |
Conditions per page |
Up to 100 |
Characters in text fields | Up to 255 |
"Contains" condition |
Up to 50 per page |
Maximum number of |
32 |