🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Diáfana – Cookie Consent Banner (GDPR / RGPD) icon
Actively maintained Tested with WP 7.1 #75 in cookie banner

Diáfana – Cookie Consent Banner (GDPR / RGPD)

Lightweight cookie consent banner for GDPR / RGPD with cookie scanner, script blocking, proof of consent and editable multilingual texts.

Active installs10+10+ tier
Downloads · 30d273• 0% vs prev. 30d
Rating—0 reviews
Health score66/100Good
All-time downloads269Since Nov 2026
Support resolved—No recent threads
RequiresWP 6.9PHP 7.4+
Downloads · 7d78▼ -68.4% week over week
Our verdict

Solid choice

Diáfana is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

  • Actively developed — last update 1 week ago
  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

214365Nov 22Nov 27Dec 2
Yesterday8
Daily average (1y)25
Peak day87Nov 23, 2026
Last 12 months273

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Diáfana stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cookie banner >100 1,628 Best cookie banner plugins →
cookie consent >100 1,860 Best cookie consent plugins →
cookies >100 4,983 Best cookies plugins →
GDPR >100 4,271 Best GDPR plugins →
rgpd #21 73 Best rgpd plugins →

Version adoption

Share of active sites per release.

  • 1.1100.0%

About Diáfana

From the official readme · v1.1.9

Description

Diáfana shows an opt-in consent banner (every optional category is off by default), blocks recognised or manually classified resources according to their consent category, and lets you style every detail with a real-size live preview.

  • Cookie scanner: detects cookies and third-party services (analytics, pixels, fonts, embeds).
  • Per-cookie control: allow (follows its category) or block always, without breaking the script that uses it.
  • Blocking for recognised/classified scripts, iframes and fonts; browser and server guards for registered cookies.
  • Google Consent Mode v2 and WP Consent API.
  • Polylang, WPML, TranslatePress, Weglot and Google Translate widgets. Loco Translate ready (.pot included).
  • Translation-ready through WordPress.org language packs. Banner texts can be customised per language; English is the fallback when a translation is unavailable.
  • Optional proof-of-consent log without IP addresses, CSV export.
  • Under 6 KB of deferred banner JavaScript (gzip), a separate cacheable stylesheet, no JavaScript dependencies and no layout shift.

Shortcodes: [diafana_cookies] (cookie table) and [diafana_settings] (reopen preferences).

JavaScript API: Diafana.open(), Diafana.get(), Diafana.accept(), Diafana.reject() and the diafana:consent document event.

Manual blocking of any script: <script type="text/plain" data-diafana="a"> (p = preferences, a = analytics, m = marketing).

This plugin helps you comply with privacy laws but does not constitute legal advice.

External services

Diáfana loads its own JavaScript and CSS from your WordPress site and sends its REST requests to that site. It has no vendor account, remote cookie database, telemetry or connection to Studio Tere.

The URLs and domains in includes/data-known.php (Google Analytics/Tag Manager/Maps/Fonts, Meta, Stripe and others) are local detection patterns. The plugin does not fetch those URLs, install their tags or transmit visitor data to every listed provider.

When an administrator starts a scan, the server fetches selected pages of the configured site (safe HTTP requests may follow redirects). The admin browser also opens site pages in scan iframes with consent blocking bypassed for that authorised scan. Existing third-party tags on those pages can consequently make their normal provider requests and set cookies. Cookie names and detected service IDs are submitted to the same-site scanner REST endpoint; resource URLs are examined in the admin browser. Review the existing providers before scanning.

Optional Google Consent Mode v2 integration: when enabled in settings, Diáfana queues consent defaults and updates locally through window.gtag/dataLayer, or through the optional GTM consent bridge. It does not load Google tags or make a Google network request itself. If you separately install Google tags, those tags can send consent signals, identifiers and measurement data to Google according to their configuration; some configurations send cookieless pings while consent is denied. Consent Mode alone is not a guarantee of zero pre-consent requests.

Google terms: https://marketingplatform.google.com/about/analytics/terms/us/
Google privacy: https://policies.google.com/privacy
Google Tag Manager terms: https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/
Google Consent Mode documentation: https://developers.google.com/tag-platform/security/concepts/consent-mode

Privacy

The plugin stores one first-party cookie, diafana_consent, with the visitor’s choices and a random consent ID. When the consent log is enabled, the same ID, the choices, the date, the language and the page path are stored in the site database. No IP address is stored in the consent log and nothing is sent to the plugin author. A random consent ID and page path can still be personal data in context. Hosting access logs and separately installed providers are outside the plugin’s consent log.

Installation

  1. Upload the plugin from Plugins → Add New → Upload Plugin, or install it from the directory, and activate it.
  2. Open Diáfana in the admin menu and run “Scan site” in the Cookies tab.
  3. Review the detected cookies and services and choose what is blocked until consent.
  4. Style the banner in the Appearance tab using the live preview, and adjust the texts if needed.
  5. Link your legal pages in the Legal tab and save.

Changelog

1.1.9

  • Blocks classified Elementor widgets and classic-theme content before lazy loading, including Google Maps embeds handled by LiteSpeed Cache.
  • Preserves the consent notice and original map URL without relying on Core template buffering. Existing consent categories and editor/scan exclusions are unchanged.

1.1.8

  • Shows the configured blocked-content notice over WP Grid Builder Google Maps facets instead of a permanent loading spinner. The notice opens consent preferences and disappears when the map category is accepted.
  • Supports initial and AJAX-rendered map facets without changing Leaflet or Mapbox maps.

