Linux 软件免费装
Banner图

Cookie Rocket - Cookie Consent & Privacy Compliance

开发者 templatesrocketwp
更新时间 2026年6月11日 02:58
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

gdpr cookie consent cookie banner lgpd consent mode

下载

1.9.0 1.9.1 2.1.6 2.3.0 2.1.2 2.1.3 2.9.1 1.0.2 2.11.0 2.9.0 1.0.0 1.1.1 1.4.0 1.7.0 2.1.1 2.1.5 2.1.7 2.1.8 2.2.0 1.0.1 1.0.3 1.0.4 1.0.5 1.1.0 1.1.2 1.2.0 1.3.0 1.5.0 1.6.0 1.8.0 1.8.1 1.8.2 2.0.0 2.1.0 2.1.4 2.1.9 2.10.0 2.11.1 2.11.2 2.11.3 2.12.0 2.4.0 2.5.0 2.5.1 2.6.0 2.6.1 2.7.0 2.8.0

详情介绍:

Cookie Rocket is a lightweight cookie consent plugin that actually blocks third-party tracking scripts until your visitors consent — not just a banner on top. Automatic blocking of Google Analytics, Meta Pixel, Hotjar and more, plus Google Consent Mode v2, a cookie scanner and a consent log, are all included in the free version. Native compliance for GDPR, LGPD (Brazil) and LFPDPPP (Mexico). 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. Shortcodes Cookie Rocket Pro A commercial Pro version with automatic geo-routing, cookie scanner, full audit log, REST API and Google Tag Manager integration is available at templatesrocket.com. The free version published here is fully functional and does not require the Pro plugin to work.

安装:

  1. Upload the cookie-rocket folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Cookie Rocket in the admin menu to configure the banner copy, colors and behavior.
  4. Optionally, place the [cookie-rocket-preferences] shortcode in your privacy policy page to let visitors update their choices at any time.

屏幕截图:

  • Granular preferences: visitors allow or deny each cookie category, with strictly-necessary always on.
  • The Cookie Banner editor — choose a layout and match your brand, no code required.
  • The built-in cookie scanner detects third-party trackers and lists the cookies they set.
  • Dashboard — compliance coverage and consent metrics at a glance.

升级注意事项:

