Plugin info

Total downloads: 91
Active installs: 20
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/21/2025 (40 days ago)
Added to WordPress: 11/14/2025 (0 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.8.3
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 40 days ago

59/100

Is Cookie Guard abandoned?

Likely maintained (last update 40 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.8.3
Requires PHP: 7.2

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

GDPR CCPA Compliance & Cookie Consent Banner
Rating 5.0/5 (6 reviews)Active installs 1,000
iubenda | All-in-one Compliance for GDPR / CCPA Cookie Consent + more
Rating 4.7/5 (378 reviews)Active installs 200,000
Real Cookie Banner: GDPR & ePrivacy Cookie Consent
Rating 4.9/5 (476 reviews)Active installs 100,000

Description

Cookie Guard is a comprehensive GDPR compliance plugin that helps you manage cookie consent on your WordPress website. With smart script blocking, customizable banners, and detailed consent logging, Cookie Guard ensures your website meets GDPR, CCPA, and ePrivacy requirements.

Key Features

  • Customizable Cookie Banner – Fully customizable text, colors, and positioning
  • Smart Script Blocking – Three-tier system ensures compatibility with page builders
  • Four Cookie Categories – Necessary, Functional, Analytics, and Marketing
  • Sticky Cookie Icon – Users can change preferences anytime via bottom-left icon
  • Consent Logging – Secure database logging with CSV export
  • Page Builder Compatible – Works with Elementor, Divi, WPBakery, Beaver Builder, and more
  • GDPR Compliant – Helps meet EU GDPR and ePrivacy requirements
  • Shortcode Support – Display cookie settings button anywhere

How It Works

Cookie Guard uses an intelligent three-tier script blocking system:

  1. Whitelist Check – Essential scripts (WordPress core, page builders, forms) are never blocked
  2. Pattern Detection – Automatically detects and blocks known tracking scripts (Google Analytics, Facebook Pixel, etc.)
  3. Custom Scripts – Add your own patterns via the admin panel

Cookie Categories

  • Strictly Necessary – Always enabled, essential for website functionality
  • Functional – Optional, enables enhanced features like videos and live chat
  • Performance/Analytics – Optional, helps measure and improve site performance
  • Marketing/Targeting – Optional, used for advertising and remarketing

Sticky Cookie Icon

After users accept or reject cookies, a customizable cookie icon appears in the bottom-left corner. Users can click it anytime to review and change their cookie preferences.

Page Builder Compatibility

Fully tested and compatible with:

  • Elementor & Elementor Pro
  • Divi & Divi Builder
  • WPBakery Page Builder
  • Beaver Builder
  • Oxygen Builder
  • Bricks Builder
  • Gutenberg (WordPress Block Editor)

Privacy & Data Storage

  • Consent data stored securely in WordPress database
  • Records: User ID (if logged in), IP address, timestamp, consent status, and preferences
  • View and export logs from admin panel
  • Full GDPR compliance for data handling

Additional Information

Support

For support, visit https://uxdesignexperts.com/support

Documentation

Full documentation available at https://uxdesignexperts.com/cookie-guard-docs

Author

Developed by UX Design Experts
https://uxdesignexperts.com

Cookie Guard is a tool to help with GDPR compliance. You are responsible for ensuring your website’s overall GDPR compliance, including having a proper privacy policy and terms of service.

Installation

Automatic Installation

  1. Go to Plugins > Add New in your WordPress admin
  2. Search for “Cookie Guard”
  3. Click “Install Now” and then “Activate”
  4. Go to Cookie Guard in your admin menu to configure settings

Manual Installation

  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Choose the zip file and click “Install Now”
  4. Activate the plugin
  5. Configure settings at Cookie Guard menu in admin

Configuration

  1. Enable the plugin in General Settings
  2. Customize banner text and colors
  3. Set cookie icon colors
  4. (Optional) Add custom script patterns for blocking
  5. The banner will appear automatically on your site

Frequently Asked Questions

Is Cookie Guard GDPR compliant?

Yes! Cookie Guard helps you comply with GDPR, CCPA, and ePrivacy regulations by blocking non-essential scripts until users give consent and maintaining detailed consent logs.

Will this work with my theme and plugins?

Yes! Cookie Guard is compatible with all WordPress themes and has been specifically tested with major page builders like Elementor, Divi, and WPBakery.

Does it slow down my website?

No. Cookie Guard is lightweight (only 21KB) and only loads necessary scripts. It actually improves privacy and may help with performance by blocking unnecessary tracking scripts.

Can users change their consent after accepting?

Yes! After users accept or reject cookies, a sticky cookie icon appears in the bottom-left corner. Users can click it anytime to open the settings and change their preferences.

How do I add my own scripts to block?

Go to Cookie Guard > Settings > Script Blocker tab. Add your custom scripts in JSON format. See the example provided in the admin panel.

Does it block Google Analytics?

Yes! Google Analytics is automatically detected and blocked until users give consent for Analytics cookies.

Can I customize the colors?

Absolutely! You can customize banner background, text color, button colors, and the sticky cookie icon colors from the settings page.

What data is logged?

Cookie Guard logs: User ID (if logged in), IP address, timestamp, consent status (accepted/rejected/partial), and category preferences. All data can be exported to CSV.

How do I display a cookie settings button?

Use the shortcode [cookie_guard_settings] anywhere on your site to display a button that opens the cookie preferences panel.

Review feed

No reviews available

Screenshots

  1. Cookie consent banner at bottom of page

    Cookie consent banner at bottom of page

  2. Cookie preferences panel with toggles for each category

    Cookie preferences panel with toggles for each category

  3. Admin settings page with customization options

    Admin settings page with customization options

  4. Consent logs with statistics dashboard

    Consent logs with statistics dashboard

  5. Sticky cookie icon in bottom-left corner

    Sticky cookie icon in bottom-left corner

  6. Color customization options

    Color customization options

Changelog

1.0.8

  • Fixed: Variable naming errors
  • Fixed: No SQL compatibility errors.

1.0.7

  • Removed: Custom script pattern feature (security requirement for WordPress.org)
  • Enhanced: Improved automatic tracking script detection
  • Fixed: Contributors username in readme.txt
  • Note: The plugin still automatically blocks common tracking scripts like Google Analytics, Facebook Pixel, etc.

1.0.6

  • Fixed: All WordPress Coding Standards compliance issues for repository submission
  • Fixed: Input validation – added isset() checks for all $_POST variables
  • Fixed: Cookie sanitization using proper WordPress functions
  • Fixed: Preferences array sanitization in AJAX consent handler
  • Fixed: All SQL queries now use $wpdb->prepare() with placeholders
  • Fixed: Replaced date() with gmdate() for timezone-safe operations
  • Technical: Added proper phpcs:ignore comments where necessary
  • Technical: Code now passes all WordPress.org Plugin Directory checks
  • Security: Improved input sanitization and validation throughout

1.0.5

  • Fixed: Database table creation timing – now runs immediately on plugin load
  • Fixed: Corrected hook timing issue that prevented automatic table creation
  • Removed: Manual table creation button and warning notices (no longer needed)
  • Enhanced: Popup Position field now only shows when Banner Style is “Popup (Box)”
  • Enhanced: Improved settings form with smart field visibility
  • Technical: Database check runs in constructor for reliable table creation
  • Technical: Added JavaScript toggle for conditional field display

1.0.4

  • Fixed: Database table now creates automatically on plugin load (fallback check)
  • Fixed: Removed manual table creation button (no longer needed)
  • Enhanced: CSS properly scoped to prevent theme/plugin conflicts
  • Enhanced: All admin styles scoped under .cookie-guard-modern-wrapper
  • Enhanced: All frontend styles scoped under .cookie-guard- prefix
  • Technical: Added check_database() method that runs on plugins_loaded
  • Technical: Table creation now guaranteed on activation and load

1.0.3

  • Added: Popup banner style option (in addition to full-width bar)
  • Added: Banner positioning options (left, center, right) for popup style
  • Added: Maximum width control for banner (300-2000px)
  • Fixed: Improved input field styling to match modern design
  • Fixed: Enhanced color picker styling with better hover states
  • Fixed: Better select dropdown styling
  • Enhanced: Smoother animations for popup style banners
  • Enhanced: Improved responsive design for popup banners on mobile

1.0.2

  • Fixed: PHP deprecated warning for number_format() with null values
  • Fixed: Database errors when table doesn’t exist on first install
  • Fixed: Added table existence checks before running queries
  • Enhanced: Added manual table creation button in admin
  • Enhanced: Better error messaging when table is missing
  • Technical: All database queries now properly handle missing tables
  • Technical: All count values are cast to integers to prevent null warnings

1.0.1

  • Enhanced: Modern dashboard design with glassmorphism effects
  • Enhanced: Improved animations and transitions throughout the interface
  • Enhanced: Better visual hierarchy and spacing
  • Enhanced: Upgraded form elements with better focus states
  • Enhanced: Sticky save bar for better accessibility
  • Enhanced: Improved mobile responsive design
  • Fixed: Added “Tested up to: 6.8” header for WordPress compatibility
  • Fixed: Created /languages directory to resolve domain path warning
  • Technical: Clarified database table name in code comments
  • Technical: Optimized CSS for better performance

1.0.0

  • Initial release
  • Cookie consent banner with full customization
  • Four cookie categories (Necessary, Functional, Analytics, Marketing)
  • Smart three-tier script blocking system
  • Page builder compatibility (Elementor, Divi, WPBakery, etc.)
  • Sticky cookie icon for easy preference changes
  • Consent logging with CSV export
  • Admin settings panel with tabs
  • Shortcode support
  • Full GDPR compliance features
  • RTL language support
  • Accessibility features