Internal Page Cache
The cached page already carries the banner, and saving the settings refreshes the cache.
Cookie banner for Drupal
A module that puts the banner on every page, cached pages included, with a “Manage cookies” block and known trackers blocked.
Compatibility : Drupal 10.3 and later, Drupal 11
The cached page already carries the banner, and saving the settings refreshes the cache.
Place “Manage cookies (Optooki)” in the footer from Block layout.
Common trackers and YouTube and Vimeo videos in content wait for consent.
No dependency outside Drupal core.
Installation
First: create your site in the Optooki dashboard, run the scanner and publish the banner.
Unzip the module into web/modules/custom and enable it in Extend.
Configuration, System, Optooki: paste your IDs and save.
Test the connection, then place the block in the footer.
It lists what your site sets before any consent, among 136 known services.
Every choice time-stamped, with a truncated IP address, exportable as CSV.
Five layouts, and your style picked up in one click.
The four signals sent to your Google tags, before they load and on every choice.
Create your account, customise the banner and add one line of code. Free for one site, no credit card required.