WordPress.org

Plugin Directory

Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD

Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD

Descripción

Cookie Rocket es un banner de consentimiento de cookies para WordPress que bloquea Google Analytics, Meta Pixel, Hotjar y otros scripts de rastreo de terceros hasta que el visitante da su consentimiento, con Google Consent Mode v2, un escáner de cookies y un registro de consentimientos incluidos en la versión gratuita. Es para cualquier sitio que deba cumplir con el GDPR, la CCPA / CPRA, la LGPD (Brasil) o la LFPDPPP (México), cada una con su propio texto de banner y sus reglas de consentimiento, seleccionables por sitio.

It is a fully self-hosted alternative to cloud cookie-consent services: no account, no monthly SaaS fee, and your visitors’ browsers never call an outside server. Real script blocking, Google Consent Mode v2 and on-demand cookie scanning are free here — features that comparable consent tools typically gate behind a paid plan or a remote service.

  • Bloqueo automático de scripts: los rastreadores de terceros más habituales (Google Analytics, Meta Pixel, Hotjar, Microsoft Clarity, LinkedIn, TikTok y más) quedan bloqueados hasta que hay consentimiento, con Google Consent Mode v2 integrado.
  • Explorador de cookies integrado: detecta bajo demanda qué servicios de seguimiento conocidos hay en tu sitio y qué cookies instalan.
  • Política y declaración de cookies automáticas: un solo shortcode (o una página creada en un clic) publica la tabla de todas las cookies que usa tu sitio —proveedor, finalidad y duración—, agrupadas por categoría y actualizadas con tus exploraciones.
  • Registro de auditoría de consentimientos con visor en el Escritorio: cada decisión de consentimiento se guarda y se puede consultar a efectos de cumplimiento normativo.
  • Categorías de cookies editables: cambia el nombre, la descripción y el orden de las categorías que aparecen en el banner.
  • Unified Cookie Banner editor: layout, content (text and labels) and colors, all in one place.
  • Cero scripts externos y cero dependencias de CDN: todo se sirve desde tu propio sitio.
  • Framework selector: GDPR, CCPA / CPRA, LGPD (Brazil) and LFPDPPP (Mexico), each with its own banner wording and consent behavior.
  • 100 % local: ningún dato de consentimiento se envía a servidores de terceros.
  • Preparado para WooCommerce: respeta las páginas de la tienda y la de Finalizar compra.
  • Colores, tamaños de letra, textos y posición del banner totalmente personalizables.
  • Accesible según WCAG 2.1 AA: navegación por teclado, estados de foco y etiquetas ARIA.
  • Compatible con Multisite.
  • Cinco diseños de banner: barra inferior, barra superior, tarjeta flotante, ventana emergente y panel lateral.

Shortcodes

  • [cookie-rocket-preferences] — muestra un botón que vuelve a abrir la ventana emergente de preferencias de cookies.
  • [cookie-rocket-withdraw] — muestra un enlace que retira el consentimiento y elimina las preferencias guardadas.
  • [cookie_rocket_policy] — muestra la tabla automática de declaración de cookies (proveedor, finalidad y duración de cada cookie, agrupadas por categoría).

External services

This plugin connects to one outside service, and only from your admin, never from your visitors’ browsers:

  • Deactivation feedback (Templates Rocket). When you deactivate the plugin you are offered a short, optional form asking why. Only if you choose a reason and press “Submit & deactivate” does the plugin send it to https://templatesrocket.com/cr-feedback/: the reason, the text you typed (if any), and the Cookie Rocket, WordPress and PHP versions and the site language. No site address, no visitor data and no consent records are sent. Pressing “Skip & deactivate” sends nothing. Provided by Templates Rocket: terms of service, privacy policy.

Cookie Rocket Pro

Cookie Rocket Pro es una extensión comercial construida sobre el plugin gratuito. Agrega:

  • A catalog of 76 recognized services covering 340 cookies. Every cookie comes with its purpose and duration already written, so the cookie declaration table fills itself in from a scan. The free version recognizes 34 services; anything else is described by hand under Your own services.
  • Rules per region. Each visitor gets the law of their country, also behind page caching: GDPR in Europe, CCPA / CPRA in the United States, LFPDPPP in Mexico and LGPD in Brazil, each with its own consent model, Reject button, consent duration and banner text. Global Privacy Control is honored.
  • Google Consent Mode advanced and Google Tag Manager. Google Ads and GA4 keep modeling conversions while consent is denied, and the Tag Manager container is added with consent already wired.
  • A tamper-evident consent ledger. Every record is sealed and chained to the previous one, with CSV export and a one-click evidence report.
  • A deeper scan, every month. The crawl goes beyond the key pages, and a monthly re-scan emails you when a new tracker appears.
  • Premium styles and finishes. Glass, Branded, Frosted and Frosted Dark styles, a blurred backdrop, border color and thickness, shadow intensity, button text size and weight, spacing, and a reopen button made your way (text, icon or both, icon, side, distance, colors, shape, size and shadow).
  • Latin America pack. A generated privacy notice for Mexico and Brazil and a self-hosted ARCO / DSAR rights request channel.

