Title: RuCookie &amp; 152-ФЗ
Author: itobereg
Published: <strong>2026 年 7 月 25 日</strong>
Last modified: 2026 年 9 月 14 日

---

搜尋外掛

![](https://s.w.org/plugins/geopattern-icon/rucookie.svg)

# RuCookie & 152-ФЗ

 由 [itobereg](https://profiles.wordpress.org/itobereg/) 開發

[下載](https://downloads.wordpress.org/plugin/rucookie.1.0.7.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/rucookie/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/rucookie/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/rucookie/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/rucookie/#developers)

 [技術支援](https://wordpress.org/support/plugin/rucookie/)

## 外掛說明

RuCookie adds a responsive cookie consent banner with three clear choices:

 * Accept all cookie categories;
 * Reject optional cookies and keep only necessary cookies;
 * Open preferences and choose analytics, advertising, and functional cookies separately.

RuCookie website: https://itobereg.ru/products/rucookie/
 Free features: https://
itobereg.ru/products/rucookie/#free

The visitor’s choice is stored in a first-party cookie for one year. The Free edition
does not send data to the developer, create custom database tables, or maintain 
a consent log.

#### Free Features

 * Responsive banner and preferences modal;
 * Necessary, Analytics, Advertising, and Functional categories;
 * Editable button labels, category descriptions, and document links;
 * Simple color settings;
 * Optional persistent “Cookie settings” button shown after a visitor makes a choice;
 * `[rucookie_settings]` shortcode for reopening cookie preferences;
 * A numeric Yandex Metrica counter ID field; RuCookie generates the integration
   code;
 * Three Metrica loading modes: always, until rejected, or only after consent;
 * Optional Webvisor initialization, disabled by default;
 * Local plugin assets without a CDN;
 * No telemetry or requests to the developer’s servers.

#### Free Edition Scope

RuCookie Free controls only the Yandex Metrica counter configured by its numeric
ID in the plugin settings. It does not find, modify, or disable code added by a 
theme, Google Tag Manager, another plugin, or custom code.

The Free edition does not include universal third-party script blocking, a consent
log, CSV export, or integrations with the Yandex Advertising Network, Bitrix24, 
or Contact Form 7.

#### Important Notice

RuCookie is a technical tool that helps website owners display a cookie notice and
provide consent choices. The plugin does not guarantee compliance with Federal Law
No. 152-FZ or any other legal requirement. The website owner is responsible for 
selecting the appropriate settings, legal basis, and document text. Consult a qualified
legal professional when necessary.

### External Services

RuCookie does not connect to the developer’s servers.

If a site administrator enables the integration and enters a Yandex Metrica counter
ID, the visitor’s browser downloads the Metrica tag from `https://mc.yandex.ru/`
according to the selected loading mode. The administrator can also explicitly enable
Webvisor initialization. Yandex Metrica provides website analytics and, when enabled,
Webvisor session recording. Data sent to Yandex and its applicable terms depend 
on the counter configuration chosen by the site administrator.

 * Yandex Metrica documentation: https://yandex.com/support/metrica/
 * Yandex Metrica Terms of Use: https://yandex.com/legal/metrica_termsofuse/
 * Yandex Privacy Policy: https://yandex.com/legal/confidential/

### RuCookie Pro

RuCookie Pro is a separate commercial plugin distributed outside WordPress.org. 
It includes the Free features and offers a 3-day trial. The Free archive contains
no Pro code, licensing system, or time-limited functionality.

Learn more about RuCookie Pro: https://itobereg.ru/products/rucookie/#pro

Pro features include:

 * Consent log with filters and search;
 * CSV export;
 * Configurable record retention;
 * Integrations with the Yandex Advertising Network, Bitrix24 chat, and Contact 
   Form 7.

### Privacy

RuCookie Free saves its configuration in the WordPress `rucookie_settings` option
and the visitor’s choice in the `rucookie_consent` cookie. The plugin does not create
custom database tables, record IP addresses, or send telemetry.

The WordPress option is removed when the plugin is uninstalled. Visitor cookies 
remain on their devices until they expire or are manually removed in the browser.

## 安裝方式

 1. In WordPress, open Plugins > Add New Plugin > Upload Plugin.
 2. Select the RuCookie ZIP archive, install it, and activate it.
 3. Open RuCookie in the WordPress administration menu.
 4. Configure the banner text and links to your documents.
 5. Review the category names and descriptions.
 6. Choose the banner colors.
 7. If required, enter the numeric Yandex Metrica counter ID, select its loading mode,
    and optionally enable Webvisor.
 8. Open the website in a private browser window and test every consent choice.

## 常見問題集

### Where is the visitor’s choice stored?

It is stored in the `rucookie_consent` first-party cookie on the visitor’s device
for one year. The choice is not written to the WordPress database.

### How can a visitor change their choice?

Enable the persistent preferences button in RuCookie > Banner, or place the `[rucookie_settings]`
shortcode in a page, post, or widget. In a PHP template, use the standard `do_shortcode('[
rucookie_settings]' )` call.

### Does RuCookie block all third-party scripts?

No. The Free edition controls only the Yandex Metrica counter configured by ID in
its own settings.

### Where can I find the Yandex Metrica counter ID?

Open the counter in your Yandex Metrica account and copy its numeric ID. Enter digits
only; JavaScript or HTML is not accepted.

### Do I need to modify the Astra theme’s header.php file?

No. RuCookie uses the standard WordPress script enqueue system. Its settings remain
in place when the theme is updated or replaced.

### Does the plugin use telemetry or connect to the developer’s server?

No. RuCookie Free does not send data to the developer. Requests to Yandex Metrica
can occur only after a site administrator enables the integration and adds a counter
ID.

### Does the plugin guarantee compliance with Federal Law No. 152-FZ?

No. The plugin provides technical controls, but the legal assessment depends on 
the website, connected services, documents, and actual data processing.

## 使用者評論

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

### 󠀁[Крутой плагин!](https://wordpress.org/support/topic/%d0%ba%d1%80%d1%83%d1%82%d0%be%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-27/)󠁿

 [spaceletter](https://profiles.wordpress.org/spaceletter/) 2026 年 9 月 4 日

Очень понравился! То что и искал, всё на русском, сразу принимает дизайн шаблона,
всёё топ, рекомендую

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/rucookie/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈RuCookie & 152-ФЗ〉的開發相關工作。

參與者

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

[將〈RuCookie & 152-ФЗ〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/rucookie)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/rucookie/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/rucookie/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/rucookie/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/rucookie/)。

## 變更記錄

#### 1.0.7

 * Fixed Yandex Metrica initialization by creating the ym command queue before loading
   tag.js.
 * Added an optional Webvisor setting, disabled by default.

#### 1.0.6

 * Hide optional cookie category rows when both their name and description are empty.

#### 1.0.5

 * Fixed the persistent “Cookie settings” button after accepting, rejecting, or 
   saving preferences.
 * Restored Firefox-safe modal layout rules for cookie category switches.

#### 1.0.4

 * Added an explicit version to the Yandex Metrica script enqueue call.

#### 1.0.3

 * Initial public release.

## 中繼資料

 *  版本 **1.0.7**
 *  最後更新 **6 天前**
 *  啟用安裝數 **90+**
 *  WordPress 版本需求 ** 6.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/rucookie/)
 * 標籤:
 * [152-FZ](https://tw.wordpress.org/plugins/tags/152-fz/)[cookie banner](https://tw.wordpress.org/plugins/tags/cookie-banner/)
   [cookie consent](https://tw.wordpress.org/plugins/tags/cookie-consent/)[privacy](https://tw.wordpress.org/plugins/tags/privacy/)
   [yandex metrica](https://tw.wordpress.org/plugins/tags/yandex-metrica/)
 *  [進階檢視](https://tw.wordpress.org/plugins/rucookie/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/rucookie/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/rucookie/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/rucookie/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/rucookie/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/rucookie/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/rucookie/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/rucookie/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/rucookie/)