Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.6 Update released for Drupal core (2.1.6)! Release: Webform 6.3.1 Minor update available for module webform (6.3.1). Release: Webform 6.2.12 Minor update available for module webform (6.2.12). Release: Entity Usage 5.0.1 Minor update available for module entity_usage (5.0.1). Release: Editoria11y Accessibility Checker 3.0.9 Minor update available for module editoria11y (3.0.9). Release: Editoria11y Accessibility Checker 2.2.23 Minor update available for module editoria11y (2.2.23). Release: Project Browser 2.0.3 Minor update available for module project_browser (2.0.3). Release: Project Browser 2.1.5 Minor update available for module project_browser (2.1.5). Module Revived: Focal Point 2.1.3 Module focal_point updated after 22 months of inactivity (2.1.3). Usage Milestone: Drupal Mega Menu Module we_megamenu crossed 1,000 active installs.

Smart Content

Security covered Drupal 9–11
View on drupal.org

Smart Content is a toolset to enable real-time, anonymous website personalization on any Drupal 8 website. Out of the box, it allows site administrators to display different content for anonymous or authenticated users based on browser conditions.

The Smart Content module provides limited functionality on its own. Instead, it is designed to work in conjunction with other modules to bring the full power of personalization to life:

  • Smart Content Blocks (included) allows you to insert a Smart Block on any page in order to hide/show/swap content within that block, based on conditions. They can be added anywhere you can normally place blocks, and multiple Smart Blocks can be placed on a single page.
  • Smart Content Browser (included) enables browser-based conditions admins can use to evaluate whether to display personalized content. This includes conditions like language, mobile, cookies, local storage and quite a few others.
  • Smart Content Datalayer collects data from Smart Content displayed on a page and provides it to analytics platforms like Google Tag Manager via the dataLayer object.
  • Smart Content A/B provides an A/B testing layer on top of Smart Content segments. You can use this directly for A vs B vs C tests, or intermix A/B conditions with more advanced personalization rules.
  • Smart Content UTM provides conditions for handling UTM strings. UTM values are automatically cookied and made available as conditions to use in segments.
  • Smart Content Demandbase is a connector module that allows data available through Demandbase’s API to be used as conditions. Note: this module requires an active Demandbase subscription.
  • Smart Content 6sense is a connector module that allows data available through 6sense's API to be used as conditions. Note: this module requires an active 6sense subscription.

Sample use cases include:

  • Show return visitors to your Drupal site personalized content.
  • Display content relevant only to mobile users when your Drupal site is accessed with a mobile device.

Conditions, Segment Sets and Reactions

Smart Content uses conditions, within Segments, to determine whether or not to display the reaction(s) defined within a Decision Block. A Condition is a single case that can be tested and determined to be either true or false, multiple conditions can be included in a Segment and a Segment Set is one or more Segments grouped together. For more in-depth information around these, and other, terms take a look at the glossary in our documentation guides.

Security

Smart Content is NOT intended to be used as a substitute for serverside access control. Conditions are evaluated clientside and can be viewed, changed or manipulated by someone with the right knowledge and skillset. This module is primarily focused on improving user experience and providing additional contextual conditions for displaying content, not restricting access through secure means or evaluating conditions that contain personally identifiable information.

Layout Builder Integration
Smart Content 3.x.x works with Layout Builder out of the box. Smart Blocks have been reworked and are now Decision Blocks, which can be placed using Layout Builder. Please report any issues in the issue queue.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
7 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
3.2.1 Stable 9–11 Sep 23, 2026