A simple way to show how your website complies with the EU Cookie Law.
PHP JavaScript CSS
Latest commit 56e9042 Dec 4, 2016 @overclokk overclokk New version: 2.5.1

README.md

Italy Cookie Choices (for EU Cookie Law)

Contributors: overclokk, andreapernici, cardinaleandrea
Donate link: Tags: compliance, cookie law, cookies, eu cookie law, eu law, eu privacy directive, privacy, privacy directive, notification, privacy law, cookie law banner, implied consent, third party script, third party cookie
Requires at least: 3.5
Tested up to: 4.7
Stable tag: 2.5.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Italy Cookie Choices allows you to easily comply with the european cookie law and block third part cookie in your page.

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 and remove all the occurence of third party embed inside your site until consent, fully customizable also with your custom css.

Plugin requirement PHP >= 5.3 and WordPress >= 3.5

Description

The Cookie Law is one of the most stupid law in the world. Maybe made by someone, who doesn't really understand how the web works.

Italy Cookie Choices allows you to easily comply with the european cookie law (and Italian too), showing a notice to the user only the very first time he visits your website. Message, position and the style can be easily modified through the plugin menu.

The plugin will not add any CSS stylesheet or Javascript file but only inline script, so it doesn't make your website slower.

Now you can block all cookies with new Third Part Cookie Eraser, activated it and let me now if you have any issue

What you can do

  • Display banner in front-end ** Three template (standard, big buttons, small buttons) ** Three position (top, dialog, bottom) ** Or custom style
  • Content banner customizable with HTML tags
  • URL and buttons text customizable
  • Acceptance on mouse scroll
  • Acceptance on second view
  • Block third party script in page
  • Add custom script to not block (all page)
  • Add custom script to block (wp_header and wp_footer)
  • Multilanguage (WPML, Polylang, Ceceppa)

For more informations read the documentation

Please, notify any issue on github repository https://github.com/ItalyCookieChoices/italy-cookie-choices/issues

Anonymize Analytics IP

Add ga('set', 'anonymizeIp', true); in your analytics snippet AnonymizeIP

Compatibilità W3TC & WP Super Cache fix

https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki/Compatibilit%C3%A0-W3TC-fix

Style customization

https://github.com/ItalyCookieChoices/italy-cookie-choices/wiki/Style-customization

Developer

Link

Translators

Installation

  1. Upload italy-cookie-choices folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Configure the plugin throught Settings -> Italy Cookie Choices

Frequently Asked Questions

How does it work?

When a user visit your site, the plugin will check if this user has been already there, checking for a cookie that the plugin self creates (it is just a session cookie, so it is not against the law). If the user has not this cookie, a message will be shown (you can configure where, how and what will be show). If the users keeps surfing in your website, now or withing the next month, it means that he accepted the use of cookies in your website, so this message will not be shown again.

Why am I not seeing the message?

Probably, you already have visited the site before, so you accepted the use of cookies and the plugin installed a cookie in your browser to know it. If you want to test if the plugin is working properly, try removing the cookies displayCookieConsent from your web browser or navigating in incognito mode. If you think that the plugin is not working properly, just open an issue here https://github.com/overclokk/italy-cookie-choices/issues and I will check it for you.

Does it work in static HTML pages?

Yes, simply copy the snippet generate by "Italy Cookie Choses for WordPress" and put in your HTML footer before tag

I use Async JS and CSS plugin, but the banner doesn't display

You have to uncheck the Detect <script> tags in wp_footer in Async JS and CSS plugin settings page and refresh page.

I don't see the banner in my site

Try this way: deactivate all plugin and try if it works activate one pluigin at time and try if it doesn't work activate standard theme and try

Screenshots

1. Italy Cookie Choices Options Menu

Italy Cookie Choices Options Menu

2. Italy Cookie Choices top bar and embed block in front end

Italy Cookie Choices top bar and embed block in front end

3. Italy Cookie Choices Options for Dialog box

Italy Cookie Choices Options for Dialog box

4. Italy Cookie Choices Dialog Box in front end

Italy Cookie Choices Dialog Box in front end

5. Italy Cookie Choices Widget area

Italy Cookie Choices Widget area

6. Italy Cookie Choices Content area

Italy Cookie Choices Content area

Changelog

2.5.1

Release Date: Dicember 4th, 2016

Dev time: 4h

  • Fixed server error 500 on php7 if advanced-cache.php doesn't exist.

2.5.0

Release Date: November 13th, 2016

Dev time: 4h

  • Code refactoring for psr-4

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

  • Fixed Ceceppa Multilingua string translations bug #152 and

2.4.2

Release Date: December 29th, 2015

Dev time: 1h

  • Fixed PHP7 Fatal error #149
  • Walking to WPCS

2.4.1

Release Date: November 6th, 2015

Dev time: 50h

2.4.0

Release Date: August 31th, 2015

Dev time: 11h

  • Added import/export functionality
  • Maybe fixed #133
  • Fixed PHP check for lang functions #128

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

  • Fixed #126 and #103 for Sitemap and feed page

2.3.2

Release Date: July 17th, 2015

Dev time: 1h

2.3.1

Release Date: July 13th, 2015

Dev time: 3h

  • Added link to setting page and docs in plugins panel
  • Fixed issue #118

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

  • Merged Third part cookie eraser and Italy Cookie Choices
  • Added new input for banner background color and text color
  • Added input for text and button in embed block content and widget
  • Added shortcode button for policy page [accept_button]

1.2.3

Release Date: May 31th, 2015

Dev time: 3h

  • Added slug input for your cookie policy page to display only topbar
  • Added option for target _blank

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

  • Fix z-index issue

1.1.1

Release Date: May 22st, 2015

Dev time: 1h

  • Add scroll event

1.1.0

Release Date: May 22st, 2015

Dev time: 10h

  • Fix special char visualization
  • Add italian translations
  • Removed default text

1.0.0

Release Date: May 21st, 2015

Dev time: 50h

  • First release.

Upgrade Notice

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.

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