Title: RuCookie &amp; 152-ФЗ
Author: itobereg
Published: <strong>July 25, 2026</strong>
Last modified: July 25, 2026

---

Search plugins

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

# RuCookie & 152-ФЗ

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

[Download](https://downloads.wordpress.org/plugin/rucookie.1.0.4.zip)

 * [Details](https://wordpress.org/plugins/rucookie/#description)
 * [Reviews](https://wordpress.org/plugins/rucookie/#reviews)
 *  [Installation](https://wordpress.org/plugins/rucookie/#installation)
 * [Development](https://wordpress.org/plugins/rucookie/#developers)

 [Support](https://wordpress.org/support/plugin/rucookie/)

## Description

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;
 * `[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;
 * 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. Yandex Metrica provides website analytics.
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.

## Installation

 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 and select its loading
    mode.
 8. Open the website in a private browser window and test every consent choice.

## FAQ

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

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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“RuCookie & 152-ФЗ” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “RuCookie & 152-ФЗ” into your language.](https://translate.wordpress.org/projects/wp-plugins/rucookie)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rucookie/), check out
the [SVN repository](https://plugins.svn.wordpress.org/rucookie/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/rucookie/) by [RSS](https://plugins.trac.wordpress.org/log/rucookie/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

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

#### 1.0.3

 * Initial public release.

## Meta

 *  Version **1.0.4**
 *  Last updated **9 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [152-FZ](https://wordpress.org/plugins/tags/152-fz/)[cookie banner](https://wordpress.org/plugins/tags/cookie-banner/)
   [cookie consent](https://wordpress.org/plugins/tags/cookie-consent/)[privacy](https://wordpress.org/plugins/tags/privacy/)
   [yandex metrica](https://wordpress.org/plugins/tags/yandex-metrica/)
 *  [Advanced View](https://wordpress.org/plugins/rucookie/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/rucookie/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rucookie/)