Before you start: two sets of rules
A website has to meet two sets of rules at the same time, and it helps to keep them apart:
- The cookie rule (article 5(3) of the ePrivacy Directive, implemented in a national law in every EU country): storing information on a visitor's device, or reading it, needs consent, unless it is strictly necessary for the service the visitor asked for. This applies to cookies, but also to pixels, local storage and fingerprinting, according to the EDPB.
- The GDPR: whenever you process personal data, such as IP addresses, cookie IDs or what someone types into a form, you need a legal basis, you must inform people, and you must protect the data.
The checklist below follows the order in which you would actually work on a website: first find out what is there, then fix consent, then the documents, then the contracts and security around it. More background on both sets of rules is in EU cookie law explained.
1. Find out which cookies and trackers your site uses
You can't ask consent for something you don't know about. Many cookies are not placed by your own code but by plugins, tag managers, embedded videos, chat widgets and ad pixels.
- Run a cookie scan. A scanner visits your pages like a visitor and lists the cookies, local storage and third-party requests it finds, before and after consent.
- Check by hand in your browser. Open your site in a private window, open the developer tools (F12 in Chrome), and look under Application → Storage → Cookies. Then look at the Network tab: every request to another domain, such as google-analytics.com, facebook.net or youtube.com, means data goes to a third party.
- Write it down. For each cookie or tool: who sets it, what it is for, how long it lasts and whether it is strictly necessary.
What counts as necessary and what doesn't is explained in What are cookies? Types explained.
2. Ask for consent before non-essential cookies
Everything that is not strictly necessary needs consent first: analytics in most EU countries, advertising and remarketing pixels, social media plugins, A/B testing tools that track individuals. Consent must meet the GDPR definition (article 4(11)): freely given, specific, informed and unambiguous, given by a clear affirmative action.
That rules out a few common shortcuts. Pre-ticked boxes are not consent, as the EU Court of Justice ruled in Planet49 (2019). Continuing to scroll or browse is not consent either, according to the EDPB's consent guidelines. And legitimate interest cannot replace consent for setting cookies; see Legitimate interest and cookies.
3. Check your cookie banner
The banner is where consent is given, so it is where regulators look first. The EDPB's cookie banner taskforce (January 2023) and the consent guidelines give a clear picture:
- A reject option on the first layer. Most regulators consider a banner without a way to refuse on the same layer as "Accept" an infringement.
- Rejecting as easy as accepting. No "reject" link hidden in the text while "accept" is a big button, and no contrast so low the reject option is unreadable.
- No pre-ticked categories in the settings.
- Clear information: what the cookies are for and who receives the data, with a link to your cookie policy.
- Withdrawing as easy as giving consent (article 7(3) GDPR), for example with a small, always visible icon or a link in the footer that reopens the settings.
- No access only in exchange for consent, unless you have checked the strict rules on cookie walls.
National regulators add their own details, so check the guide for your country.
4. Block scripts until consent, including embeds
A banner that asks for consent while the tags already run does not help. Check in a private window, before clicking anything, that no analytics, advertising or social media requests leave your site.
Pay special attention to embedded content. A YouTube video, Google Maps, a social media feed or fonts loaded from Google's servers make the visitor's browser contact another company, which receives at least the IP address and may set cookies. In Fashion ID (2019) the Court of Justice held that a website that embeds a third-party plugin is jointly responsible for the collection and transmission of visitor data it triggers, and must obtain consent and inform visitors for that part. In practice:
- Host fonts on your own server instead of loading them from a third party.
- Show a placeholder for videos and maps that only loads the content after a click or after consent.
- Load tags through a tag manager that respects the consent choice.
5. Publish a complete privacy notice
Article 13 GDPR lists what you have to tell people when you collect their data: who you are and how to reach you, the purposes and the legal basis for each, the legitimate interests you rely on, the recipients, transfers outside the EU, retention periods, their rights including the right to complain to a regulator, and whether they have to provide the data. Link it from every page, usually in the footer, and from every form. A template with all the required parts is in Privacy policy template.
6. Add a cookie policy
The cookie policy lists the cookies and similar technologies you use, per category, with their purpose, provider and duration, and explains how visitors can change their choice. It can be a separate page or a section of your privacy notice. The important thing is that it matches what the scan from step 1 found. See Cookie policy template.
7. Keep records of consent
Under article 7(1) GDPR you must be able to demonstrate that a visitor consented. A cookie in the visitor's browser is not enough proof for you. Keep a log per consent with at least the date and time, what was accepted or rejected, the banner version or text shown, and a pseudonymous identifier. Keep withdrawals too.
8. Check your processors and transfers outside the EU
Almost every tool on your site processes personal data for you: hosting, analytics, the form tool, the newsletter service, the chat widget.
- Processors need a contract (article 28 GDPR, often called a data processing agreement or DPA). Most providers offer standard terms; check that you have accepted them.
- Transfers outside the EEA are only allowed under Chapter V of the GDPR. For the US, the EU-US Data Privacy Framework has applied since 10 July 2023 to companies that are certified under it; you can check that in the public DPF list. For other countries or uncertified companies you need another tool, such as standard contractual clauses.
- Mention them in your privacy notice as recipients, with the transfer basis.
Organizations with 250 or more employees, and smaller ones whose processing is not occasional, also need a record of processing activities (article 30).
9. Secure your forms and your site
Article 32 GDPR requires security appropriate to the risk, and names encryption as one of the measures. For a website that means at least:
- HTTPS on every page, certainly on forms and login pages.
- Collect only what you need in contact and sign-up forms, and say what you do with it.
- Updates of your CMS, plugins and server software, and strong admin passwords with two-step verification.
- A plan for data breaches: a breach that risks visitors' rights must be reported to the regulator within 72 hours (article 33).
10. Set up Google Analytics and Consent Mode correctly
Google Analytics in a standard setup needs consent in the EU before it sets cookies. Google also requires sites that use its advertising and measurement products to obtain consent from users in the EEA, the UK and Switzerland where the law requires it, to keep records of that consent, and to pass the choice on with Consent Mode v2. Check that analytics_storage, ad_storage, ad_user_data and ad_personalization are set to "denied" until the visitor agrees. More in Google Analytics and the GDPR and Google Consent Mode v2 explained.
11. Repeat the check regularly
A website is never finished. A new plugin, a marketing tag added in the tag manager or an update of an external tool can add cookies without anyone noticing. Article 32 GDPR also asks for a process to regularly test and evaluate your measures. Run a scan after every change and at a fixed interval, and update your cookie policy and privacy notice when the results change.
How Cookie Confirm helps
Cookie Confirm covers the cookie part of this checklist. The scanner checks your site automatically every month, and you can rescan with one click; every cookie, script and tracker it finds goes into a cookie declaration that is updated with every scan. Cookies and tracking scripts are blocked until the visitor consents, the choice is passed on to Google Consent Mode v2, and every consent action is stored for 12 months in a consent log you can search and export. The privacy notice, the contracts with your processors and the security of your site remain your own work. Cookie Confirm costs €7.95 per website per month, and you can try it free for 7 days.
Sources
- EUR-Lex: Directive 2002/58/EC (ePrivacy Directive, consolidated), article 5(3)
- EUR-Lex: Regulation (EU) 2016/679 (GDPR), articles 4(11), 7, 13, 28, 30, 32, 33 and 44 to 49, recital 32
- EDPB: Guidelines 05/2020 on consent under Regulation 2016/679
- EDPB: Report of the work undertaken by the Cookie Banner Taskforce (17 January 2023)
- EDPB: Guidelines 2/2023 on the technical scope of Art. 5(3) ePrivacy Directive
- CJEU: Case C-673/17, Planet49 (1 October 2019)
- CJEU: Case C-40/17, Fashion ID (29 July 2019)
- EUR-Lex: Commission Implementing Decision (EU) 2023/1795 on the EU-US Data Privacy Framework
- Data Privacy Framework: list of participating organizations
- Google: EU user consent policy
- Google: Consent mode overview
- Chrome DevTools: View, add, edit and delete cookies