The Personalization Rule module allows website administrators to create personalized content experiences without coding. It provides a visual interface to build rules that display or modify content based on user behavior, location, or other conditions.
Personalization Rule is a Drupal module that provides a no-code rule builder for dynamic content personalization and targeting.
Site administrators can create personalization rules using a visual UI by combining conditions and actions without writing custom code.
The module is designed to provide a flexible personalization framework for Drupal sites and can be extended through plugin-based conditions and actions.
Features
Rule Management
- Create, edit, enable, disable, and delete personalization rules
- Rules stored as Drupal configuration entities
- Administrative rule listing interface
Visual Rule Builder
- No-code visual rule builder UI
- Nested condition groups
- AND / OR / NOT logic support
- Inline condition editing
- Live rule preview
- Drag-and-drop style condition management
Supported Conditions
- User Role
- User Login Status
- Path
- Query String
- Referrer
- Device Type
- Country
- Source
- Time
- Visited Path
Supported Actions
- Show block
- Hide block
- Replace block
- Inject HTML snippet
Administrative UI
- General settings tab
- Builder tab
- Actions tab
- Settings tab
- Rule debug and preview panel
Use Cases
- Show promotional banners on specific pages
- Display personalized content for authenticated users
- Hide blocks for anonymous users
- Replace blocks for mobile visitors
- Inject campaign-specific HTML snippets
- Target users based on referral source or query parameters
Planned Features
- Layout Builder integration
- Audience/segment support
- A/B testing support
- Analytics integration
- Additional condition and action plugins
- Advanced cache optimization
Ask your assistant about Personalization Rule
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- block Drupal core
- path_alias Drupal core
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.