Blog

· 3 min read

Cookie policy vs. cookie banner: what you actually need

A cookie banner and a cookie policy do different jobs. Here's what each one is for, when you need them, and how to keep them consistent.

"Do I need a cookie banner?" and "Do I need a cookie policy?" are different questions with different answers. The banner is about getting consent. The policy is about explaining what you do. In the EU and UK you usually need both, and they need to agree with each other.

The rule behind both

In the EU, the ePrivacy Directive (Article 5(3), the "cookie law") says you may only store or read information on a user's device with their consent, unless it's strictly necessary for a service they asked for. The UK has the same rule in PECR. GDPR then defines what valid consent looks like: freely given, specific, informed and unambiguous, and as easy to withdraw as to give.

The rule covers more than cookies. It also covers local storage, pixels, fingerprinting and mobile SDK identifiers.

The cookie banner: getting consent

The banner's job is to ask permission before non-essential cookies are set. To do that properly:

  • Block first, load later. Analytics and advertising scripts shouldn't run until the user agrees.
  • Make reject as easy as accept. Regulators in France, Germany and elsewhere have fined sites where "Reject all" was hidden behind a second click.
  • Let users choose by category: preferences, analytics and marketing.
  • Let users change their mind later, for example with a "Cookie settings" link in the footer.
  • Link to the cookie policy, because consent has to be informed.

We use cookies

Choose which cookies we may use. You can change this at any time. Cookie Policy

  • Necessary · Sign-in, security, remembering this choice
  • Analytics · How the site is used
  • Marketing · Ads and measuring them
Reject allAccept all

Cookie Policy · Cookies we use

Strictly necessary

Required for the service to work, such as keeping you signed in and protecting against fraud. These cannot be switched off.

Cookie Provider Purpose Duration
Session cookie Acme Notes Keeps you signed in and secures your session Session

Preferences

Remember choices you make, such as language or chat widget state.

Cookie Provider Purpose Duration
intercom-id-<app-id> Intercom Identifies the chat visitor 9 months
intercom-session-<app-id> Intercom Keeps the chat session open 1 week
intercom-device-id-<app-id> Intercom Identifies the device for chat 9 months

Analytics

Help us understand how the service is used so we can improve it.

Cookie Provider Purpose Duration
_ga Google Analytics Distinguishes unique users 2 years
_ga_<container-id> Google Analytics Persists session state 2 years
A banner with categories, next to the cookie list it has to match.

When you might not need a banner

If you only use strictly necessary cookies, such as a session cookie for logged-in users, a CSRF token or a cookie that remembers a consent choice, you don't need consent, so you don't need a banner. You still need to tell people about them.

Some analytics tools, like Plausible, are designed to work without cookies or personal data. Whether that removes the need for consent depends on the tool's configuration and on your regulator's guidance, so check before you drop the banner.

The cookie policy: explaining what you do

The cookie policy is the "informed" part of informed consent. A useful one lists, for every cookie or similar technology:

  • its name (for example _ga, __stripe_mid or intercom-session-*)
  • who sets it: you or a third party such as Google, Stripe or Intercom
  • its purpose
  • its category: necessary, preferences, analytics or marketing
  • its duration

It should also explain how to change consent choices and how to block cookies in the browser.

Most cookie policies fall down on the list. It's tedious to compile by hand and goes out of date the moment someone adds a chat widget or an embedded video. YouTube embeds, for example, set marketing cookies unless you use the privacy-enhanced youtube-nocookie.com domain, which waits until the video is played.

Privacy-enhanced mode

Cookie Policy · Cookies we use

Strictly necessary

Required for the service to work, such as keeping you signed in and protecting against fraud. These cannot be switched off.

Cookie Provider Purpose Duration
Session cookie Acme Notes Keeps you signed in and secures your session Session

Standard embeds

Cookie Policy · Cookies we use

Strictly necessary

