This project is not covered by Drupal’s security advisory policy.

Integration for BerryCookie, a cookie consent service: a fair cookie banner, blocking of optional trackers until consent, Google Consent Mode v2 and proof of every choice.

Features

  • "Reject" as visible as "Accept", right in the banner.
  • Automatic blocking of known trackers (Google Analytics, Meta Pixel, TikTok, Hotjar, Microsoft Clarity and more) until the visitor accepts their category.
  • Google Consent Mode v2: denied by default, updated from the visitor's choice.
  • Consent log with proof of every choice (shortened IP address, banner version, time), exportable to CSV.
  • BerryCookieScanner: a monthly scan of the site in a real browser, an up-to-date cookie declaration and an email the same day when something new runs without consent.
  • Ready-made banner texts in 12 languages; the module's own interface is in English and Romanian.

How it works

The module adds the BerryCookie script to <head> of every non-admin page, before any other script, with the settings chosen in Configuration → System → BerryCookie: website key, automatic or manual script blocking, Google Consent Mode on or off. A link whose address ends in #berrycookie-settings (for example in the footer menu) reopens the banner. Without a website key the module adds nothing and sends no data; the Status report shows a warning until a key is saved.

Requirements

Drupal 10.3 or 11. A free BerryCookie account and a website key.

External service

The banner script is loaded from https://cdn.berrycookie.com and consent choices are recorded at https://consent.berrycookie.com, only after a website key is saved. Data is hosted in the EU. Privacy policy · Terms.

Not included

BerryCookie is not a Google-certified CMP (IAB TCF). Sites showing Google AdSense or Ad Manager ads to EU visitors need a certified CMP.

Project information

Releases