[h2]What the module does[/h2]

Cookies and consent is a cookie consent banner, which the law requires in the EU, the EEA and the UK, and the counters that wait for it: Google Analytics 4, Tag Manager with Consent Mode, Plausible, Yandex Metrica, Matomo and the Meta pixel. Each loads only after consent to its own category. The “Cookies” page (/cookies) explains which cookies the site uses.

[h2]When the banner appears[/h2]

By default the banner appears only when a counter that needs consent is connected: cookies without which the site does not work (sign-in, cart, language, form protection) need no consent. Turn on “Always ask” to show the “accept / decline” choice even without counters. The banner can be a strip at the bottom, a small window in the corner or a window in the middle; the default text is ready in the visitor’s language, your own text is shown the same in all languages; the “Learn more” link leads to your policy page.

[h2]Counters[/h2]

In the settings enter the number of what you use: GA4 and Tag Manager (consent to advertising is passed through Consent Mode), Yandex Metrica, Matomo (https:// only) and the Meta pixel, which loads only after consent to advertising. Plausible sets no cookies, so it loads without asking. Changed the text or connected a new counter — raise the “Consent version”: the banner asks everyone again.

[h2]Changing one’s mind[/h2]

A visitor can change the choice at any time: the “Cookie settings” link in the footer opens it in one click, and a round button can stay in the corner. The choice is remembered for the set number of days (30 to 365, usually 180). If the browser sends a Global Privacy Control signal, it is taken as a refusal of optional cookies without asking.

[h2]Summary and log[/h2]

The panel shows what visitors choose, by day: only counters, nothing that could identify a person. The consent log keeps for each choice a random number, the choice and categories, the banner version, the language and the page path without the query string and the anchor. The log can be filtered and downloaded as CSV; records older than the set time (usually 395 days) are erased by themselves. This is a record of a choice, not legal proof of identity.

[h2]Personal data[/h2]

The module records no names, no email addresses and no IPs. The log holds a random choice number from the nx_consent cookie, the choice itself, the version, the language and the page path; if the page address contains an access key (password reset, “My subscriptions”), the path is not written. If a person asks to erase their trace, ask them for the number from the cookie (field i) and erase the records with that number in the “Consent log” section.

[h2]Where next[/h2]

[list]
[*][url=admin:consent]Cookies and consent[/url]
[*][url=admin:modules]System → Modules — switch the module off or on[/url]
[/list]