1.1.7

  • Blocks scripts and iframes that other scripts create at run time through document.createElement until their category is accepted, then loads them with their original callbacks.
  • Preserves dynamic script types, loader callbacks and ordered script execution when consent is granted.
  • The scanner scrolls each page and waits until no new resources load, so lazy maps, embeds and widgets are detected.
  • The scanner no longer reads Diáfana’s own blocking list as detected services.

1.1.6

  • Requires WordPress 6.9 or later.
  • Enqueues front-end CSS/JavaScript with WordPress APIs; the stylesheet is cacheable.
  • Replaces the private output buffer and regex rewriting with the native template filter and HTML API.
  • Clarifies classified/unknown resources, scanner behaviour and external integrations.
  • Uses WordPress.org language packs instead of bundled translation files; custom texts are retained.

1.1.5

  • Scanner bypass requires administrator permissions and a valid nonce.
  • Existing denied cookies are cleaned on load and along current path prefixes.
  • Restored choices synchronise Google Consent Mode and the WP Consent API.
  • Evidence references the banner actually displayed, including cached pages.
  • Consent logging has a fetch fallback and stricter input validation.
  • LiteSpeed and WP Rocket page caches are invalidated on configuration changes.
  • Development GTM template uses the native consent APIs. See integrations/gtm/README.md.
  • Google/IAB certification has not been obtained. TCF is not implemented.

1.1.4

  • Database table names are passed as prepared identifiers (requires WordPress 6.2).
  • Bundled translations are loaded explicitly instead of through load_plugin_textdomain().

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Diáfana alternatives

All cookie banner plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Complianz GDPR/CCPA Cookie Consent Banner Complianz GDPR/CCPA Cookie Consent Banner Publish your cookie banner or notice in minutes. Automatically scan cookies, and create… by Complianz 1M+ ★★★★★★★★★★ 4.7 (1.7K) 7 days ago 91
2 CookieYes – Cookie Banner, Cookie Consent & Cookie Notice for GDPR/CCPA CookieYes Cookie banner, cookie consent and cookie notice for GDPR, CCPA and DSGVO, with cookie… by CookieYes 1M+ ★★★★★★★★★★ 4.8 (3.2K) 1 week ago 91
3 GDPR Cookie Compliance – Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law GDPR Cookie Compliance Cookie notice banner for GDPR, CCPA, EU cookie law, data protection and privacy regulations… by Moove Agency 300K+ ★★★★★★★★★★ 4.6 (206) 1 week ago 92
4 WPConsent – Cookie Banner & Cookie Consent for Privacy Compliance (GDPR / CCPA / EU Compliance Cookie Notice) WPConsent Cookie consent banner with cookie scanner & script blocking. Manage cookie consent, cookie… by Syed Balkhi 200K+ ★★★★★★★★★★ 4.9 (90) 3 weeks ago 89
5 iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more iubenda The solution for GDPR compliance + more. Get your cookie banner, privacy policy, terms and… by iubenda 200K+ ★★★★★★★★★★ 4.7 (401) 1 week ago 95
6 Real Cookie Banner: GDPR & ePrivacy Cookie Consent Real Cookie Banner: GDPR & ePrivacy Cookie Consent Obtain GDPR (DSGVO/RGPD) and ePrivacy Directive (TDDDG/TTDSG, LOPD-GDD, DTA) compliant… by devowl.io GmbH 100K+ ★★★★★★★★★★ 4.9 (492) 3 weeks ago 96
7 Cookiebot – Cookie Banner & Cookie Consent for GDPR, CCPA & Google Consent Mode Cookiebot Automatic cookie banner and cookie notice for GDPR, CCPA & Google Consent Mode v2. Blocks… by cookiebot 100K+ ★★★★★★★★★★ 4.4 (440) 2 weeks ago 78
8 SureCookie – GDPR Cookie Consent Banner, Cookie Scanner & Script Blocking SureCookie Cookie consent banner with real browser scanning, script blocking, Google Consent Mode… by Brainstorm Force 90K+ ★★★★★★★★★★ 4.9 (28) 2 weeks ago 84
9 Termly – GDPR/CCPA Cookie Consent Banner Termly – GDPR/CCPA Cookie Consent Banner Our easy to use cookie consent plugin can assist in your GDPR, CCPA, and ePrivacy Directive… by davidtaroko 80K+ ★★★★★★★★★★ 3.6 (205) 11 months ago 46
10 Beautiful Cookie Consent Banner Beautiful Cookie Consent Banner Free and beautiful Cookie Consent Banner to make your website compliant. Highly… by Nikel 40K+ ★★★★★★★★★★ 4.5 (95) 2 weeks ago 78

FAQ

Diáfana: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Diáfana free?

Yes. Diáfana is free to download and use from the official WordPress.org plugin directory.

Is Diáfana safe to use in 2026?

Diáfana is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

How many websites use Diáfana?

Diáfana is active on 10+ WordPress websites and has been downloaded 269 times since it launched in November 2026. It was downloaded 273 times in the last 30 days.

Does Diáfana work with WordPress 7.1?

Yes. The developer has tested Diáfana up to WordPress 7.1.5, the latest release. It requires WordPress 6.9 or newer.

What PHP version does Diáfana need?

Diáfana requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Diáfana last updated?

The latest version, 1.1.9, was released on November 25, 2026 (1 week ago).

Who makes Diáfana?

Diáfana is developed and maintained by Studio Tere.

What are the best alternatives to Diáfana?

The most popular alternatives to Diáfana are Complianz GDPR/CCPA Cookie… (1M+ installs), CookieYes (1M+ installs) and GDPR Cookie Compliance (300K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open