Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module ensures GDPR compliance by preventing embedded iframes from loading until the user has given explicit consent. It displays a customizable placeholder until consent is granted, aligning with existing consent banner configurations.

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
1 year ago
Releases (12 mo)
0 ▼ from 7
Maintenance
Dormant

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