Select one or more tags, then press “Search Plugins”

Find Plugin with any / all of the selected criteria
Search Plugin

Diáfana – Cookie Consent Banner (GDPR / RGPD) Wordpress Plugin - Rating, Reviews, Demo & Download

Diáfana – Cookie Consent Banner (GDPR / RGPD) Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin 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.

Screenshots

No screenshots provided


Reviews & Comments