This guide offers a step-by-step method for managing page groups and resolving mapping page conflicts.
Understanding page creation limits
When you create page groups within a mapping, please keep in mind the following limitations:
- The maximum number of page groups you can have in a mapping is 300.
- Each page group can contain up to 100 conditions.
- Within a page group, you can use up to 50 conditions that include the 'contains' operator, or alternatively, up to 10 regexes.
- A page can only belong to one page group within any given mapping.
Resolving page conflicts
Page conflicts happen when a single page is assigned to many page groups. This can cause incorrect data in tools like Journey Analysis or Page Comparator. To resolve these conflicts, follow these steps:
1. Group pages according to their templates. For example, group all product pages or category pages together.
2. Ensure that a page is not included in more than one page group within the same mapping.
Handling page conflicts as they occur
To prevent conflicting grouping conditions, we’ve implemented a confirmation procedure when creating page groups. This means when a conflict occurs, you’ll be shown a message that some pages are already included in other page groups.
Clicking Exclude from all will move the conflicting page from its existing page group to the new one you’re creating. In a second step, you’ll be shown how many pages will be transferred from the existing page group to the new one you want to create.
As a result, the newly created page group will now include the page that was in conflict and the existing page group from which the page was transferred has an additional new condition ‘does not match exactly’ the page in question. This action adds to the limit of 100 conditions for each page group.
Optimizing conditions
Optimizing conditions is only available when you've reached the condition limit.
When you've reached the limit of 100 conditions in a page group, you'll see the message "The changes you are trying to save will result in reaching the permitted limit. Please try reduce the following page group complexity."
If you’ve reached the limit of 100 conditions per page group, it’s time to optimize. The conditions optimizer helps by reducing the number of complex conditions, such as unnecessary negative conditions that were added during conflict management.
Steps to optimize conditions
1. Click Analysis setup, then click the relevant Mapping Name.
2. Click the horizontal three-dot Actions menu, then select Info.
3. Click Optimise conditions, then confirm the optimization process.