Title: Can I Use Cookies ?
Author: Fabien Caylus
Published: <strong>16 de diciembre de 2020</strong>
Last modified: 13 de marzo de 2021

---

Buscar plugins

![](https://ps.w.org/can-i-use-cookies/assets/banner-772x250.jpg?rev=2441048)

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.

![](https://ps.w.org/can-i-use-cookies/assets/icon-256x256.png?rev=2441048)

# Can I Use Cookies ?

 Por [Fabien Caylus](https://profiles.wordpress.org/fcaylus/)

[Descargar](https://downloads.wordpress.org/plugin/can-i-use-cookies.zip)

 * [Detalles](https://es.wordpress.org/plugins/can-i-use-cookies/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/can-i-use-cookies/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/can-i-use-cookies/#developers)

 [Soporte](https://wordpress.org/support/plugin/can-i-use-cookies/)

## Descripción

Does one thing but does it right:

**Ask the user for his consent about cookies and tracking.**

### Features

 * Display a popup on every page and ask the user for his consent about tracking
 * «Approve» and «Deny» button: compliant with GDPR and CCPA
 * Customisable texts and image on the popup
 * Customisable style of the popup using CSS
 * Available in 2 languages: English and French
 * No branding, no ad on the admin panel. Just a new menu in the settings.

### How it works ?

The plugin will add a new menu under your settings, where you can set up the various
texts and images used by the popup.
 Then, a popup will appear on every public pages,
asking the user for his consent about cookies and tracking, presenting him with 
2 choices:

 * **Approve**: Set a cookie `cookie-consent=yes` valid for 6 months
 * **Deny**: Set a cookie `cookie-consent=no` valid for 6 months

It’s then up to you, and your analytics solution, to check for the `cookie-consent`
value and handle it according to the user’s wishes.

### How to customize the popup style ?

A default style is applied to the popup, with the strict minimum (the layout of 
the popup).
 The popup will inherit the text style, button style and colors from
your theme.

However, you can use CSS to customize the popup layout and style
 (by enqueuing 
a stylesheet in your `functions.php` file, add additional CSS in your theme’s options,
or whatever technique to add CSS to your page).

For reference, here is the popup HTML code. You can use the main container id (`#
can-i-use-cookies`)
 to scope your CSS rules.

    ```
    <div id="can-i-use-cookies">
        <div class="container">
            <div class="subcontainer">
                <img class="image" src="...">
                <div class="text-container">
                    <p class="title">...</p>
                    <p class="description">...</p>
                </div>
            </div>
            <div class="button-bar">
                <button id="can-i-use-cookies-yes" class="button">...</button>
                <button id="can-i-use-cookies-no" class="button">...</button>
            </div>
        </div>
    </div>
    ```

### Source code

The source code is available on GitHub at [github.com/doky-fr/can-i-use-cookies](https://github.com/doky-fr/can-i-use-cookies).

Feel free to contribute !

## Capturas

[⌊Settings menu⌉⌊Settings menu⌉[

Settings menu

[⌊Desktop popup with Twenty-Twenty theme⌉⌊Desktop popup with Twenty-Twenty theme⌉[

Desktop popup with Twenty-Twenty theme

[⌊Mobile popup with Twenty-Twenty theme⌉⌊Mobile popup with Twenty-Twenty theme⌉[

Mobile popup with Twenty-Twenty theme

[⌊Desktop popup with Twenty-Nineteen theme⌉⌊Desktop popup with Twenty-Nineteen theme⌉[

Desktop popup with Twenty-Nineteen theme

[⌊Mobile popup with Twenty-Nineteen theme⌉⌊Mobile popup with Twenty-Nineteen theme⌉[

Mobile popup with Twenty-Nineteen theme

[⌊Desktop popup with custom styling, text and logo⌉⌊Desktop popup with custom styling,
text and logo⌉[

Desktop popup with custom styling, text and logo

[⌊Mobile popup with custom styling, text and logo⌉⌊Mobile popup with custom styling,
text and logo⌉[

Mobile popup with custom styling, text and logo

## Reseñas

No hay valoraciones para este plugin.

## Colaboradores y desarrolladores

«Can I Use Cookies ?» es un software de código abierto. Las siguientes personas 
han colaborado con este plugin.

Colaboradores

 *   [ Fabien Caylus ](https://profiles.wordpress.org/fcaylus/)

«Can I Use Cookies ?» está traducido en 1 idioma. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/can-i-use-cookies/contributors)
por sus contribuciones.

[Traduce «Can I Use Cookies ?» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/can-i-use-cookies)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/can-i-use-cookies/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/can-i-use-cookies/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/can-i-use-cookies/)
por [RSS](https://plugins.trac.wordpress.org/log/can-i-use-cookies/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 1.0.1

 * Reformat PHP code
 * Tested up to WordPress 5.7

#### 1.0.0

 * First public release

## Meta

 *  Versión **1.0.1**
 *  Última actualización **hace 6 años**
 *  Instalaciones activas **10+**
 *  Versión de WordPress ** 5.4 o superior **
 *  Probado hasta **5.7.21**
 *  Versión de PHP ** 7.0 o superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/can-i-use-cookies/) y [French (France)](https://fr.wordpress.org/plugins/can-i-use-cookies/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/can-i-use-cookies)
 * Etiquetas:
 * [consent](https://es.wordpress.org/plugins/tags/consent/)[cookie](https://es.wordpress.org/plugins/tags/cookie/)
   [cookies](https://es.wordpress.org/plugins/tags/cookies/)[GDPR](https://es.wordpress.org/plugins/tags/gdpr/)
   [popup](https://es.wordpress.org/plugins/tags/popup/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/can-i-use-cookies/advanced/)

## Valoraciones

Aún no se han enviado valoraciones.

[Tu valoración](https://wordpress.org/support/plugin/can-i-use-cookies/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/can-i-use-cookies/reviews/)

## Colaboradores

 *   [ Fabien Caylus ](https://profiles.wordpress.org/fcaylus/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/can-i-use-cookies/)