Required for the service to work, such as keeping you signed in and protecting against fraud. These cannot be switched off.

Cookie Provider Purpose Duration
Session cookie Acme Notes Keeps you signed in and secures your session Session

Marketing

Used to measure advertising campaigns and show you relevant ads on other sites and apps.

Cookie Provider Purpose Duration
YSC YouTube embeds Tracks views of embedded videos Session
VISITOR_INFO1_LIVE YouTube embeds Estimates bandwidth and personalises recommendations 6 months
The same YouTube embed, two settings, two cookie lists.

Keeping them consistent

The banner and the policy must describe the same reality:

If your banner… …your policy must…
has an "Analytics" toggle list every analytics cookie, e.g. Google Analytics or Hotjar
has a "Marketing" toggle list every advertising cookie and pixel, e.g. Meta Pixel
loads a chat widget before consent justify it as necessary, or move it behind consent

If a regulator or a curious user compares the two and finds a cookie in the browser that's in neither, that's a problem.

Cookie Policy · Cookies we use

Strictly necessary

Required for the service to work, such as keeping you signed in and protecting against fraud. These cannot be switched off.

Cookie Provider Purpose Duration
Session cookie Acme Notes Keeps you signed in and secures your session Session
__stripe_mid Stripe Fraud prevention 1 year
__stripe_sid Stripe Fraud prevention 30 minutes

Analytics

Help us understand how the service is used so we can improve it.

Cookie Provider Purpose Duration
_ga Google Analytics Distinguishes unique users 2 years
_ga_<container-id> Google Analytics Persists session state 2 years
_hjSessionUser_<site-id> Hotjar Identifies returning visitors 1 year
_hjSession_<site-id> Hotjar Holds current session data 30 minutes

Marketing

Used to measure advertising campaigns and show you relevant ads on other sites and apps.

Cookie Provider Purpose Duration
_fbp Meta Pixel & SDK Identifies browsers for ad delivery and measurement 3 months
fr Meta Pixel & SDK Delivers and measures ads (set on facebook.com) 3 months
A cookie list grouped by the same categories as the banner, generated from four tools.

Do I need a separate cookie policy?

Not strictly. You can put the cookie information in a section of your privacy policy. A separate Cookie Policy has practical advantages:

  • the banner can link straight to it
  • the cookie list changes more often than the rest of your privacy policy
  • it keeps your privacy policy readable

How Instant Terms helps

Each tool in the Instant Terms library knows the cookies it sets, with purpose, category and duration, and some depend on your answers. Stripe's fraud cookies only appear with an embedded checkout, for example. Pick your tools and the Cookie Policy generator writes the list for you, grouped by the same categories your banner uses. Add a tool later and the new cookies show up as a suggested edit.

You'll still need a consent tool to run the banner itself. The policy tells you exactly what it needs to block.

Drafts, not legal advice

Instant Terms is not a law firm and does not give legal advice. Everything it produces is a first draft based on your answers, and it may not cover every law or situation that applies to your product. We always recommend having a qualified lawyer review your documents before you publish them. You are responsible for the documents you use.

Keep reading

More guides for your legal pages

All posts
Privacy policies · 8 min read

How to Create a Privacy Policy for SaaS in 5 Minutes

How to create a privacy policy for SaaS from your real stack: pick tools like Supabase and PostHog, answer region questions, edit, export and get it reviewed.

Read the guide
Privacy policies · 8 min read

Privacy Policy Generator for SaaS, Built From Your Stack

A privacy policy generator for SaaS that drafts from the tools you use: Supabase, Stripe, PostHog. Free to draft and preview; $24 once for the core three.

Read the guide
Privacy policies · 11 min read

SaaS Privacy Policy: Write One From Your Real Stack

How to write a SaaS privacy policy from the tools you use: which vendor triggers which disclosure, GDPR and CCPA sections, transfers and clause excerpts.

Read the guide