Logo Logo


The General Data Protection Regulation (GDPR) and ePrivacy Directive (ePR) affect how you as a website owner must obtain and store cookie consents from your visitors from the EU.


Try our free compliance test to check if your website’s use of cookies and online tracking is GDPR/ePR compliant.

Cookie banners are the enablers of GDPR compliance, and cookie consent banners secure the right to privacy

What is a cookie banner? Who needs a cookie notice? What are the requirements of a cookie consent banner?

How can you get a GDPR compliant website banner on your domain that enables real cookie consent for users?

What does the EU cookie law and the GDPR have to say about cookie consent banners?

What does an unlawful cookie popup look like?

We answer these questions and more, so stay with us.

What is a cookie consent banner?

A cookie consent banner is the cookie warning that pops up on websites when a user first visits to the site.

It's the website banner that declares the cookies and tracking present on a website and gives the users a choice of prior consent before their data is handled.

Cookie consent banners first started to show up on virtually every website in the EU in response to the ePrivacy Directive of 2002, popularly called “The cookie law”.

Read more about the EU Cookie Law here.

According to the Directive, all websites had to give a cookie disclaimer to their users about the fact that they set cookies on the user's browser.

The purpose of cookie consent banners therefore was to alert the users of the website about the cookies and get consent for setting them.

However, the EU legislation regarding cookies and personal data has changed.

The cookie notifications are still required, but the requirements have become a lot stricter.

cookie notices, cookie banners and cookie notifications

It is no longer sufficient to have a cookie disclaimer merely state that the website uses cookies - instead, websites must empower their users with a choice of prior consent.

The cookie popup consent banners that we have grown accustomed to in the EU are variations of a box with a simple text informing of the use of cookies, an “ok”-button, and a link to the website’s privacy policy or cookie policy. This is not sufficient any more.

The two major changes in the legislation are:


The General Data Protection Regulation that was enforced on 25 May 2018.

The GDPR is the most significant initiative regarding data protection in over 20 years.

It sets strict regulations on how personal data must be handled, and comes with heavy fines for those who fail to comply.

The ePrivacy Directive

The so-called ‘cookie law’, the ePrivacy Directive, is in the process of becoming an actual regulation.

It is currently being processed in the EU and will probably be implemented sometime in 2019 or in the beginning of 2020. 

The two EU laws both have significant impact on the practice and use of cookie consent banners and the way in which we warn users about cookies and tracking.

With their enforcement, cookie consent banners on websites must change.

They have strict requirements as to how the website banners you use have to look like: what makes them non-compliant cookie warnings, and what makes them into compliant cookie consent banners.

Do I need a cookie banner for my website?

If you have a website or blog with visitors from the EU, you need a cookie warning or popup notice.

Read more about cookie notices here.

In theory, only websites that collect user data by means of cookies need to get consent for doing so from their users.

However, virtually all websites set cookies that track users.

For example if the website is hosted, makes use of plugins, tools for analytics, or has social media-buttons.

You can take an audit of your website if you are in doubt whether or not your website sets cookies.

The free audit scans five pages of your website and sends you a detailed report of the cookies and online tracking on these pages, including information on their provenance, purpose and whether or not they are compliant.

Sign up to the Cookiebot solution, if you want a complete overview of the cookies and online tracking going on on all of your website.

What are the EU requirements for cookie notifications and warnings?

The EU ePrivacy Directive requires prior, informed consent of your site users, while the General Data Protection Regulation (GDPR) requires you to document each consent.

To be compliant, the cookie notice or cookie banner should be one component of a cookie management solution for your website, that takes care of the following tasks:

1. To provide the website users with specific and accurate information on all cookies and other tracking technologies in use on the website.

2. To give the users the possibility to opt in and opt out of the various types of cookies, and to have access to their settings and make subsequent changes to them if they change their mind.

3. To make sure that the user consent is requested prior to the setting of cookies in the users’ browsers.

4. To make sure that the website functions properly even though the user has chosen to opt out of all but the strictly necessary cookies.

5. To keep a record of all given consents for documentation, and to make sure that this documentation is securely stored.

6. Ask for renewed consent every 12 months upon the user’s first revisit to the site.

Cookiebot does all of the above.

The easiest way to comply is to sign up to a GDPR compliant cookie solution, that takes care of all the necessary processes automatically.

Be careful to choose a truly compliant solution.

Because the laws are complex, and because they are in the process of changing, there unfortunately are a lot of non-compliant or only partially compliant cookie solutions on the market.

You can try to take an audit of your website to check what cookies are in use on it, and find out what it takes to make your site compliant.

How to create a compliant cookie notice

Since the law requires you to have a cookie banner on your website, it's probably a good idea to get one.

There exists numerous ways of getting a cookie banner on your website.

If you have the skills, you may develop a cookie notice yourself, or else you can acquire a cookie consent plugin from one of many suppliers.

However, be careful and note that the vast majority of the actual cookie popup solutions on the market are not compliant with the EU law the General Data Protection Regulation, which was enforced on the 25th of May 2018.

The fines for non-compliance are very heavy.

As explained above, the actual cookie consent banner is just one part of making your use of cookies and online tracking compliant.

Sign up to Cookiebot and become compliant in three steps.

Besides the cookie warning and consent banner, the solution includes all of the other necessary functions to make your use of cookies and online tracking truly compliant today.

The service is user-friendly and non-obtrusive to the overall user experience on your website.

Cookie banner examples: non-compliant & compliant cookie notifications 

Here is an example of a non-compliant cookie banner:

compliant vs non compliant cookie warnings

This type of cookie consent banner consists of a simple declaration that the site makes use of cookies, an ‘ok’-button, and a link to the website’s cookie policy or privacy policy.

The use of this type of cookie popup is widespread on the internet today.

However, it is not compliant. It does not provide specific and accurate information on the use of cookies, neither does it give the user any true choice as to what cookies he or she will accept or reject.

It is very important that your cookie banner has an unambiguous and informative text at its center, for without it your users can't make a choice of prior consent.

Read more about compliant cookie texts here.

Furthermore, the cookie banner above neglects the requirement of prior consent.

Here is an example of a GDPR and ePrivacy Directive compliant cookie consent banner:

Valid consent banner according to EU privacy laws

The user can swiftly opt in and out of the different types of cookies directly in the consent banner.

If they want to know more, they can scroll through detailed information on all the cookies, that fold out directly of the cookie banner:

Valid detailed consent banner that is GDPR compliant

Cookie consent banner generator

There exists numerous cookie consent banner and cookie popup generators on the internet.

You can easily find a vast choice by submitting “cookie banner generator” or "cookie popup" as a search query.

However, keep in mind that a cookie notice is completely worthless if it does not comply with the requirements of the actual regulations.

Check out Cookiebot to find a fully GDPR and ePrivacy Directive compliant cookie solution for your website.


The General Data Protection Regulation

The ePrivacy Directive

Data Breach Penalties

Cookie Law Update Expert

Make your website’s use of cookies and online tracking GDPR/ePR compliant today

Try for free