UPDATE 01-2020: this plugin has been discontinued due to lack of time to properly maintain it.
Easy Cookie Law is a WordPress plugin I started coding for my own websites to comply with the European Cookie law back in 2017. There were already many plugins on the Market, but since most of them were making use of a lot of JavaScript and CSS making my sites slower, or just overcomplicating things, I decided to create a simpler one.
The plugin is very basic yet powerful and effective:
- No extra CSS Stylesheets or JavaScripts are being loaded since everything is inline and kept to a minimum. On average, there are less than 2KB of inline code, but this may vary depending on your settings.
- There are no dependencies on other plugins or functions.
- Entirely compatible with any cache plugin you want to use, since JavaScript is responsible checking if the user already accepted the use of cookies, to show and to hide the banner.
- It supports Google Tag Manager, allowing you to implement the tracking code directly. See here more details on how to implement GTM in WordPress.
You can download the plugin directly from your WordPress dashboard or manually from here: Easy Cookie Law Plugin at the WordPress.org Repository