Title: Bato Cookie Consent
Author: Bato Web Agency
Published: <strong>2 Tháng 6, 2026</strong>
Last modified: 2 Tháng 6, 2026

---

Tìm kiếm plugin

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

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

# Bato Cookie Consent

 Bởi [Bato Web Agency](https://profiles.wordpress.org/batowebagency/)

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

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

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

## Mô tả

Bato Cookie Consent adds a configurable cookie consent interface to WordPress. It
provides an admin settings screen for banner content, policy links, consent categories,
cookie lifetime, floating preferences button, and Google Consent Mode integration.

The plugin is built for site owners and developers who need a local, customizable
consent banner without loading third-party assets by default.

#### Features

 * Consent banner with accept all, reject all, and custom preferences actions.
 * 34 built-in frontend languages with browser/site language detection and RTL support
   for Hebrew and Arabic.
 * Necessary, analytics, marketing, and preferences categories.
 * Editable banner, modal, button, category, and embed placeholder text.
 * Privacy policy and cookie policy links.
 * Floating preferences button after a visitor has saved choices.
 * YouTube and Vimeo embed placeholders that can wait for marketing consent.
 * Developer filter for adding scripts, embeds, and advanced configuration.
 * Optional Google Consent Mode updates when `gtag` is already present on the site.
 * Translation-ready PHP and JavaScript strings.

#### Supported Languages

The frontend consent interface includes built-in content for 34 languages: Arabic,
Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English, English (UK), Estonian,
Finnish, French, German, Greek, Hebrew, Hungarian, Italian, Japanese, Latvian, Lithuanian,
Macedonian, Norwegian, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian,
Spanish, Swedish, Turkish, Ukrainian, and Welsh.

The plugin can follow the visitor’s browser language, auto-detect the WordPress 
site language where possible, or use a fixed language selected in the settings.

#### Privacy

Bato Cookie Consent stores the visitor’s consent choices in the visitor’s browser
using a cookie or local storage, depending on the plugin settings. The plugin does
not collect personal data, send analytics, or contact external servers by default.

If you configure third-party scripts or embeds, those services may process visitor
data according to their own terms and privacy policies. The plugin can help delay
those scripts or embeds until the relevant consent category is allowed, but it does
not guarantee legal compliance. Site owners are responsible for configuring the 
banner, policies, and scripts for their jurisdiction.

#### Developer Usage

Developers can extend the frontend configuration with the `bato_cookie_consent_config`
filter:

    ```
    add_filter('bato_cookie_consent_config', function ($config) {
        $config['scripts'][] = array(
            'id' => 'analytics',
            'category' => 'analytics',
            'src' => 'https://example.com/analytics.js',
            'async' => true,
        );

        return $config;
    });
    ```

Source files and build tooling are included with the plugin. To rebuild production
assets, run:

    ```
    npm install
    npm run build
    ```

### Third-Party Notices

Bato Cookie Consent includes or builds with the following third-party packages. 
These licenses are GPL-compatible according to the GNU project’s GPL-compatible 
license list. Apache License 2.0 is compatible with GPLv3, so the plugin package
is licensed as GPLv3 or later.

#### Runtime assets

 * `@bato-web-agency/cookie-consent` – MIT License
 * `@mdi/font` – Apache License 2.0
 * `vue` – MIT License
 * `vuetify` – MIT License

#### Build tooling

 * `@vitejs/plugin-vue` – MIT License
 * `vite` – MIT License

Dependency metadata is recorded in `package-lock.json`.

## Ảnh màn hình

[⌊Cookie consent banner on the frontend with accept, reject, and customize actions.⌉⌊
Cookie consent banner on the frontend with accept, reject, and customize actions
.⌉[

Cookie consent banner on the frontend with accept, reject, and customize actions.

[⌊Centered cookie consent banner displayed in German language.⌉⌊Centered cookie 
consent banner displayed in German language.⌉[

Centered cookie consent banner displayed in German language.

[⌊Cookie Preferences modal with customizable consent settings.⌉⌊Cookie Preferences
modal with customizable consent settings.⌉[

Cookie Preferences modal with customizable consent settings.

[⌊Editing the main plugin settings and selecting the preferred language.⌉⌊Editing
the main plugin settings and selecting the preferred language.⌉[

Editing the main plugin settings and selecting the preferred language.

[⌊Editing multilingual content for all supported languages, including RTL languages.⌉⌊
Editing multilingual content for all supported languages, including RTL languages
.⌉[

Editing multilingual content for all supported languages, including RTL languages.

[⌊Prepared examples demonstrating advanced usage scenarios.⌉⌊Prepared examples demonstrating
advanced usage scenarios.⌉[

Prepared examples demonstrating advanced usage scenarios.

[[

## Cài đặt

 1. Upload the plugin files to the `/wp-content/plugins/bato-cookie-consent` directory,
    or install the plugin through the WordPress Plugins screen.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Go to Settings > Bato Cookie Consent.
 4. Configure banner content, policy links, consent categories, and advanced options.

## Hỏi đáp

### Does this plugin make my site legally compliant?

No. The plugin provides consent banner tooling, category controls, and script/embed
gating features, but site owners are responsible for legal review, policy text, 
and jurisdiction-specific configuration.

### Does the plugin contact external servers?

No external requests are made by default. External scripts or embeds are only involved
if you configure them through plugin settings, site content, or developer filters.

### Where are visitor choices stored?

Visitor consent choices are stored in the visitor’s browser using the configured
cookie or local storage option.

### Can developers add scripts or embeds by category?

Yes. Use the `bato_cookie_consent_config` filter to register scripts or embeds and
assign them to consent categories.

### Does Google Consent Mode load Google scripts?

No. The option updates Google Consent Mode values only when a compatible `gtag` 
setup already exists on the site.

## Đánh giá

Không có đánh giá nào cho plugin này.

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

“Bato Cookie Consent” 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

 *   [ Bato Web Agency ](https://profiles.wordpress.org/batowebagency/)

[Dịch “Bato Cookie Consent” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/bato-cookie-consent)

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

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

## Nhật ký thay đổi

#### 1.0.0

 * Initial release.

## Meta

 *  Phiên bản **1.0.0**
 *  Cập nhật lần cuối **1 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/bato-cookie-consent/)
 * Thẻ
 * [consent](https://vi.wordpress.org/plugins/tags/consent/)[cookies](https://vi.wordpress.org/plugins/tags/cookies/)
   [ePrivacy](https://vi.wordpress.org/plugins/tags/eprivacy/)[GDPR](https://vi.wordpress.org/plugins/tags/gdpr/)
   [privacy](https://vi.wordpress.org/plugins/tags/privacy/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/bato-cookie-consent/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

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

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

 *   [ Bato Web Agency ](https://profiles.wordpress.org/batowebagency/)

## 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/bato-cookie-consent/)