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 sessions | Advertising and retargeting |
| Shopping carts | Most analytics |
| Security and load balancing | Social 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?.
Reduce what needs consent
- Use privacy-friendly analytics. See privacy-friendly analytics.
- Load videos and maps only after a click.
- 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.



