plugin-icon

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

Lightweight cookie consent banner that actually blocks trackers until consent. Google Consent Mode v2, cookie scanner — GDPR, LGPD & LFPDPPP.
Version
2.15.16
Active installations
30
Last updated
Aug 28, 2026
Cookie Rocket, Cookie Consent Banner and Script Blocker for GDPR, CCPA and LGPD

Cookie Rocket is a WordPress cookie consent banner that blocks Google Analytics, Meta Pixel, Hotjar and other third-party tracking scripts until the visitor consents, with Google Consent Mode v2, a cookie scanner and a consent log included in the free version. It is for any site that has to comply with GDPR, CCPA / CPRA, LGPD (Brazil) or LFPDPPP (Mexico), each with its own banner wording and consent rules, selectable per site.

It is a fully self-hosted alternative to cloud cookie-consent services: no account, no monthly SaaS fee and no external calls. 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.

  • Automatic script blocking: common third-party trackers (Google Analytics, Meta Pixel, Hotjar, Microsoft Clarity, LinkedIn, TikTok and more) are blocked until consent, with Google Consent Mode v2 built in.
  • Built-in cookie scanner: detect on demand which known tracking services are present on your site and the cookies they set.
  • Automatic cookie policy / cookie declaration: a single shortcode (or one-click page) publishes a table of every cookie your site uses — provider, purpose and duration — grouped by category and updated from your scans.
  • Consent audit log with an admin viewer: every consent decision is recorded and browsable for compliance.
  • Editable cookie categories: rename, re-describe and reorder the categories shown on the banner.
  • Unified Cookie Banner editor: layout, content (text and labels) and colours, all in one place.
  • Zero external scripts and zero CDN dependencies — everything is served from your own site.
  • Framework selector: GDPR, CCPA / CPRA, LGPD (Brazil) and LFPDPPP (Mexico), each with its own banner wording and consent behaviour.
  • 100% local — no consent data is sent to third-party servers.
  • WooCommerce aware: respects shop pages and checkout.
  • Fully customizable colors, fonts sizes, copy and banner position.
  • WCAG 2.1 AA accessible: keyboard navigation, focus states, ARIA labels.
  • Multisite compatible.
  • Five banner layouts: bottom bar, top bar, floating card, modal and drawer.

Shortcodes

  • [cookie-rocket-preferences] — renders a button that re-opens the cookie preferences modal.
  • [cookie-rocket-withdraw] — renders a link that withdraws consent and clears stored preferences.
  • [cookie_rocket_policy] — renders the automatic cookie declaration table (provider, purpose and duration per cookie, grouped by category).

Cookie Rocket Pro

Cookie Rocket Pro is a commercial extension built on top of the free plugin. It adds:

  • A catalog of 42 recognized services covering 240 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 12 services; the remaining descriptions are typed in by hand.
  • One-click setup. A single action detects the applicable region, runs the first scan, publishes the banner and creates the cookie policy page.
  • A live banner editor. Layout, copy and colors are edited next to a preview that redraws as you type.
  • Placeholders for blocked embedded content. When a video, map or feed is held back, the page keeps its layout: the placeholder names the provider, reserves the same space and offers to load that item once or to allow its category from then on.
  • Services you declare yourself. Anything outside the catalog can be added by name, with the script address to block and the description of its cookies for the policy table.
  • A scanner that reads the shop. WooCommerce pages are included in the crawl, and each report marks what is new since the previous scan.

Also included: Google Consent Mode advanced, which keeps Google Ads and GA4 measurement running while consent is denied; a tamper-evident consent ledger with one-click audit evidence; per-visitor framework routing, so each visitor gets the banner wording and consent behavior of GDPR in Europe, CCPA in the United States, LFPDPPP in Mexico or LGPD in Brazil; a Latin America pack with a generated privacy notice and a self-hosted ARCO / DSAR rights request channel; Google Tag Manager integration; scheduled monthly re-scans with email alerts; CSV export of the consent log; and extended log retention.

Cookie Rocket Pro is available at templatesrocket.com. The free version published here is fully functional and does not require the Pro plugin to work.

Freeon paid plans
Tested up to
WordPress 7.0.4
This plugin is available for download for your site.