Cookie Rocket Pro está disponible en templatesrocket.com. La versión gratuita publicada aquí es totalmente funcional y no necesita el plugin Pro para funcionar.

Capturas de pantalla

Instalación

  1. Sube la carpeta cookie-rocket al directorio /wp-content/plugins/, o instala el plugin directamente desde la pantalla de plugins de WordPress.
  2. Activa el plugin desde la pantalla Plugins de WordPress.
  3. Go to Cookie Rocket in the admin menu and answer one question: where your visitors come from. Nothing changes on your site until you answer; then the banner, the blocking and your cookie policy start in one click.
  4. Opcionalmente, coloca el shortcode [cookie-rocket-preferences] en tu página de política de privacidad para que los visitantes puedan actualizar sus preferencias en cualquier momento.

FAQ

¿Este plugin envía datos a servicios externos?

Not about your visitors. Cookie Rocket stores consent in the visitor’s browser (cookie + localStorage) and logs events to your own WordPress database; your visitors never generate a request to an outside server. The one exception is in your admin and only if you choose it: the optional feedback form shown when you deactivate the plugin. See “External services” below.

Why does Google Analytics show fewer visits after installing a consent banner?

Because a banner that really blocks keeps Google Analytics off until the visitor’s law allows it: where visitors must be asked first, those who do not answer or say no are not counted. They are still on your site; Analytics just cannot see them. Cookie Rocket tells you before it starts, in the answer you choose, and Status Reach Google Analytics shows how many of every 100 page views reach Analytics, why the rest does not, how to measure more where the law allows it, and the date of every change to your rules, so a drop can be matched to its cause. That figure comes from an anonymous daily count on your own site: no cookie, no IP address and no identifier is stored.

¿Es compatible con los plugins de caché?

Sí. El estado del banner se lee de una cookie propia, así que la caché (caché de página, caché de objetos, CDN) no interfiere en cómo se guarda ni en cómo se muestra el consentimiento.

¿Bloquea automáticamente los scripts de terceros?

Yes. The free version automatically blocks the most common third-party tracking scripts — Google Analytics, Meta (Facebook) Pixel, Hotjar, Microsoft Clarity, LinkedIn, TikTok, Google Ads and more — until the visitor accepts the matching cookie category, and it ships Google Consent Mode v2 (default denied) out of the box. Enqueued scripts are blocked by default; an optional setting also blocks scripts pasted directly into your theme or header. Cookie Rocket Pro adds scheduled monthly re-scans that email you when a new tracker appears, plus Google Consent Mode advanced, so Google can model the visits and conversions it loses to non-consent.

Is it a real GDPR cookie consent plugin, or just a cookie notice?

A real one. A cookie notice only tells visitors that the site uses cookies; Cookie Rocket stops the trackers. With GDPR selected, Google Analytics, Meta Pixel, Hotjar and the other optional trackers stay blocked until the visitor accepts, the Reject button sits on the first layer next to Accept, and every decision is saved in the consent log as proof. LGPD (Brazil) works the same way.

Does it work for CCPA / CPRA in the United States, and for LFPDPPP in Mexico?

Yes. Select CCPA / CPRA or LFPDPPP and the banner uses that law’s wording. Both laws allow opt-out, so you choose: cookies run until the visitor rejects, or the banner asks first. Visitors from the United States and the EU on the same site? Cookie Rocket Pro applies each region its own rules: opt-out for the United States, opt-in for the EU.

¿Está preparado para su traducción?

Sí. El dominio de texto es cookie-rocket y se incluye un archivo .pot completo en /languages/. Todas las cadenas del banner y de la ventana emergente están preparadas para su traducción. El plugin viene en inglés por defecto e incluye traducciones al español (es_ES) y al portugués de Brasil (pt_BR), que se aplican automáticamente en los idiomas correspondientes. WordPress también carga las traducciones de la comunidad para los plugins alojados en WordPress.org, y puedes traducir el banner por tu cuenta con Loco Translate o Poedit, o mediante WPML/Polylang.

