Consent Warden

Consent Warden

Details
View on WordPress

Consent Warden adds a clean, accessible cookie consent banner to your WordPress site. Visitors see a simple Accept button with an optional link to your privacy policy. Once accepted, the banner disappears and consent is remembered for up to a year.

Free edition features:

  • Accept-only banner — no unnecessary complexity
  • Three layout positions: bottom bar, bottom-left card, bottom-right card
  • Customisable heading, message text, and button label
  • Optional privacy policy link (URL and link text)
  • Six colour options: background, text, link, accept button, button text, and hover
  • Configurable consent expiry (1–3650 days, default 365)
  • Fires a cwarden:consent JavaScript event on accept — hook your own scripts to it
  • Accessible: role="region" and aria-label on the banner element
  • Zero external dependencies on the frontend
  • Consent stored in a cwarden_consent cookie with SameSite=Lax
  • No data sent to the server — consent stays on the visitor’s device

Upgrade to Standard or Pro for:

  • Granular consent categories (Analytics, Marketing, Preferences) with per-category toggles
  • Script blocking — prevent third-party scripts from loading until consent is given (soft dequeue and hard HTML rewrite)
  • Google Consent Mode v2 integration (gtag / GTM)
  • Full consent log — record and review visitor consent decisions
  • Geo-targeting — show the banner only to visitors in targeted regions (EU, UK, US, Brazil, and custom country lists)
  • Automatic cookie scanner — passively discover and categorise cookies set on your site

Learn more about the Standard and Pro editions at https://linuxgnut.com/projects/consent-warden/

Details

Plugin code:
consent-warden
Plugin version:
1.0.0
Author:
Outdated:
No
WP version:
5.9 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0.4
Total installations:
0
Last updated:
2026-08-19
Rating:
Times rated:
0
ccpa
cookie-banner
cookie-consent
gdpr
privacy