First in every page
The script runs before RequireJS and any other script, on Luma, Blank or a custom theme.
Cookie banner for Magento
A GDPR-compliant cookie banner across your whole Magento store, cached pages included, and the trackers of your extensions held until consent, without touching the theme.
Compatibility : Magento Open Source and Adobe Commerce 2.4.4 to 2.4.9, PHP 7.4 to 8.5
The script runs before RequireJS and any other script, on Luma, Blank or a custom theme.
Pages served by the built-in cache or by Varnish carry the banner; saving the settings clears the cache.
Google Analytics, Google Ads, Meta, Hotjar, Clarity, LinkedIn and TikTok wait for consent, as do YouTube and Vimeo videos in product pages.
Each website and each store view can have its own Optooki ID, set in Stores, Configuration.
Installation
First: create your site in the Optooki dashboard, run the scanner and publish the banner.
Install the module with Composer or unzip the archive into app/code, then run setup:upgrade.
Stores, Configuration, Optooki: paste the server URL and site ID.
Click Test the connection: the banner is live.
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.