Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Cartograf Cookie filter


This plugin allows site builders to comply with the spanish cookie law, that regulates the use of tracking cookies in websites according to the EU directive.

Note that this is important as one of the first countries to introduce this regulation after the EU directive was emitted was UK. But the UK law has some differences with the spanish regarding “informed consent” of the visitor, thus cookies needs to be treated a bit differently.

Despite of that, the plugin provide the functionality needed to comply with UK (and other) cookie law, as well.

This plugin allows the user to insert code (typically, javascript code) in both header and footer and for two different cases (cookie accepted, cookie not accepted). It also provides HTML id and classes that enable easy customization.

The development and manteniance of this plugin is sponsored by Cartograf


  • Jose Alcántara
  • Dima Kam
  • Sergio Folgar

About Cartograf

The development of this plugin has been funded by Cartograf, a consultancy company specialized in free software based in Madrid.


You may install this plugin following the next steps:

  1. Download the ZIP file.
  2. Unzip the file and upload the newly created folder with its contents to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the settings page for this plugin and configure all that you need: message to be shown, scripts to be inserted on cookie acceptance (typically, your Google Analytics code, or similar, goes here) in header OR footer, cookie acceptance criteria (timeout, scrollout) and a list of pages or posts containing extra information about cookies and thus to be treated as an exception.

Preguntas frecuentes

Is this plugin suited for building sites according to the spanish cookie law?

Yes, it is.

How can I customize the cookie bar?

The plugin provides both html ID and classes to help themers. We plan to allow easy color config in next versions.

How does this message behaves along with cache plugins?

If you are using a cache plugin, you are encouraged to flush/rebuild your cache whenever you change your welcome message.


3 de septiembre de 2016
Para que funcionara bien en mi Wordpress con un template comprado he tenido que editar el archivo script.js en la función setCookie añadiéndole en document.cookie el path=/, me queda así: document.cookie = c_name + “=” + c_value+”; path=/”;
Leer todas las 5 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.


Traduce “Cartograf Cookie filter” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Cookie checking is now implemented client-side, to make the plugin compatible with cache plugins. Thanks to Sergio Folgar (/sfolgar) for this contribution.


  • Added info about compatibility with cache plugins
  • Updated tip texts on settings page.


  • Improved tip texts on settings page.
  • We now explicitly support UK cookie law (the functionality was always there, just that we didn’t mention).


  • First stable release.
  • Included settings page.
  • Included slug exceptions.
  • Both timeout and scrollout acceptance of the cookies are now considered.


  • Now saving options as WP options.


  • Initial commit.