Privacy and consent
GDPR & CCPA Cookie Banners Explained for Small Online Stores
Which cookies need consent, what a compliant banner looks like, and how to prove the choice later. Written for stores, not law firms.
9 min read · Updated December 2026
In short
- Non-essential trackers must wait for consent, not load and apologise later.
- Reject has to be as easy to find as accept.
- Record the choice, the banner version and the date. That record is your proof.
The one-paragraph version
If you sell to the EU or UK, non-essential cookies and trackers need consent before they run. If you sell to California, residents have the right to know what you collect and to opt out of its sale or sharing. A banner is the interface. The real work is what loads before and after the visitor chooses.
This is not legal advice. It is the operational version of what regulators and platform audits keep asking small stores to fix.
What counts as non-essential
- Analytics that set cookies or identifiers, including many GA4 configurations.
- Advertising and retargeting pixels: Meta, TikTok, Google Ads, Pinterest.
- Heatmaps and session recorders.
- A/B testing and personalisation tools.
- Embedded video, maps and fonts that call a third-party host.
- Live chat widgets that store a conversation profile.
- Affiliate tracking scripts.
Essential means strictly necessary to deliver what the customer asked for: cart, checkout, login session, security and load balancing. Those may run without consent. Everything else waits for a choice.
What a compliant banner looks like
- Reject is as easy to find as accept: same screen, same prominence, no grey-on-grey.
- Nothing pre-ticked. Silence is not consent.
- Plain categories: necessary, preferences, analytics, marketing.
- A link to your cookie policy and a way to change the choice later.
- No cookie wall for a service the visitor can otherwise reach.
- No dark patterns: no accept-on-scroll, no fake countdowns, no tiny close cross that counts as agreement.
Consent Mode v2 without the jargon
Google's Consent Mode lets your tags run in a limited state before consent, sending cookieless pings instead of identifiers. For traffic in the EEA, the UK and Switzerland, Google requires it for advertising and analytics.
In practice your banner must set the consent state to denied by default and update it when the visitor chooses. If the banner only hides itself, the tags keep firing as though everyone agreed, which is the exact failure auditors look for.
CCPA and CPRA in plain English
California gives residents the right to know, delete, correct and opt out of the sale or sharing of personal information. If you run advertising or analytics pixels that pass data to third parties, you are probably sharing under the law's definition.
- Publish a privacy policy that lists the categories you collect and why.
- Add a Do Not Sell or Share My Personal Information link in the footer.
- Honour the Global Privacy Control browser signal where your stack allows it.
- Do not treat people who opt out any differently.
Proving consent later
Store the essentials: a timestamp, the banner version, the categories accepted, and the region you assumed. Nothing more than that.
If you cannot say which version of the banner a customer saw, you cannot show consent. Keep the record for as long as you keep the data it justifies.
Shopify and WordPress mistakes we see constantly
- Two consent tools installed at once, each disagreeing about what is allowed.
- Pixels hardcoded in the theme, so they load before any banner can stop them.
- A consent app that blocks its own scripts but not the ones added by other apps.
- A cookie policy copied from another store, listing tools you do not use.
- A banner on the homepage only, with checkout left open.
A ten-minute self-audit
- Open the site in a private window with the network panel showing and reload.
- List every request to a third-party domain.
- Mark each one essential or not.
- Check which ones fired before you touched the banner.
- Click reject and confirm the non-essential requests actually stop.
- Compare the list against what your policy says you collect.
