What is the cookielawinfo-checkbox-advertisement cookie?
This cookie belongs to the "cookielawinfo-checkbox-*" family generated automatically by CookieYes, a consent management platform (CMP) widely used on WordPress and other sites. It is set by the banner's script directly on the website's own domain (a first-party cookie), not by CookieYes as a third party.
It appears as soon as a visitor interacts with the cookie banner — whether by checking/unchecking the "Advertisement" category or clicking "Accept All" / "Reject All". It is present on any site running CookieYes with the advertisement category enabled.
What data it stores
The cookie stores a single piece of information: the state of the "Advertisement" checkbox in the preferences panel. The typical value is yes or no, depending on the visitor's choice, or the default state if the visitor hasn't interacted with the banner yet.
The data stays stored locally, in the browser, on the domain of the site running the script; it is not sent to CookieYes' servers or any other third party. The banner script reads this value on every page load to decide what state to display in the preferences panel and whether marketing scripts may be (re)activated.
What it is used for
Its role is purely functional: it lets the CookieYes banner "remember" the visitor's choice for the advertisement category, so they aren't asked again on every visit, and it tells the site whether marketing/tracking scripts (such as ad pixels or remarketing tags) may be loaded.
For the site owner, this cookie is the technical piece that makes it possible to honor the visitor's choice — without it, the banner couldn't distinguish visitors who accepted advertising cookies from those who declined them.
Does it require consent?
Despite the word "advertisement" in its name, the cookie itself is not a marketing cookie but a consent-recording cookie, treated as strictly necessary for the banner to function. Under the ePrivacy Directive (transposed in Romania via Law 506/2004) and GDPR, strictly necessary cookies may be set without prior consent, but they still need to be disclosed in the cookie policy with a clear purpose and duration.
- It should be listed in the cookie policy under "necessary/strictly necessary".
- It should be made clear that it doesn't itself serve marketing purposes — it only stores a choice.
- Correctly configuring categories in CookieYes (or any CMP) remains the site owner's responsibility.
How to block or delete cookielawinfo-checkbox-advertisement
A visitor can delete or block this cookie anytime via browser settings (Chrome, Firefox, Edge and Safari all allow deleting cookies per site or blocking cookies generally). Deleting it resets the stored choice, so the consent banner will reappear on the next visit.
For site owners who want an equivalent mechanism without CookieYes, a CMP such as CookieFix can automatically block statistics and marketing scripts until the visitor gives consent, handling the whole consent lifecycle without manual per-script configuration.
Frequently asked questions
No. Despite the word "advertisement" in its name, it doesn't track the visitor or send data to advertising networks — it only stores whether the visitor accepted the advertisement category in the CookieYes banner.
It's set by the CookieYes script installed on the site (usually as a WordPress plugin), directly on the site's own domain, making it a first-party cookie.
In CookieYes' standard configuration, it typically lasts 1 year from when it's set or last updated.
No, it's considered strictly necessary for the consent banner to function, but it still needs to be listed in the site's cookie policy.