Is it still required to provide a cookie warning offering users the ability to opt in/out of cookie tracking?

I cannot find any official advice on what we are supposed to be doing.

I'm not looking for answers along the lines of "to be on the safe side", but official guidelines. Does the cookie warning need to be on the homepage / every page / privacy policy page etc.

It seems most companies have implemented solutions based on best guesses, I can't see a consistent trend.

5 Answers 5


As a European (Dutch) and a web builder:

Yes, this is still required (if you have tracking/3rd party cookies). But now the cookie storm is over, and the dust has settled, most sites only show a small banner "we use cookies" and stick to that. Unless you're in the big league, there's not much to worry about, with just that notification you're already doing better than most sites. I have yet to encounter an actual court case about this.

Dutch law requires opt-in, but that rarely happens. European law says opt-out should be possible, but most websites just tell the user they use cookies and keep it to that.
This applies to EVERY website targeting europeans, no matter where you host or where the company originates.

This website has plenty of info about EU legislation on cookies

Might be nice to know, you no longer need to place the notification if you only use Google Analytics (you had to because GA uses a cookie to check for returning visitors) and cookies specific for the website. Because of this, most small common websites don't need a notification to the user.

The reason GA is allowed, is because they don't track you from site to site, only if you come back. This is considered acceptable because it is basic information which is useful for a webmaster and not privacy invasive for visitors. These cookies are available for the visited domain only and therefor seen as first party.

FYI, it's called cookie law, but this doesn't only apply to cookies. Session.storage and similar functionalities fall under the same rules. Everything that tracks users for the purpose of tracking users.

  • 16
    Probably should note, if you're a US company/website, feel free to ignore these half-baked EU laws, they aren't enforceable unless you have a physical EU presence. (yes, technically the EU says their law applies globally, but that's not how law works).
    – SnakeDoc
    Jan 28, 2016 at 15:53
  • 8
    Whoa, where does it say you don't need the cookie warning if you use Google Analytics? I thought that (visitor tracking) was exactly the reason they came up with the silly law. I only heard that benign and "necessary" cookies like login session IDs and shopping cart tracking and such were exempted (but I'm not a lawyer). Jan 28, 2016 at 16:00
  • 3
    This is what happens when people with little to no knowledge about computers and and how web-pages work are set to make laws! Hello, almost all sites uses cookies!! If some people are that afraid of cookies, they should stay off the web! Really, they ought to put warnings on pages that didn't use cookies... because that - like some people not having a Facebook-profile - certainly is suspicious! Jan 28, 2016 at 19:06
  • 3
    @BaardKopperud Maybe if we just changed the name of cookies... call them brownies or something, and instantly everything is OK again ;)
    – SnakeDoc
    Jan 28, 2016 at 19:09
  • 3
    Google Analytics and similar services are NOT exempt from the EU cookie law. Source: Section 4.3 ec.europa.eu/justice/data-protection/article-29/documentation/…
    – Sam Olesen
    Aug 10, 2017 at 8:46

Unless you do some sort of tracking, most cookies are exempt from that law. From the "EU Internet Handbook":

Cookies clearly exempt from consent according to the EU advisory body on data protection include:

  • user‑input cookies (session-id) such as first‑party cookies to keep track of the user's input when filling online forms, shopping carts, etc., for the duration of a session or persistent cookies limited to a few hours in some cases
  • authentication cookies, to identify the user once he has logged in, for the duration of a session
  • user‑centric security cookies, used to detect authentication abuses, for a limited persistent duration
  • multimedia content player cookies, used to store technical data to play back video or audio content, for the duration of a session
  • load‑balancing cookies, for the duration of session
  • user‑interface customisation cookies such as language or font preferences, for the duration of a session (or slightly longer)
  • third‑party social plug‑in content‑sharing cookies, for logged‑in members of a social network.

This means you only have to show such an alert for tracking or third-party cookies.

  • It seems that e.g. semipermanent "user‑interface customisation cookies" also needs alert, e.g. saving language preference for longer than a session? Aug 27, 2017 at 7:30

If you are in Europe then you need to ask users before using cookies. The law is the European Cookie Directive.

Outside of Europe, there is no need for any cookie warning or opt in.

Many third party services you use such as Google AdSense require that you have a privacy policy that includes a section about how you use Cookies and how third party cookies are used on your site.


I'm not a lawyer, but I think in practice you dont need it if you use only google analitycs.

If you have AdWords, Facebook twitter, sharethis... Or any other third party service that might. track users between different pages, you will need to use the warning.

Opt out basically means leaving the site, so in the warning you should specify that ybe user agress with cookies when using the site.

As I said before this is my experience as developer not lawyer.


I wrote to an official source and their reply was:

"Please note that the GDPR does not require the information that must be delivered to a site visitor to be presented in a pop-up. Contact the website administrator if you are not satisfied with their design choices".

They also sent links to the cookie policy and cookie guidelines.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.