Linux 软件免费装
Banner图

Cookie Choices (for EU Cookie Law & GDPR)

开发者 overclokk
andreapernici
cardinaleandrea
更新时间 2026年11月4日 17:08
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cookie gdpr cookie consent cookie banner consent mode

下载

2.2.2 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.2.1 1.2.2 1.2.3 2.0.0 2.1.0 2.2.0 3.1.0 1.0.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.5.0 2.5.1 2.5.3 2.6.0 2.3.0 2.5.2 3.0.0 2.2.1 3.0.1 3.2.0

详情介绍:

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 Documentation Please report the issues on GitHub. This plugin provides technical tools, not legal advice. Check with your consultant what your site needs. Developers Translators

安装:

  1. Install the plugin from Plugins > Add New, or upload the italy-cookie-choices folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu in WordPress
  3. Configure it in Cookie Choices in the admin menu and turn on Show the banner

屏幕截图:

  • The names and descriptions of the categories, with the preview of the preferences
  • 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

升级注意事项:

3.1.0 Writes the consent to the WP Consent API, blocks the Google tags served by the Google tag gateway and keeps the consent for six months in Safari. 3.0.1 Fixes the migration from 2.x and the Italian texts shown in English: update before your visitors see the new banner. 3.0.0 A rewrite for the current consent rules. Requires PHP 8.2 and WordPress 6.5. The visitors give the consent again. Read the upgrade notes and test on a staging site first. 2.6.0 Requires PHP 7.4 and WordPress 6.1, please check your server before updating 2.2.1 Fixed some issue, see the changelog for more informations 2.1.0 More functionality added, please, see the plugin's admin page 2.0.0 New: Third part cookie eraser 1.0.0 First release.

常见问题:

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?

Add the Cookie preferences button block, the [cookie_preferences] shortcode or a link to #icc-preferences to 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 PHP apply_filters( 'italy_cookie_choices_has_consent', false, 'statistics' ). Read Integrations for the events, the vendors and the Consent Mode.

更新日志:

3.1.0 3.0.1 3.0.0 A rewrite of the plugin for the current consent rules. Read Upgrading from 2.x before you update. 2.6.0 Release Date: Oct 21st, 2026 2.5.3 Release Date: Sep 29th, 2021 Dev time: 2h LATEST VERSION FOR PHP 5.3 2.5.2 Release Date: November 13rd, 2018 Dev time: 30m 2.5.1 Release Date: Dicember 4th, 2016 Dev time: 4h 2.5.0 Release Date: November 13th, 2016 Dev time: 4h 2.4.5 Release Date: October 9th, 2016 Dev time: 1h 2.4.4 Release Date: January 6th, 2016 Dev time: 10m 2.4.3 Release Date: January 5th, 2016 Dev time: 10h 2.4.2 Release Date: December 29th, 2015 Dev time: 1h 2.4.1 Release Date: November 6th, 2015 Dev time: 50h 2.4.0 Release Date: August 31th, 2015 Dev time: 11h 2.3.5 Release Date: July 25th, 2015 Dev time: 3h 2.3.4 Release Date: July 22th, 2015 Dev time: 10min 2.3.3 Release Date: July 21th, 2015 Dev time: 2h 2.3.2 Release Date: July 17th, 2015 Dev time: 1h 2.3.1 Release Date: July 13th, 2015 Dev time: 3h 2.3.0 Release Date: July 11th, 2015 Dev time: 50h 2.2.2 Release Date: July 1st, 2015 Dev time: 3h 2.2.1 Release Date: July 1st, 2015 Dev time: 10h 2.2.0 Release Date: June 24th, 2015 Dev time: 100h 2.1.0 Release Date: June 5th, 2015 Dev time: 100h 2.0.0 Release Date: June 5th, 2015 Dev time: 60h 1.2.3 Release Date: May 31th, 2015 Dev time: 3h 1.2.2 Release Date: May 29th, 2015 Dev time: 1h 1.2.1 Release Date: May 28th, 2015 Dev time: 2h 1.2.0 Release Date: May 27th, 2015 Dev time: 20h 1.1.3 Release Date: May 26th, 2015 Dev time: 5h 1.1.2 Release Date: May 22st, 2015 Dev time: 10min 1.1.1 Release Date: May 22st, 2015 Dev time: 1h 1.1.0 Release Date: May 22st, 2015 Dev time: 10h 1.0.0 Release Date: May 21st, 2015 Dev time: 50h