Open source consent management for WordPress

A cleaner way to collect consent.

OpenConsent CMP gives WordPress sites a self-hosted banner, script blocking, structured consent records, admin CSV/JSON exports, declarations, browser-language detection, and Google Consent Mode v2 controls.

Version 1.1.7 60.4 KB Updated Jun 22, 2026
0Consent categories
0Google behavior modes
0Google consent signals
0Admin export formats

Plugin surface

Built for practical consent workflows.

OpenConsent CMP is transparent, local, editable, and designed to help site owners explain their services without handing consent records to a vendor cloud.

Prior blocking

Block configured scripts by URL pattern until the visitor grants the matching category.

Consent records

Save structured consent records locally with action, categories, region, language, page URL, plugin version, and anonymized visitor hashes.

Language aware

Use browser auto-detection, the WordPress site locale, or a fixed banner language with browser-translation-friendly text.

Region rules

Choose strict opt-in, browser-hint auto mode, or notice mode and keep unreviewed services in an unclassified category.

Cookie declaration

Publish the service registry with the shortcode [openconsent_declaration].

Vendor details

Document provider, purpose, category, match pattern, and privacy policy URL for every configured service.

Crawl scanner

Crawl internal pages for Set-Cookie headers, external static resource hosts, and suggested service registry rows.

Admin records

Filter records by action, category, date, or URL, inspect technical details, prune old records, and export CSV or JSON.

Inventory table

Review configured services by provider, purpose, privacy URL, category, match rule, and documentation status.

Debug mode

Inspect blocked scripts and embeds through the browser console and the OpenConsent JavaScript API.

WP Consent API

Publish choices to functional, preferences, statistics, statistics-anonymous, and marketing categories for compatible WordPress plugins.

Readable source

Plain PHP, CSS, and JavaScript. No obfuscated scripts, no hidden vendor service.

WordPress plugin

Built for WordPress installations.

OpenConsent CMP installs as a versioned WordPress upload ZIP with plugin files at the ZIP root. Upload it from the WordPress admin, activate it, then configure categories, script rules, consent records, Google Consent Mode, and the cookie declaration shortcode.

Plugin upload ZIP Admin settings page Dashboard records widget CSV and JSON exports Frontend consent controller Shortcode declaration

Live demo

Try the consent experience.

This page uses the same frontend consent controller included with the plugin. Expand each category to see live blocked scripts, URL rules, Google signal mappings, localized labels, and the site privacy policy link. In WordPress, saved choices appear as structured admin records with export options.

WordPressOpenConsent CMP preview
Consent overview

Configured services

Google Analytics
statistics
blocked
Meta Pixel
marketing
blocked
Language preferences
preferences
blocked
Unclassified vendor
unclassified
blocked

Consent Mode signals

Admin records

Latest action
accept, reject, or saved choices
stored
Export formats
CSV and JSON from WordPress admin
ready

Customize consent

Use these controls to test consent choices. Necessary features stay active; optional categories allow matching services only after consent, and the real banner can reopen with translated category details.

Install

Download, upload, activate, configure.

Download the versioned ZIP, upload it in WordPress, then configure your services, privacy policy URL, consent records, crawl reports, exports, and Google consent behavior.

01

Download ZIP

The plugin ZIP starts directly in your browser. No email link required.

02

Upload package

Use WordPress plugin upload. For FTP installs, copy the extracted files into wp-content/plugins/openconsent-cmp.

03

Activate

Upload in WordPress, activate OpenConsent CMP, then open Settings.

04

Configure records

Review categories, service patterns, privacy policy URL, Google behavior, retention, and admin exports.

Download

Get the plugin package.

Download the WordPress plugin ZIP directly from this website. No account, email gate, or external download service is required.

Fileopenconsent-cmp.zip
Version1.1.7
Size60.4 KB
UpdatedJun 22, 2026

Direct download

This package is ready for WordPress plugin upload. It includes the plugin file, WordPress readme, logo asset, frontend scripts, admin settings, service inventory, crawl reports, structured consent records, CSV/JSON exports, and uninstall cleanup.

Download OpenConsent CMP View source on GitHub Support open source Installation steps OpenConsent CMP helps configure and document consent choices. Legal requirements vary by site and region.

Trust notes

Clear boundaries matter.

Consent software should be clear about what it does, where records are stored, what admins can export, and which responsibilities remain with the site owner.

No hidden tracking

Consent records remain in your WordPress database and can be exported by admins as CSV or JSON. The plugin does not report visitor choices to YASA LTD.

Google publisher ads

Personalized AdSense, Ad Manager, or AdMob ads in some regions may require a Google-certified TCF CMP.

Legal review

Review your notices, vendor list, regions, and consent flow with qualified counsel before relying on any setup.

Download