Overview
A clean cookie banner with Accept, Reject and Customize, scripts held until consent, and Google Consent Mode v2. Works with page caching.
- Accept, Reject, Customize
- No tracking before consent
- Google Consent Mode v2
Best for: Every site with European visitors and analytics or ads
Installation
- Download cookiely-cookie-consent.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.
Features
- Accept all, Reject all and Customize, with Reject as visible as Accept
- Two categories (audience measurement, marketing) with your own names and texts
- Your Analytics, Matomo or pixel code runs only after consent
- Hold any other script with type="text/plain" data-cookiely="marketing"
- Google Consent Mode v2: denied by default, updated with the choice
- Box, bottom bar or centered window; choice kept 6 months (adjustable)
- A small button or the [cookiely_settings] shortcode to change the choice later
Shortcodes
Paste a shortcode in any page, post, widget or page builder text block.
[cookiely_preview][cookiely_settings]
Options of each shortcode are described in the Features above and in the plugin settings page.
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
cookiely_activecookiely_sanitize
add_filter( 'cookiely_active', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
cookiely_admin_after_formcookiely_admin_before_formcookiely_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Is my site compliant once Cookiely is installed?
Cookiely gives you the tools recommended by data protection authorities (no tracking before consent, reject as easy as accept, choice kept 6 months); you still need to list the cookies you use in your privacy policy.
Does it work with page caching?
Yes, the choice is read and applied in the browser.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.