Guide
Does my website need a cookie banner?
Strictly necessary vs optional cookies, how rules differ by region and what a good banner does. General information, not legal advice.
It depends on where your visitors are and which cookies your site uses. Many places, including the EU and UK, expect consent before optional cookies such as advertising trackers are set (the UK now exempts simple analytics if visitors can opt out). Other places expect notice but not a pop-up. If your site sets only strictly necessary cookies, you may not need a banner at all. This is general information, not legal advice. Check the rules where you operate and ask a lawyer if you are unsure.
What cookies are
A cookie is a small file a website stores in a visitor’s browser. It can remember a login or shopping basket, or track what someone does across pages or sites. Similar technologies, such as tracking pixels and local storage, are usually treated the same way.
Strictly necessary and optional cookies
- Strictly necessary: keeping items in a basket, staying logged in, security, remembering a cookie choice. These normally don’t need consent.
- Optional: advertising and retargeting pixels, social media trackers, many analytics tools, embedded content that sets its own cookies (some video and map embeds). In regions with strict rules these need consent before they load.
Step 1: Find out what your site sets
You can’t decide until you know. Open your site in a private window, then use your browser’s developer tools (Application or Storage tab) to see cookies, or ask your developer. Common surprises: analytics added by a plugin, a chat widget, a Facebook pixel, a YouTube embed, a map, a font loaded from a third party.
Step 2: Find out which rules apply
In general terms:
- EU: consent is usually required before optional cookies are set, and visitors should be able to refuse as easily as accept. The rules can apply if you target visitors there, wherever you are based.
- UK: the same broad rules, with one change from the Data (Use and Access) Act 2025: analytics used only to understand and improve your own site can run without consent, as long as visitors get a simple, free way to opt out (ICO guidance). Advertising and tracking cookies still need consent.
- US: there is no single national cookie law. Some states’ privacy laws give people rights to opt out of tracking or targeted advertising, and may require a notice or a way to opt out.
- Canada, Australia and others: privacy laws generally expect you to be open about tracking, and consent in many cases.
These change, and the details matter, so check current guidance from your regulator.
Step 3: Choose the simplest honest approach
- Use fewer trackers. The easiest compliant site is one that sets only strictly necessary cookies. A small business with a brochure site may not need ad pixels at all. Some privacy-focused analytics tools work without cookies; check each tool’s documentation.
- If you do need consent, use a proper consent tool that blocks optional scripts until the visitor agrees. A banner that sets cookies first and asks later doesn’t meet the standard in strict regions.
- If you only need notice, a short statement in your privacy policy may be enough. See does my website need a privacy policy?
What a good banner does
- Says plainly what the cookies are for.
- Gives “Accept” and “Reject” the same prominence.
- Lets people change their mind later through a link in the footer.
- Doesn’t block the whole page or cover your phone number and call button.
- Can be used by keyboard and screen reader. See accessibility for small businesses.
- Works on a phone. Check with our mobile-friendly test.
Mistakes
- A banner that is only decoration, with trackers already running.
- A “Accept” button and a hard-to-find “Manage” link.
- Copying a banner without checking what your site actually sets.
- Adding a new plugin or pixel and forgetting to update the banner and policy.
Self-check
- List every cookie and tracker on your site and what it’s for.
- Know which countries your visitors come from and which rules apply.
- Make sure your policy matches reality.
- Test the banner on a phone, in a private window.
When to get help
If you advertise online, sell to the EU or UK, or handle sensitive data, ask a lawyer or privacy professional. A developer can install and test a consent tool correctly. Run the free check or ask for a free review.
Filed under Running your site
Next step
Not sure where your own business stands?
A two-minute check-up shows where you are losing time and customers, and what to fix first.


