Find out whether your site needs a cookie consent banner
Yes, you need a cookie consent banner if, on the devices of EU or UK visitors, your site stores or reads anything that is not strictly necessary or otherwise exempt. The ePrivacy Directive and the UK Privacy and Electronic Communications Regulations (PECR) require consent before a site stores or reads information on a device.
TermsFeed Free Cookie Consent shows the consent banner to every visitor, because it has no location rules.
Which laws require a cookie consent banner
The consent rule comes from the ePrivacy Directive in the EU and from PECR in the UK, and both cover any storage on the device, not only cookies. Under Article 3(2), the General Data Protection Regulation (GDPR) reaches a site outside the EU that offers goods or services to people in the EU or monitors their behavior there. Article 4(11) and Article 7 of the GDPR require consent that is freely given, specific, informed, and unambiguous, given by a clear affirmative action. Check whether the GDPR covers your business in GDPR Territorial Applicability.
| Region | Law | What the law asks for storage that is not strictly necessary |
|---|---|---|
| EU and the European Economic Area (EEA) | ePrivacy Directive, Article 5(3), as each country applies it, with the GDPR for the meaning of consent | Consent before the storage, with clear information first |
| United Kingdom | PECR, regulation 6, with the UK GDPR for the meaning of consent | Consent before the storage, except where an exception applies, such as the statistics and appearance exceptions under their conditions |
| Switzerland | Telecommunications Act, Article 45c, and the Federal Act on Data Protection (FADP) | Clear information and a way to refuse, with consent first where the processing is high-risk or unexpected |
| United States | State privacy laws, such as the California Consumer Privacy Act (CCPA) | A way to opt out of the sale or sharing of personal data and of targeted advertising, in the states with such a law |
The table is a summary for orientation, not legal advice.
The UK exceptions for statistics and appearance
The UK lets a site run some analytics without consent, under conditions that most third-party analytics setups do not meet. Schedule 12 of the Data (Use and Access) Act 2025, in force since 5 February 2026, added exceptions to PECR for statistics, appearance, and emergency assistance. The statistics exception requires clear information, a simple and free way to object, aggregate figures only, and no advertising use, according to the ICO guidance on the exceptions. A provider that uses the data for its own purposes, or links it to advertising, takes the tool outside the exception. Tag an analytics tool with tracking all the same, because Cookie Consent shows every visitor the same consent banner, and EU visitors need consent first.
Switzerland and the right to refuse
Swiss law asks you to tell visitors about cookies and let them refuse, and asks for consent first only in higher-risk cases. The Federal Data Protection and Information Commissioner (FDPIC) reads Article 45c of the Telecommunications Act that way in its guidelines on data processing using cookies. Compare the Swiss rules with the GDPR in GDPR and Switzerland.
US state privacy laws
The US has no federal law that requires a cookie consent banner, and the state privacy laws mostly ask for an opt-out instead of consent first. California requires businesses to honor opt-out preference signals such as Global Privacy Control (GPC), a browser signal that tells the site the visitor opts out. The California law applies only above thresholds, such as an annual revenue of $26.625 million or buying, selling, or sharing the personal information of 100,000 California residents or households. Read the opt-out and GPC rules in What Is Global Privacy Control? and The California Privacy Rights Act (CPRA).
Cookie Consent does not offer a "Do Not Sell or Share" link and ignores the GPC signal. Check what else it leaves to you in Limits of Free Cookie Consent: What It Does Not Do.
Cookies that need no consent
Storage that is strictly necessary for a service the visitor asked for needs no consent, and Cookie Consent runs scripts tagged strictly-necessary on every page. Article 5(3) of the ePrivacy Directive exempts storage used only to transmit a communication and storage strictly necessary to provide a service the user explicitly requested.
Cookie Consent writes 3 first-party cookies that record the answer. The French data protection authority (CNIL) lists trackers that keep the choice a user makes about trackers as exempt, in paragraph 49 of its guidelines on cookies and other trackers. The ICO gives cookies that remember the cookie preferences a user sets as an example of the strictly necessary exception, in its guidance on the exceptions.
Scripts that need consent and their category
Analytics, advertising, and most embedded services need consent, and each goes into one of the 4 Cookie Consent categories. Pick the category from what the tool does with the data on your site.
| Tool | What it stores or reads | Category |
|---|---|---|
| Google Analytics 4, Microsoft Clarity, HubSpot | Visitor and session identifiers for usage analysis | tracking |
| Meta Pixel, Google Ads, TikTok Pixel, LinkedIn Insight Tag | Identifiers for ad measurement and targeting | targeting |
| YouTube embeds, Calendly | Identifiers and preferences of the embedded service | functionality |
The CNIL exempts trackers that only secure a login, for example by limiting automated access attempts, so tag such a CAPTCHA strictly-necessary. A CAPTCHA whose provider uses the data for other purposes needs consent, so tag it with the category of those purposes. Choose the category for every script on your site with the 4 cookie categories, then add the tags with Block Scripts Until Consent.
Cookieless analytics and the consent rule
An analytics tool that does not set cookies still falls under Article 5(3) when it reads information from the device. The European Data Protection Board states that JavaScript which instructs the browser to send information falls within Article 5(3), in its Guidelines 2/2023, adopted on 7 October 2024. A cookieless tool still receives the IP address of each visitor, which is personal data, so name the tool and the legal reason you use it in your Privacy Policy.
Read when an analytics tool runs without consent in Analytics Tools and GDPR Consent. Tag an analytics tool with tracking unless it meets an exemption that post describes.