2.12.0 Pick your law (GDPR/LGPD/LFPDPPP) in Settings and the banner's default legal text follows it — new installs detect it from the site language. Also fixes the framework resetting to generic on save. 2.11.2 Polish & fixes from a full audit: correct consent-duration in the cookie policy, modal description now shows, working privacy-policy link, salted (irreversible) IP hashes, and broader WordPress compatibility. No settings change. 2.11.1 Fixes consent texts being cut off at 200 characters (the GDPR/LFPDPPP templates were truncated). After updating, re-pick your template or re-save to store the full message. 2.11.0 Adds an opt-in "Quick feedback" prompt on deactivation. Skipping sends nothing; no personal data is ever collected. Your settings and banner are unchanged. 2.1.4 Fixes button readability and form spacing in the admin. Native, clean WordPress styling. No changes to settings or the banner. 2.1.3 Cleaner Settings and Banner Design screens (sub-navigation + accordions) and a fully neutral monochrome admin. Your settings and banner are unchanged. 2.1.2 A calmer, neutral admin palette (standard WordPress blue and greys). No changes to settings or the banner. 2.1.1 A cleaner, guided dashboard that makes setup obvious. Your settings and banner are unchanged. 2.1.0 Adds a compliance health dashboard, a visual banner layout picker, neutral style presets, click-to-load embed placeholders and a refreshed cookie scanner. Your saved settings are unchanged. 1.9.1 Adds a Brazilian Portuguese translation, auto-applied on Portuguese-language sites. No other changes. 1.9.0 Internationalization: English is now the default language, with a bundled Spanish translation auto-applied on Spanish sites (all es_* locales). Your saved banner copy and categories are unchanged. 1.8.2 Documentation and listing copy only — no code changes. 1.8.1 Housekeeping only: removes an unused legacy stylesheet that was never loaded. No change to the banner. 1.8.0 The "Drawer" banner layout is now a distinct right-side panel (it previously matched the floating card). Only affects sites using the Drawer layout; other layouts are unchanged. 1.7.0 Adds a live banner preview on the Banner Design screen. Safe update; no change to the banner shown to visitors. 1.6.0 New Categories editor lets you rename, re-describe and reorder the cookie categories shown on the banner. Safe update; existing categories are unchanged until you edit them. 1.5.0 The admin screens are now fully translatable. No visible change; safe update. 1.4.0 New Consent Log viewer under Cookie Rocket → Consent Log shows recorded consents for compliance. Safe update; read-only, no change to the banner. 1.3.0 Translation readiness: the banner and modal strings are now fully translatable and a complete .pot is included. No visible change by default; translate via Loco Translate, WPML/Polylang or translate.wordpress.org. 1.2.0 New Cookie Scanner under Cookie Rocket → Scanner: detects known tracking services on your site on demand and shows what is being blocked. Safe update; no change to the banner or blocking behavior. 1.1.2 Robustness fix: default categories and settings now self-heal if missing, so the preferences modal and "Accept all" work even on installs where activation never ran. Recommended. 1.1.1 Important fix for 1.1.0: "Accept all" and the preferences modal now correctly enable the chosen categories, so scripts blocked before consent are re-activated when the visitor accepts. Recommended for everyone on 1.1.0. 1.1.0 Major update: Cookie Rocket now actually blocks common tracking scripts (Google Analytics, Meta Pixel, Hotjar and more) until consent, with Google Consent Mode v2 built in. Review Settings → Script Blocking after updating, especially if you use a caching plugin. 1.0.5 Correctness fixes: custom banner copy and consent duration set in Settings are now actually applied, and the consent audit log records events again. Recommended update; the banner looks the same by default. 1.0.4 Post-consent floating button now defaults to OFF for a cleaner site. Installs that explicitly enabled it keep it enabled; re-enable any time in Settings. The [cookie-rocket-preferences] shortcode is always available as alternative. 1.0.3 Important fix: the preferences modal can now be closed (X button) after consent, the title typography no longer inherits the theme's heading font, and the floating button can be hidden via a new setting. Recommended update. 1.0.2 Adds a Pro features showcase panel at the bottom of the Settings page. Safe to update — no functional changes to the cookie banner itself. 1.0.1 Visual refresh only. Brand-aligned colors in the preferences modal. Safe to update. 1.0.0 First public release.

常见问题:

Does this plugin send any data to external services?

No. Cookie Rocket stores consent entirely in the visitor's browser (cookie + localStorage) and logs events to your own WordPress database. No third-party requests are made.

Is it compatible with caching plugins?

Yes. The banner state is read from a first-party cookie, so caching (page cache, object cache, CDN) does not interfere with consent storage or display.

Does it block third-party scripts automatically?

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 a scanner that discovers and auto-categorizes any script or cookie on your site — including ones not in the built-in list — plus unlimited custom rules.

Is it translation-ready?

Yes. The text domain is cookie-rocket and a complete .pot file is included under /languages/. All banner and modal strings are wrapped for translation. The plugin ships in English by default with Spanish (es_ES) and Brazilian Portuguese (pt_BR) translations bundled, applied automatically on matching locales. WordPress also loads community translations for plugins hosted on WordPress.org, and you can translate the banner yourself with Loco Translate or Poedit, or via WPML/Polylang.

Can it generate a cookie policy page?

Yes. Add the [cookie_rocket_policy] shortcode to any page, or go to Cookie Rocket → Cookie Policy and create the page in one click. It publishes a cookie declaration table — each cookie with its provider, purpose and duration, grouped by category — built from your latest scan plus a built-in catalog of the most common third-party cookies. Strictly-necessary cookies are always listed, and the table updates automatically as you re-scan.

Does it work on WordPress Multisite?

Yes. Each site stores its own settings. Activate per-site or network-activate from the network admin.

更新日志:

2.12.0 2.11.3 2.11.2 2.11.1 2.11.0 2.10.0 2.9.1 2.9.0 2.8.0 2.7.0 2.6.1 2.6.0 2.5.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.0 1.9.1 1.9.0 1.8.2 1.8.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0