WordPress
CookieFix for WordPress
Add GDPR-compliant cookie consent to your WordPress site in under 5 minutes.
Overview
The CookieFix WordPress plugin connects your WordPress site to the CookieFix consent management platform. It automatically injects the consent banner, blocks third-party scripts before consent, and provides a cookie declaration shortcode.
The plugin is lightweight, compatible with all major caching plugins and WooCommerce, and requires no coding knowledge to set up.
Features
- Automatic third-party script blocking until visitor consent (MutationObserver)
- Customizable consent banner — configure colors, text, and position from the CookieFix dashboard
- Cookie declaration table via shortcode: [cookiefix_declaration]
- Google Consent Mode v2 and TCF 2.0 support
- WooCommerce compatible — core and payment scripts are never blocked
- Works with all caching plugins (WP Rocket, LiteSpeed, W3 Total Cache, WP Super Cache)
Installation
- Upload the
cookiefixfolder to/wp-content/plugins/or install directly from the WordPress Plugin Directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings > CookieFix and enter your Domain Key from the CookieFix Dashboard.
- Save settings — the consent banner will appear on your site immediately.
Cookie Declaration
To display a cookie declaration table listing all cookies found on your site, add the following shortcode to any page or post:
[cookiefix_declaration]
Compatibility
- WordPress 5.0 and above
- PHP 7.4 and above
- WooCommerce — automatically whitelists core and payment scripts
- All major caching plugins — inline script is preserved by all caching solutions
Get started with CookieFix for WordPress
Create a free account, add your domain, and install the plugin. Full GDPR compliance in under 5 minutes.
Create free account