Skip to content
Free website migration on every plan, done by our team.Learn more ›
Privacy

Cookie banners: when your website needs one

When you need a cookie consent banner, which cookies count as essential, how to design a fair banner and how to set fewer cookies to begin with.

Short answer: If you have visitors from regions with strict privacy laws, such as the EU and UK, you generally need consent before setting non-essential cookies, like analytics or advertising cookies. Essential cookies, such as login or cart cookies, don't need consent. Fewer cookies means a simpler banner.

General information only, not legal advice.

Essential vs non-essential

Essential (no consent needed)Non-essential (consent needed)
Login sessionsAdvertising and retargeting
Shopping cartsMost analytics
Security and load balancingSocial media embeds that track

A fair banner

  • Equal "Accept" and "Reject" options.
  • No non-essential cookies before a choice is made.
  • A way to change the choice later.
  • A link to your privacy policy. See does your site need a privacy policy?.
  1. Use privacy-friendly analytics. See privacy-friendly analytics.
  2. Load videos and maps only after a click.
  3. Remove trackers you don't use.

Nigeria and elsewhere

Nigeria's Data Protection Act and other national laws also cover personal data. Check the rules for the countries you serve.

Frequently asked questions

Do I need a banner if I only use essential cookies?

Usually not, but you should still explain them in your privacy policy.

Does a banner slow my site?

Some do. Choose a lightweight consent tool.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.