This article is not legal advice, just what I learned during my research on the matter:
Cookie Law Explained
For some time now you probably keep seeing those cookie-law compliance banners around. That is because few months ago a new law was introduced in the EU, stating that all websites dropping non-essential cookies on visitors’ devices, have to declare it publicly and ensure visitors' knowledge and consent.
But this part didn’t work out well I suppose.
"An HTTP cookie (also called web cookie, Internet cookie, browser cookie or simply cookie, the latter which is not to be confused with the literal definition), is a small piece of data sent from a website and stored in a user's web browser while the user is browsing that website. Every time the user loads the website, the browser sends the cookie back to the server to notify the website of the user's previous activity. Cookies were designed to be a reliable mechanism for websites to remember stateful information (such as items in a shopping cart) or to record the user's browsing activity (including clicking particular buttons, logging in, or recording which pages were visited by the user as far back as months or years ago)".
Sounds Essential, Right?
Then, what about this part:
"Although cookies cannot carry viruses, and cannot install malware on the host computer, tracking cookies and especially third-party tracking cookies are commonly used as ways to compile long-term records of individuals' browsing histories—a potential privacy concern that prompted European and U.S. law makers to take action in 2011. Cookies can also store passwords and form content a user has previously entered, such as a credit card number or an address".
How to Protect Your Privacy
First of all take a look at your browser settings and review your cookie preferences. Keep in mind that if you forbid the use of all cookies from the websites that you visit, you will need to say goodbye to Facebook, Amazon, eBay, Twitter and generally any web-based service that uses sessions.
Secondly, educate yourself. It’s your right to have an opinion but honestly everyone does. Take the next step: Have an informed opinion. A good place to start, as an introduction to the issues at stake, arguments and….controversy, is the EFF - Electronic Frontier Foundation.
Maybe you are already familiar with few of their projects, like for example the privacy badger, but these people are out there actively fighting for privacy rights from the first days of the internet.
Fact Is, We Trade Privacy for Convenience
Truth is that many of us are just okay with it. We trade our privacy for convenience or money. Someone could even argue that as the internet constantly evolves into being a place of public dialog, it is thus the very definition of public space.
Furthermore, although our online habits' monetisation receives a lot of criticism, mostly because it takes place without our concent, many of us can't imagine the internet without our cool and free Gmail, free Facebook, free Twitter and generally speaking all these great free services on the web. Truth is that somehow you need to pay for these services.
How Do I Put a Cookie Disclaimer on My Website?
When I was looking on the internet trying to figure out what this whole thing is about, I found out that Google has created a website to help publishers with cookie consent.
Furthermore, if you do a google search you will see even more projects related to it, most of them jquery based. They come with their own documentation and are easy to install.
In case that you find it difficult to implement the code in your own website, feel free to send me a message on twitter and I'll be happy to assist you!