Cookies are small text files that a website saves in the user's browser. They allow the site to "remember" actions, preferences, and technical parameters of the visit: interface language, shopping cart contents, page behavior, referral source, and much more.

Thanks to cookies, websites become more user-friendly, and businesses operate more efficiently. Cookies are used for:
However, in recent years, cookies have come under regulatory scrutiny. Why?
Modern cookies can contain unique identifiers that allow tracking the actions of a specific individual, even without revealing their name. This already falls under the definition of personal data.
In most cases, cookies are set silently when a website loads. The user doesn’t have a chance to give consent or even realize their data is being processed.
Under Russian law (specifically, Federal Law No. 152-FZ "On Personal Data"), any processing of information that can identify a user requires their informed and voluntary consent.
Thus, if your website uses analytical, advertising, or personalization cookies, you must notify users and obtain their consent for data processing.
Even if cookies don’t contain a user’s full name or email, their combination—such as IP address, behavior, or device IDs—can still identify a person. This is why cookies fall under legal regulation.
In Russia, the primary law governing personal data is Federal Law No. 152-FZ "On Personal Data." It requires that any actions involving personal data (collection, storage, use, transfer) be based on lawful purposes and subject to the data subject’s consent.
At first glance, cookies seem like mere technical markers. But in practice, they:
All this combined can identify a user or at least individualize their behavior—meaning such data is considered personal.
Roskomnadzor (Russia’s communications regulator) explicitly states: if cookies allow or facilitate user identification, they fall under the scope of 152-FZ.
Key provisions of Law No. 152-FZ regarding cookies:
Violating personal data processing rules may lead to:
Even small websites or blogs must comply. A cookie consent banner is no longer a formality—it’s a legal requirement.
Even with a cookie banner, many sites still violate the law—often unintentionally, due to misunderstanding legal requirements. Below are the most frequent errors that can lead to trouble.
A banner with an "Accept" button but no alternative (e.g., closing without consent or adjusting settings) doesn’t count as voluntary consent and may be deemed invalid.
Some sites load analytical and marketing cookies immediately upon visit, before obtaining user consent. This violates the principle of prior notice and can result in fines.
The law requires users to be informed about the purpose, methods, and scope of data processing. A vague "We use cookies" message isn’t enough—there must be a clear, accessible link to the privacy policy.
Some sites interpret "continued use of the site" as consent, but this doesn’t meet 152-FZ requirements. The law demands active confirmation—clicking a button, checking a box, or similar action.
If a user declines consent or closes the banner but returns later, the banner should reappear. Failing to do so may be seen as a violation of consent storage rules.
The safest approach is using a solution designed for legal compliance from the start. For example, QForm’s cookie notification script includes all legally required elements:
Learn more about how it works and how to install it in our article Free Cookie Consent Script for Websites by QForm.
To comply with 152-FZ and avoid issues with users or regulators, a simple banner isn’t enough. You need a transparent and correct cookie processing workflow. Here are the key legal requirements.
User consent must be:
Continued site use doesn’t qualify as valid consent.
Under 152-FZ, site owners must disclose:
Users must have the right to:
An "Accept" button without alternatives violates the law.
If a user consents to cookies, their choice must be:
This mandatory document must be linked in the banner. It should describe:
A properly implemented cookie banner isn’t just about compliance—it builds user trust. For a hassle-free solution, consider a ready-made option.
Everything above isn’t just theory—it’s a practical requirement for all cookie-using websites. But implementing it correctly can be tricky: you need legally precise wording, technical execution, cross-browser compatibility, and design adaptation.
That’s why QForm developed a ready-made, free, and legally compliant cookie consent script that:
It automatically adds a pop-up cookie notice with:
Legal Requirement |
What QForm Script Does |
| Prior Notification | Banner appears before cookies are loaded |
| Explicit and Voluntary Consent | "Accept" button with customizable text and style |
| User Information | Option to include link to privacy policy |
| Flexible Display Settings | Customizable colors, position, fonts, and text |
| Consent Storage | Storage period is configurable and matches processing purposes (e.g., 30, 60 or 90 days). Users can withdraw consent at any time. |
Prior NotificationBanner appears before cookies are loadedExplicit and Voluntary Consent"Accept" button, customizable text and styleUser TransparencyOption to link to the privacy policyFlexible Display SettingsCustomizable colors, position, fonts, and textConsent StorageStorage duration is configurable and aligns with processing purposes (e.g., 30, 60, or 90 days). Users can withdraw consent anytime.
We’ve already covered the script’s setup and customization examples in detail in a separate article.
Cookies are a vital tool for analytics, personalization, and advertising, but the law also sees them as a potential risk if mishandled. Federal Law No. 152-FZ requires that any collection and processing of personal data occur with user consent—and cookies (even technical ones) are increasingly treated as such data.
If you want to protect your site and do it right, you don’t need to build a solution from scratch.