¿Puede generar una página de política de cookies?

Sí. Agrega el shortcode [cookie_rocket_policy] a cualquier página, o ve a Cookie Rocket Política de cookies y crea la página con un clic. La página publica una tabla de declaración de cookies —cada cookie con su proveedor, finalidad y duración, agrupadas por categoría— construida a partir de tu última exploración y de un catálogo integrado de las cookies de terceros más habituales. Las cookies estrictamente necesarias aparecen siempre, y la tabla se actualiza automáticamente cada vez que vuelves a explorar.

¿Funciona en WordPress Multisite?

Sí. Cada sitio guarda sus propios ajustes. Actívalo sitio a sitio o en toda la red desde la administración de red.

Reseñas

30 de Octubre de 2026
Muy buena experiencia y todo en castellano He utilizado este plugin en cuatro webs y la experiencia ha sido muy buena. Destacaría especialmente que tanto el banner como las opciones de consentimiento aparecen en castellano, con textos claros y fáciles de entender. Es algo que se agradece cuando trabajas con webs para público español. Ha funcionado bien en las cuatro instalaciones y estoy muy contento con el resultado. ¡Recomendable! Great experience and clear Spanish translations I have used this plugin on four websites and have had a very good experience. I particularly appreciate that both the cookie banner and the consent options are available in clear, easy-to-understand Spanish. This is especially helpful when building websites for a Spanish-speaking audience. It has worked well on all four websites, and I am very happy with the results. Recommended!
Leer 1 comentario

Colaboradores & Desarrolladores

“Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

“Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD” ha sido traducido en 3 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD” 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 .

Historial de cambios

2.17.0

A cleaner banner, and a preferences dialog that holds in every language.
* The privacy notice link now closes the banner text, in the text’s own size, in every layout. It no longer takes a column of its own between the text and the buttons, so the text gets that width back.
* Preferences dialog: “Save preferences” and “Accept all” are always whole and the same size, side by side on a computer and one above the other on a phone, in English, Spanish and Portuguese.
* Status asks for a review only after Cookie Rocket has done something you can see, now also after a week of blocking at least one tracker, and offers a link to the support forum for anyone with a problem. “Later” waits 30 days; “Already did” never asks again.
* Banner Layout, Policy and the setup wizard show two Cookie Rocket Pro features, Decision required and Health site, with their lock. Nothing of them runs in the free version.
* Developers: the cookroco_buffer_html and cookroco_loggable_categories filters, showBanner and hideBanner extension hooks, and the cookroco_wizard_health_field and cookroco_wizard_step1_saved actions.
* Spanish and Brazilian Portuguese translations updated.
* Sites already running Cookie Rocket keep all their settings after the update.

2.16.7

Rules that fit where your visitors are. A new install asks “Where do your visitors come from?”. From several countries, the recommended answer, visitors in the EU, the EEA, the UK, Switzerland and Brazil are asked first under their own law, and everyone else is measured from their first visit with Reject on screen. The country comes from the visitor’s time zone, in their browser, so it works behind a page cache.
* Mexico: the LFPDPPP (2025) takes tacit consent for data that is neither sensitive nor financial, so a Mexican site can measure until the visitor rejects. The banner then says so and points to your privacy notice.
* Under opt-out, the banner text says the cookies are active until the visitor rejects them.
* A site that runs opt-out never applies it to visitors from the EU, the EEA, the UK, Switzerland or Brazil.
* Status offers the recommended rules to sites set up before, and changes nothing until you apply them.
* New optional “Statistics only” button, with the same look as Reject and Accept: accepts measurement and nothing else. Off unless you turn it on.
* The time-zone map now covers every US time zone and their older names.
* Nothing changes on a new site until you answer. The banner and the blocking start when you say where your visitors come from, and each answer tells you what it does to Google Analytics.
* Status Reach Google Analytics: the share of page views Analytics can count, and a screen with why the rest does not, how to measure more, and the date of every change to your rules. An anonymous daily count on your own site, with no cookie, IP address or identifier.
* Sites already running Cookie Rocket keep working exactly as before after the update.

2.16.6

Las notas de versiones anteriores están disponibles en el historial de desarrollo del plugin en WordPress.org.