Page types (Home, Category, Product, etc.) allow you to precisely target where your AI Shopping Assistant is displayed. iAdvize automatically detects the type of page visited, but you can also create manual rules to correct or supplement this detection.
This article explains how automatic detection works, how to configure your own rules, and how to use the troubleshooter to verify the result.
How automatic detection works
iAdvize automatically detects the type of each page visited on your site by analyzing your URLs: keywords, structure, etc.
Page types:
- Home page
- Product
- Category
- Search result
- Purchase funnel
- Other
How custom rules work
Custom rules supplement automatic detection if you wish to adapt and explicitly define your page types.
You define your own rules based on:
- The page URL
- Custom data
When multiple custom rules apply to the same page, iAdvize follows the following priority order:
- Rules based on custom data
- Rules based on the URL
- Automatic detection (if no rule matches)
Managing custom rules
Custom rules cannot be modified. To update a rule:
- Delete the existing rule by clicking on the delete icon
- Create a new rule with the corrected parameters
Accessing page type configuration
Go to Settings > Page types
Testing URL detection
The URL troubleshooter tells you which page type is assigned to the entered URL in order to perform checks.
- Enter the complete URL you wish to test (e.g.:
https://myshop.com/product-134) - Click on Check URL
The result displays:
- The detected page type (in the example:
Product) - The applied detection method (in the example:
Auto detected) - The corresponding custom rule (if applicable, example below)
Creating a custom rule
You can create one or more rules for each page type.
Rules for the same page type are linked by an "OR" condition : if at least one of the rules matches, the page type is applied.
Based on URL
- Click on the page type you wish to customize
- Click on Add a rule
- Choose URL as the criterion
- Define the condition:
- Contains: the URL contains a string
example:/product - Does Not Contain: the URL does not contain a string
example:/product - Starts with: the URL starts with a specific string
example:https://myshop.com/cat- - Is: the URL exactly matches a value
example:https://myshop.com/product-134 - Is not: the URL does not match a value
example:https://myshop.com/product-134 - Ends with: the URL ends with a specific string
example:.html - Regex: group multiple keywords in the same rule with the
|separator
example:(tee-shirt|polaire)URLs containing "tee-shirt" and "polaire" will be included - Not regex: exclude multiple keywords in the same rule with the
|separator
example:(tee-shirt|polaire)URLs containing "tee-shirt" and "polaire" will be excluded
- Contains: the URL contains a string
- Add the condition value
- Verify the page type that will be applied
- Click on Add
Based on Custom Data
- Click on the page type you wish to customize
- Click on Add a rule
- Choose the desired custom data from the dropdown list
- Define the condition:
- Contains: the data value contains a string
example:/product - Does Not Contain: the data value does not contain a string
example:/product - Starts with: the data value starts with a specific string
example:https://myshop.com/cat- - Is: the data value exactly matches a value
example:https://myshop.com/product-134 - Is not: the data value does not match a value
example:https://myshop.com/product-134 - Ends with: the data value ends with a specific string
example:.html - Regex: group multiple keywords in the same rule with the
|separator
example:(product|pdp)values containing "product" and "pdp" will be included - Not regex: exclude multiple keywords in the same rule with the
|separator
example:(product|pdp)values containing "product" and "pdp" will be excluded
- Contains: the data value contains a string
- Add the custom data value
- Verify the page type that will be applied
- Click on Add
Frequently asked questions
What happens if no rule matches with my URL?
If no custom rule (Custom Data or URL) matches, iAdvize uses automatic detection to classify the page.
Can I create multiple rules for the same page type?
Yes. Rules for the same page type are connected by an "OR" condition. If one of the rules matches, the page type is applied.
How long does it take for my rules to take effect?
Rules are applied immediately. You can verify their proper functioning with the URL Test tool.
Can I temporarily disable or modify a rule without deleting it?
No. To modify or disable a rule, you must delete it. You can recreate it later if necessary.