sandywp / plugins / italy-cookie-choices
Cookie Choices (for EU Cookie Law & GDPR)
Ask the cookie consent by category and block third party scripts, videos and maps until the consent. With a consent log and Google Consent Mode v2.
Ready in seconds.
v3.3.0 9,000+ installs WP 6.5+ PHP 8.2+

What you get inside
7 screens-
The settings page, with the preview of the banner
-
The names and descriptions of the categories, with the preview of the preferences
-
The scan of the site, before the vendors blocked until the consent
-
Google Consent Mode v2, the Google and Facebook tags and the YouTube embeds
-
The banner at the bottom of a page
-
The preferences, to choose the categories
-
The placeholder of a blocked video
About this plugin
Cookie Choices, formerly Italy Cookie Choices, helps you comply with the EU cookie rules: the ePrivacy Directive, art. 122 of the Italian Codice Privacy with the 2021 guidelines of the Garante, and the GDPR consent requirements.
The banner asks the consent by category, with three buttons of the same importance: accept all, reject all and preferences. The scripts, the videos and the maps of the third parties wait for the consent to their category. The consent is read in the browser, so the plugin works with the cached pages.
What you can do
- Show a banner at the top, at the bottom, in a modal window or in a box in a corner, with your logo, text, colors and CSS
- Let the visitors choose the categories: necessary, preferences, statistics and marketing
- Share the consent with the subdomains of the site, with the cookie domain
- Choose after how many months the banner asks the consent again, 6 by default
- Respect the Global Privacy Control of the browser: accept all leaves out the marketing cookies
- Block Google Analytics, Google Tag Manager, Google Ads, AdSense, Microsoft Clarity and Advertising, YouTube, Vimeo, Google Maps, Facebook, Instagram, X, LinkedIn, TikTok, Pinterest, Snapchat, Reddit, HubSpot, Spotify, SoundCloud, Hotjar and Matomo Cloud until the consent, and add your own vendors
- Scan the pages of the site to find the vendors to block and the unknown third parties
- Add your own scripts, like a chat or a tracking snippet, that run after the consent to their category
- Import the settings of Complianz, CookieYes, Cookie Notice, GDPR Cookie Compliance and Borlabs Cookie, from the settings page or WP-CLI
- Show a placeholder with a button to accept the category of the blocked videos and maps
- Let the visitors choose the single vendors inside each category, as the Italian guidelines ask
- Let the visitors change or withdraw the consent with a block, a shortcode, a link or a floating button
- List the cookies of the site in a table for the cookie policy, with the Cookie table block or the
[cookie_table]shortcode - Delete the cookies of a category when the visitor refuses or withdraws it
- Log the consents to demonstrate them, without IP addresses, and export the log as CSV
- See how the visitors answer the banner, month by month, from the consent log
- Send the Google Consent Mode v2 signals, in the basic or advanced mode
- Send the consent to Microsoft Advertising (UET) and Microsoft Clarity
- Write the consent to the WP Consent API, for WooCommerce, Site Kit and the other plugins that read it
- Let the AI tools read the settings and turn the vendors on or off, with the Abilities API of WordPress 6.9
- Print Google Analytics, Google Tag Manager and the Facebook pixel from their ids
- Preview the banner while you change the settings
- Translate the texts with WPML, Polylang, TranslatePress, Weglot, MultilingualPress and Multisite Language Switcher, the plugin is translated in Italian
- Import the settings of the 2.x versions
- Manage the settings and the consent log with the
wp cookie-choicescommands of WP-CLI - Share the settings of the main site with every site of a multisite network, each site with its own texts
Documentation
- Getting started
- Blocking the third parties
- Consent log
- Cookie table
- Multilingual sites
- Multisite networks
- Integrations, for the developers
- Abilities for the AI tools
- WP-CLI commands
- Upgrading from 2.x
- Documentazione in italiano
Please report the issues on GitHub.
This plugin provides technical tools, not legal advice. Check with your consultant what your site needs.
Developers
Translators
- Romanian: Florin Lungu
Translations
- English: default, always included.
- Italian: Italiano, sempre incluso.
- Romanian: Română, inclus.
Note: This plugins is localized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome “Codestyling Localization” plugin and for validating the “Poedit Editor”.
Additional Info
Idea Behind / Philosophy: Italy Cookie Choices allows you to easily comply with the european cookie law, showing
a notice to the user only the very first time that visits your website without degrading website performance..
Credits
Questions
- I updated from 2.x, what changes?
Your settings are migrated, but the visitors give the consent again, because the 2.x consent had no categories. Read Upgrading from 2.x before you update, and test the update on a staging site first.
- Why am I not seeing the banner?
Check that Show the banner is on, then open the site in a private window: you probably already gave your consent. The banner does not open by itself on the policy page and on the excluded pages.
- How can the visitors change their choice?
Turn on Show a floating button to change the consent in the Banner tab, or add the Cookie preferences button block, the
[cookie_preferences]shortcode or a link to#icc-preferencesto the footer or to the cookie policy page. It opens the preferences, where the visitor can change or withdraw the consent.- A script of my theme is not blocked
The plugin blocks the vendors in the content, in the widgets, in the embeds and in the scripts added with
wp_enqueue_script(). Add the vendor in Blocking > Custom vendors, or turn on Block the vendors in the whole page for the scripts printed directly in the page.- Does it work with the cache plugins?
Yes. The banner and the blocked content are the same for every visitor, the consent is read in the browser.
- Is the consent log personal data?
The log has a random id created by the browser, the accepted categories, the policy version and the date, without IP addresses. The plugin suggests a text for your privacy policy in Settings > Privacy.
- How do I check the consent in my code?
In JavaScript use
window.italyCookieChoices.hasConsent( 'statistics' ), in PHPapply_filters( 'italy_cookie_choices_has_consent', false, 'statistics' ). Read Integrations for the events, the vendors and the Consent Mode.
sandywp / also on the shelf
Try another plugin
tarteaucitron.io – Cookie Banner & GDPR Consent Management
4.5 · 10K+ installs
Add a customizable cookie banner and manage GDPR consent with tarteaucitron.io CMP. Automatic service detection and Google…
GAinWP Google Analytics Integration for WP
4.8 · 7K+ installs
Google Analytics 4 for WordPress that tracks results: form leads, sign-ups and goal values, with GA4's own event names and a…
5.0 · 7K+ installs
Install a Google tag and view useful Google Analytics 4 reports inside WordPress with a guided, read-only connection.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.