WP Manifestindependent plugin directory
manifest / privacy / wp-cf-cookie

Cloudflare Cookie Blocker

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/twistermc/wp-cf-cookie/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress Cloudflare Cookie Manager

A WordPress plugin that provides GDPR-compliant management of Cloudflare's bot management cookie (__cf_bm) in conjunction with CookieYes consent management.

Overview

Cloudflare's bot management system sets a cookie (__cf_bm) that helps protect your site from malicious bots. However, under GDPR and similar privacy regulations, this cookie requires user consent as it's considered a non-essential analytics cookie.

This plugin automatically:

  • Monitors the CookieYes consent status
  • Removes the __cf_bm cookie when consent is not given
  • Allows the cookie when analytics consent is granted
  • Responds to consent changes in real-time

Requirements

  • WordPress 5.0 or higher
  • CookieYes used on the site.
  • Cloudflare's bot protection in use on the site.

Installation

  1. Download the plugin
  2. Upload to your WordPress site
  3. Activate through the WordPress plugins page

How It Works

The plugin injects a small JavaScript that:

  1. Monitors the CookieYes consent cookie
  2. Checks if analytics cookies are allowed
  3. If consent is not given, removes the __cf_bm cookie
  4. Watches for consent changes and updates cookie status accordingly

Configuration

No configuration is needed. The plugin works automatically once activated, integrating with your existing CookieYes settings.

Support

For issues or questions, please open an issue on the GitHub repository.

License

This plugin is licensed under GPLv2 or later.