Hello Webmaster! Probably you are already informed about EU cookie law. This law is a piece of privacy legislation that requires EU websites to get consent from visitors to store or retrieve any information (including cookies) on a computer, mobile phone, tablet or other smart device.
So if you have website in EU or you have visitors from EU then there are some requirements you have to do with your website to comply with this cookie law.
There are many solutions on web (like cookiechoices.org or ec.europa.eu), I prepared this minimized simple solution for most of my websites, where I use only adsense third party cookies. It took me few hours to understand and prepare it, so I decided to share with others colleagues, You may save few hours :-) Let's start:
1.) You need a noticeable cookie consent information text, where you inform visitor that your website is using cookies.
Few examples for text in this message:
Google serves cookies to analyse traffic to this site. Information about your use of our site is shared with Google for that purpose. [See details] [OK]
OR (my favourite :-)
If visitor clicks on [Agree], cookie remembers his agreement and message don't popup any more.
But if visitor click on [More info] you have to give him additional information (read step 2 for details)
My solution for cookie consent popup (used on this site too):
Download ZIP 36 kb
After download the ZIP, "to do" list:
<link rel="stylesheet" type="text/css" href="cookieconsent.css" />
2.) As I mentioned above, if visitor click on "agree", you have his agreement to cookie usage.
- what are cookies
- how to control/delete cookies
This template is available in few other languages too:
EN, HU, RU, SR (more will be added soon)