Before a new law came into force in May 2011, you could have browsed hundreds of webpages and be clueless about cookies being stored on your computer. Things are now different; at least when it comes to EU and any websites directed toward customers in EU countries. After that spring four years ago, all websites were required to notify their visitors about cookies or other local storage technologies which a site might be using.
UK Cookie Consent
An easy way of tackling the law is placing a simple message, like the one found in the beginning of this article, in a popup bar on top or the bottom of your screen. The bar gives a visitor option to accept or decline a cookie on their computer.
Since we’re using WordPress, we are going to use a plugin for this task:
- Go to Plugins->Add New
- Search for “UK Cookie Consent” plugin
- Install and activate
- Navigate to settings area to customize the plugin
Here you can write a notification, as well as “accept” and “more info” text which is going to be shown to a user. Choose bar position, colors and button colors, change permalink if you have to and you’re ready to go.
A great thing about the plugin is that it automatically creates info page where everything about cookies is explained. Of course, you can edit this page and translate the text to your language or add any information you want to.
It is important to know that UK Cookie Consent plugin does not disable cookies on your site or blocks a visitor from further browsing.
That’s it; after these few steps, you have covered yourself and have notified every future user about the cookies on your site. Hopefully they won’t starve if they decline your cookies.