Display Rules
This feature only works in combination with a JWT Public Access Control.
A JWT authentication will have to be configured so the conditions defined in the Display Rules are validated or invalidated.
The Display Rules feature allows you to display specific content blocks based on predefined conditions. This feature provides flexibility in content delivery, ensuring that users see content tailored to their needs and behaviors.
Go to the Dynamic Components tab in the platform's bottom left corner.
Select Display Rules
Create a New Rule Set:
- Click on + Create New Rule Set to define conditions for displaying content.
- Specify your conditions using AND/OR logic to determine when content should be shown. These conditions can be based on various parameters such as user behavior, profile attributes, or other criteria relevant to your platform.
Edit Your Content Block In the editor, locate the block you want to transform into a display content block.
Access the block menu Hover on the block to reveal the block menu, which is represented by six dots (⋮⋮ block menu icon).
Press the Display Rules button
Choose the rule set you previously created from the Dynamic Components.
Once these steps are completed, the selected content block will be transformed into a conditional content block, displaying only when the specified conditions are met.
Imagine you want to display a special promotion only to users who have previously purchased from your store and are visiting during a holiday season.
You would:
Navigate to the Dynamic Components tab and create a new rule set with conditions based on purchase history and the current date.
Apply this rule set to the promotional content block in the editor.
Users meeting these conditions will now see the special promotion block during their visit.
The JWT token plays a crucial role in this feature by:
- Keeping encoded conditions in the URL used for connection.
- Ensuring that dynamic content can be securely tailored based on the information contained within the token.
When a user accesses the platform, their JWT token is decoded to retrieve the conditions. These conditions are then matched against the predefined rule sets, determining which content blocks should be displayed