★ 5.0 on Google · No long contracts · You own every asset
Rathly

What is a cookie banner, and when do you need one?

Short answer

A cookie banner tells visitors that your site uses cookies and other trackers. Where the law requires it, it asks for consent before non-essential ones run. EU and UK law require consent for most tracking cookies. U.S. rules are lighter and depend on your state, size and data use. Google requires consent signals for European ad traffic.

In this answer
  1. 01When you need one
  2. 02Google's consent requirements
  3. 03A banner that respects visitors and speed

When you need one

Your visitors and data useWhat usually applies
Visitors from the EU or UKConsent before analytics or ad cookies run
California, at CCPA thresholdsNotice, plus a Do Not Sell or Share link if you share data
Other U.S. states with privacy lawsOpt-out rights, mostly for larger businesses
Local U.S. visitors, small businessA privacy policy, often no banner required

U.S. law changes quickly, and several states have passed consumer privacy laws with their own thresholds. Check with a lawyer for your situation.

If you run Google Ads or analytics and get traffic from the European Economic Area, Google expects consent signals through consent mode. Consent mode passes each visitor's choice to Google's tags, so tags adjust what they store. It also lets Google model some conversions for visitors who decline.

A banner that respects visitors and speed

  • Equal-weight buttons to accept or reject
  • No tracking before consent where consent is required
  • A link to your privacy policy
  • A way to change the choice later
  • Reserved space, so the page does not jump

Badly built banners hurt Core Web Vitals. A banner that pops in late and pushes content down adds layout shift, and heavy consent scripts slow the first screen.

Good example. A local roofing company with mostly U.S. visitors skips a full-screen consent wall. It shows a small notice that links to its privacy policy and loads ad tags after the page.

Bad example. The same company installs a heavy consent tool that covers half the phone screen. It blocks the call button and adds a second of load time.

Treat this as general guidance and confirm your case with a lawyer. Our web design team sets up the lightest setup your traffic and tools require.

Keep reading

Related answers

All Web design questions →

Your agency isn't delivering? Talk to us.

  • ✓ You talk to the people who do the work
  • ✓ We handle 95% of requests the same or next day
  • ✓ You own every account, site and listing
Talk to usSTEP 1 OF 2
What isn't working?
No contract. Cloudflare Turnstile blocks spam.
Call usTalk to us →