Title: Cookie Rocket – Cookie Consent Banner &amp; Script Blocker
Author: templatesrocketwp
Published: <strong>28 Tháng 5, 2026</strong>
Last modified: 18 Tháng 11, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/cookie-rocket/assets/banner-772x250.png?rev=3668103)

![](https://ps.w.org/cookie-rocket/assets/icon.svg?rev=3586718)

# Cookie Rocket – Cookie Consent Banner & Script Blocker

 Bởi [templatesrocketwp](https://profiles.wordpress.org/templatesrocketwp/)

[Tải về](https://downloads.wordpress.org/plugin/cookie-rocket.2.18.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/cookie-rocket/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/cookie-rocket/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/cookie-rocket/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/cookie-rocket/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/cookie-rocket/)

## Mô tả

**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 your visitors’ browsers never call an outside server. Real
script blocking, Google Consent Mode v2 and on-demand cookie scanning are included
free, with no pageview limits.

 * 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: on demand, it reads your key pages (home, blog and, 
   with WooCommerce, shop, cart, checkout and account) and detects which known tracking
   services they load and the cookies they set.
 * Automatic cookie policy / cookie declaration: a single shortcode (or one-click
   page) publishes a table of the cookies your scans detect and of the services 
   you declare yourself — provider, purpose and duration — grouped by category.
 * 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 colors, 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 behavior.
 * 100% local — no consent data is sent to third-party servers.
 * WooCommerce aware: lists WooCommerce’s necessary cookies in your cookie policy
   and scans your shop, cart and checkout pages.
 * 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 shows 
   the banner again; until the visitor decides anew, only necessary cookies run.
 * `[cookie_rocket_policy]` — renders the automatic cookie declaration table (provider,
   purpose and duration per cookie, grouped by category).

### 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](https://templatesrocket.com/terms-of-service/),
   [privacy policy](https://templatesrocket.com/privacy-policy/).

### Cookie Rocket Pro

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

 * **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, plus country exceptions. 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.
 * **Latin America pack.** A generated privacy notice for Mexico and Brazil and 
   a self-hosted ARCO / DSAR rights request channel.
 * **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.
 * **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.
 * **Decision required and Health mode.** The page waits, blurred, until the visitor
   accepts or rejects — both with the same weight, only where the law asks first.
   Health mode, for doctors, clinics, dentists, therapists and hospitals, keeps 
   advertising trackers off appointment and patient pages, and keeps what analytics
   receives from revealing a condition.
 * **Updates and support** with the license.

Cookie Rocket Pro is available at [templatesrocket.com](https://templatesrocket.com/cookie-rocket-pro/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=cookie-rocket-free).
The free version published here is fully functional and does not require the Pro
plugin to work.

## Ảnh màn hình

[⌊The scanner finds the trackers on your site and tells you exactly what happens
to each one: blocked until consent, governed by Consent Mode v2, or pasted directly
into your HTML — with the switch that fixes it.⌉⌊The scanner finds the trackers 
on your site and tells you exactly what happens to each one: blocked until consent,
governed by Consent Mode v2, or pasted directly into your HTML — with the switch
that fixes it.⌉[

The scanner finds the trackers on your site and tells you exactly what happens to
each one: blocked until consent, governed by Consent Mode v2, or pasted directly
into your HTML — with the switch that fixes it.

[⌊The consent banner on a live site. Google Analytics, Meta Pixel and Hotjar stay
blocked until the visitor chooses; the reject button sits on the first layer, one
click away.⌉⌊The consent banner on a live site. Google Analytics, Meta Pixel and
Hotjar stay blocked until the visitor chooses; the reject button sits on the first
layer, one click away.⌉[

The consent banner on a live site. Google Analytics, Meta Pixel and Hotjar stay 
blocked until the visitor chooses; the reject button sits on the first layer, one
click away.

[⌊Granular preferences: visitors allow or deny each category, with strictly-necessary
always on.⌉⌊Granular preferences: visitors allow or deny each category, with strictly-
necessary always on.⌉[

Granular preferences: visitors allow or deny each category, with strictly-necessary
always on.

[⌊The consent log, included in the free version: every decision, the categories 
accepted, and the visitor identified only by a pseudonymous code made from their
IP address and a secret key of your site. The IP address itself is never stored.⌉⌊
The consent log, included in the free version: every decision, the categories accepted,
and the visitor identified only by a pseudonymous code made from their IP address
and a secret key of your site. The IP address itself is never stored.⌉[

The consent log, included in the free version: every decision, the categories accepted,
and the visitor identified only by a pseudonymous code made from their IP address
and a secret key of your site. The IP address itself is never stored.

[⌊Status at a glance — blocking, Consent Mode v2, the law applied, and your consent
numbers.⌉⌊Status at a glance — blocking, Consent Mode v2, the law applied, and your
consent numbers.⌉[

Status at a glance — blocking, Consent Mode v2, the law applied, and your consent
numbers.

## Cài đặt

 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 and answer one question: where your visitors
    come from. On a single site, nothing changes until you answer (a network activation
    starts every site at once); then the banner, the blocking and your cookie policy
    start in one click.
 4. Optionally, place the `[cookie_rocket_preferences]` shortcode in your privacy policy
    page to let visitors update their choices at any time.

## Hỏi đáp

### Does this plugin send any data to external services?

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.

### Is it compatible with caching plugins?

Yes. The consent state lives in the visitor’s browser (a first-party cookie and 
localStorage) and is read there, 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 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.

### Is it a Google-certified CMP? Does it support the IAB TCF?

No. Cookie Rocket is not on Google’s list of certified consent management platforms(
CMPs) and does not implement the IAB Transparency & Consent Framework (TCF). If 
you show **personalized ads with AdSense, Ad Manager or AdMob** to visitors in the
EEA, the UK or Switzerland, Google requires a certified CMP that integrates with
the TCF; without one, that traffic only qualifies for non-personalized or limited
ads. Google Consent Mode v2 for Google Analytics and Google Ads conversion tracking
works as described above.

### 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.

### Can my theme adjust the banner’s look?

Yes, with CSS custom properties, no `!important` needed. Set any of these, for example`:
root { --cr-banner-radius: 12px; }`: `--cr-banner-bg`, `--cr-banner-text`, `--cr-
banner-muted` (the message), `--cr-banner-accept-bg`, `--cr-banner-accept-text`,`--
cr-banner-radius`, `--cr-banner-font`, `--cr-banner-title-size`, `--cr-banner-text-
size` and `--cr-banner-space` (inner spacing, 1 = standard). Anything you leave 
unset keeps what you chose in the panel. If you change a color, check its contrast
yourself: the panel only measures its own colors.

### Does it work on WordPress Multisite?

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

## Đánh giá

![](https://secure.gravatar.com/avatar/6e5cc52cd88525ef70525cda745d302ba852efc74f39c241572af02f800bd09f?
s=60&d=retro&r=g)

### 󠀁[Muy buena experiencia y todo en castellano](https://wordpress.org/support/topic/muy-buena-experiencia-y-todo-en-castellano/)󠁿

 [herlara](https://profiles.wordpress.org/herlara/) 30 Tháng 10, 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!

 [ Đọc tất cả 1 đánh giá ](https://wordpress.org/support/plugin/cookie-rocket/reviews/)

## Người đóng góp & Lập trình viên

“Cookie Rocket – Cookie Consent Banner & Script Blocker” là mã nguồn mở. Những người
sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ templatesrocketwp ](https://profiles.wordpress.org/templatesrocketwp/)

“Cookie Rocket – Cookie Consent Banner & Script Blocker” đã được dịch qua 3 ngôn
ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/cookie-rocket/contributors)
vì đóng góp của họ.

[Dịch “Cookie Rocket – Cookie Consent Banner & Script Blocker” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/cookie-rocket)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/cookie-rocket/), check out
[SVN repository](https://plugins.svn.wordpress.org/cookie-rocket/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/cookie-rocket/) qua 
[RSS](https://plugins.trac.wordpress.org/log/cookie-rocket/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.18.0

**A full review of every feature, screen and text, in English, Spanish and Portuguese,
on computers and phones.**
 * Security: the banner only restores the video placeholders
Cookie Rocket made on that page load, never one written into a post. * Safari (iPhone
and Mac): the visitor’s choice now lasts the days you set, not about seven. Your
site also writes the consent cookie from the server. * Opt-out (United States, Mexico):
a rejection that expires, or a new policy version, no longer turns the trackers 
back on. They stay off until the visitor decides again. * Google Ads loaded with
gtag.js (`AW-…`) now waits for Marketing, not Statistics. * Trackers added by another
script, or printed with `wp_print_script_tag()`, are blocked too. * Released scripts
keep their `nonce`, so sites with a Content Security Policy run them after consent.*
Restored embeds keep accents and emoji. * Preferences dialog: “Reject all” next 
to “Accept all”, with the same weight. The dialog takes the banner’s colors, corners
and buttons. Under opt-out it shows the running categories as on. * The banner’s
link reads “Privacy notice” under Mexico’s LFPDPPP and “Privacy policy” under every
other law. * Consent log: it records the law the visitor actually saw. Behind a 
trusted proxy (private network, Cloudflare, or one you declare with a filter) the
limits and the visitor code use the visitor’s address, not the proxy’s. * The anonymous
count behind Status  Reach Google Analytics has the same limit per address as consent:
60 a minute. * On a new site, the scanner turns on the categories it finds, and 
the cookie policy declares them along with the services you add yourself. * Status
no longer says “Protection is live” before Cookie Rocket is running. * Every setting
is edited in one place, Settings. The other screens show a summary with a link to
the field. * Shortcodes: all are now `[cookie_rocket_…]`: `[cookie_rocket_preferences]`,`[
cookie_rocket_withdraw]` and `[cookie_rocket_policy]`. The old names `[cookie-rocket-
preferences]`, `[cookie-rocket-withdraw]` and `[cookie-rocket-policy]` keep working
on the pages that use them. * Multisite: uninstalling cleans every site, and a network
deactivation removes the scheduled task from every site. * Admin on phones: no sideways
scrolling and no cut-off menus or buttons, in all three languages. * Keyboard focus
on your pages is never hidden behind the banner’s bar. * With Cookie Rocket Pro 
installed and waiting, the free plugin’s Pro links read “Use Pro” and switch to 
it in the same tab. * Lighter: JavaScript and CSS are served minified. With `SCRIPT_DEBUG`
on, the readable files load. * Spanish and Brazilian Portuguese translations reviewed
and updated. * Sites already running Cookie Rocket keep all their settings after
the update.

#### 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** (per-site activation).
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

Older release notes are available in the plugin’s development history on WordPress.
org.

## Plugin thương mại

Plugin này là miễn phí nhưng cung cấp các nâng cấp trả phí hoặc hỗ trợ bổ sung. 
[Xem hỗ trợ](https://templatesrocket.com/cookie-rocket-pro/)

## Meta

 *  Phiên bản **2.18.0**
 *  Cập nhật lần cuối **21 giờ trước**
 *  Số lượt cài đặt **90+**
 *  Phiên bản WordPress ** 5.9 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.5**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/cookie-rocket/), [Spanish (Chile)](https://cl.wordpress.org/plugins/cookie-rocket/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/cookie-rocket/), và [Spanish (Spain)](https://es.wordpress.org/plugins/cookie-rocket/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/cookie-rocket)
 * Thẻ
 * [consent mode](https://vi.wordpress.org/plugins/tags/consent-mode/)[Consent Mode v2](https://vi.wordpress.org/plugins/tags/consent-mode-v2/)
   [cookie banner](https://vi.wordpress.org/plugins/tags/cookie-banner/)[cookie consent](https://vi.wordpress.org/plugins/tags/cookie-consent/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/cookie-rocket/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cookie-rocket/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cookie-rocket/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cookie-rocket/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cookie-rocket/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cookie-rocket/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cookie-rocket/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/cookie-rocket/reviews/)

## Những người đóng góp

 *   [ templatesrocketwp ](https://profiles.wordpress.org/templatesrocketwp/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/cookie-rocket/)