CookieFox – Cookie Notice


CookieFox helps you to make your WordPress site compliant with privacy laws such as GDPR by providing an easy-to-use and customizable cookie notice. It is optimized for performance and to have a minimal impact on loading times.

Key Features

  • The cookie notice can either be displayed as a modal or a banner on the bottom of the viewport.

  • Two consent types available: Simple consent offers a general accept/deny option. Category consent offers separate consent by cookie categories.

  • Basic design customizations (fonts, colors, …) are available in the admin settings. Advanced customizations are possible through the use of CSS variables or by providing a custom stylesheet.

  • All texts and buttons can be customized to fit your requirements.

  • Configured scripts and services can be executed when a user accepts or rejects the use of cookies.

  • Multi-Language Support: Use WPML or Polylang to easily translate your privacy notice.

  • Block Auto-Embedding: Optionally, you can prevent external content from being automatically embedded. The content will be embedded when accepting the privacy notice.


  • Javascript: There’s just one 11kb (gzip) Javascript file. No dependencies. No jQuery.
  • CSS: You can either use an external CSS file (2.5kb, gzip), inline all styles, or provide a custom stylesheet.
  • HTML: CookieFox just injects only a single \<div> tag in the wp_footer hook. It is used as a root tag for initiating the script.

Documentation, API & How-Tos

Documentation and tutorials/samples are available in the Wiki.


  • Cookie notice displayed as a modal
  • Cookie notice displayed as a banner
  • Configuration of cookies
  • Configuration of cookie texts
  • Configuration of opt-in and opt-out scripts
  • Design section in the admin settings
  • Consent cookie & Advanced performance settings


Does CookieFox block cookies?

No, CookieFox does not block cookies. Scripts that would set a cookie can be defined in the admin settings to only load when a user has accepted the use of cookies.

Why is the cookie notice not being displayed?

Please check in the admin settings if the toggle for “Enable Cookie Notice” is switched to “on”. Also, check your website with browser development tools regarding errors. If you find an incompatibility or bug, please use the plugins support forum.

Is my site compliant after installing and activating CookieFox?

Please note that you are responsible for complying with your local and international laws. CookieFox can help you to be compliant by providing a cookie notice and the possibility for users to opt-in to defined scripts and services, but installation and activation alone (without configuration) are probably not enough to be compliant.


መጋቢት 22, 2024
Perfect little plugin. Instead of bloated plugins that you have to pay for every year, just set up this plugin and use it freely forever. And if you’re worried about Google Consent Mode v2 and the integration of Google Tag Manager with this plugin, don’t worry because it’s also easy to do it by following the instructions on YouTube on how to setup Consent Mode v2 with any cookie-banner and GTM.[link removed by moderator; links are not permitted in reviews.]
ሰነ 15, 2022
Die Gründe für das Plugin stehen alle unter – in der Praxis bewährt sich das Plugin in allen genannten Punkten. Eigentlich 5*Superior!
Read all 6 reviews

Contributors & Developers

“CookieFox – Cookie Notice” is open source software. The following people have contributed to this plugin.




  • Fixed an error that occurred when a site doesn’t use permalink rewrites.


  • Fixed a compatibility issue with Rank Math SEO


  • Made Cookie Information string translatable
  • Privacy policy URL can be HTML (possibility to include links)
  • Added duration field to cookie details


  • Paragraphs and line breaks are now displayed correctly in cookie descriptions


  • Fixed an error with auto-embedding and TikTok embeds
  • Added API to set the consent status
  • Paragraphs and line breaks are now displayed correctly in category descriptions


  • Added setting for delaying the cookie notice
  • Added API to get the current consent status
  • Added API to subscribe to consent change events
  • Added API to subscribe to the init event


  • Added API for handling consent changes for dynamically inserted content/embeds.


  • Enable Decline-Button in Category Consent Mode.


  • Consent cookie now uses sameSite=strict
  • Fixed an error in language detection


  • Category based cookie consent
  • Fixed accessibility issues concerning tab navigation


  • Fixed an issue that displayed a wrong primary text color


  • More sensible default colors regarding color contrast
  • Option for decline action to be a button (now the default)
  • Fixed an issue where wrong language was loaded for default settings


  • Added feature to mask script to circumvent server security measures when sending script tags in POST requests.


  • Added feature to remove cookies after opt-out
  • Always-on scripts are now executed before other scripts
  • Scripts will be injected without div container tag
  • Fixed an issue with embed blocking on sites with classic editor


  • Fixed an issue that displayed “undefined” at bottom of the site


  • Added always-on scripts
  • Added cookiefox_consent filter for custom content blocking
  • Fixed an issue with auto-blocking embeds
  • Fixed german translations


  • Auto-block embeds
  • Renaming of some CSS variables for consistency. If you’ve customized your variables, please update them to reflect the changes.


  • German translation
  • Styling changes and small bug fixes.


  • WPML support
  • Polylang support
  • Design section is no hidden when styles are not included


  • Fixed an issue where it wasn’t possible to dismiss the modal notice.
  • Fixed an issue where it wasn’t possible to show the modal on the privacy page.
  • Privacy notice can now be opened via Javascript
  • Introduction of a shortcode to display a link/button to open the privacy notice: [cookiefox_show_notice].
  • Smaller typos fixes, styling changes, and bug fixes.


  • Styling changes and small bug fixes.


  • Option to disable the privacy notice on the privacy policy page.
  • Styling changes and small bug fixes.


  • Styling changes and small bug fixes.


  • First public release of CookieFox.