Drupal is a registered trademark of Dries Buytaert

iframe_consent

4 sites Security covered
View on drupal.org

The Iframe Consent module enables GDPR-compliant handling of embedded iframes by ensuring third-party content is only loaded after the user has given explicit consent.

Key Features

  • Consent-Based Iframe Loading: Prevents iframes from loading until the user has explicitly consented, based on the consent groups defined in your site's cookie banner.
  • GDPR Compliance: Ensures that third-party content (e.g., YouTube, Google Maps, social media embeds) is only displayed after the user accepts the appropriate consent category.
  • Global Domain Configuration: Allows administrators to configure iframe behavior globally, aligned with domain-level consent settings.
  • Multiple Consent Group Support: Enables assigning more than one consent group to a single iframe type for flexible configuration.
  • Customizable Placeholders: Displays a customizable message or design in place of blocked iframes to inform users that content requires consent.

Usage Considerations

This module is intended for use in cases where an external or third-party consent banner is used (such as OneTrust) or with Drupal modules like EU Cookie Compliance that do not block iframe content by default. The module does not provide its own cookie banner but integrates with existing consent mechanisms to determine whether iframe content should be loaded.

Compatibility

Integrations

Activity

Total releases
7
First release
Feb 2025
Latest release
10 months ago
Release cadence
8 days
Stability
14% stable

Release Timeline

Releases

Version Type Release date
1.0.0 Stable Apr 12, 2025
1.0.0-rc4 Pre-release Apr 8, 2025
1.0.0-rc3 Pre-release Apr 5, 2025
1.0.0-rc2 Pre-release Apr 3, 2025
1.0.0-rc1 Pre-release Apr 3, 2025
1.x-dev Dev Apr 3, 2025
1.0.x-dev Dev Feb 25, 2025