Google Analytics and the GDPR: what a small business should do
Where Google Analytics stands under the GDPR, and what a small business should set up.
Privacy, accessibility and AI rules
A cookie banner is needed when your site stores or reads something on a visitor's device that the visitor did not ask for. This guide lists what triggers that, how Europe and the US differ, and what a banner that holds up looks like on a phone.
Updated 29 October 2026, about 11 minutes to read
The short answer
You need one when your site stores or reads anything on a visitor's device that is not strictly needed for what they asked for: analytics, an ad pixel, an embedded video or map, many chat and booking widgets. In the EU and the UK those must wait for a yes. The US has no general banner rule, but larger businesses must offer an opt-out. A site with none of these needs no banner.
The European rule covers anything stored on the visitor's device, whatever it is called. Under Article 5(3) of the EU's ePrivacy Directive, storing information on a visitor's phone or computer, or reading what is already there, needs their consent, unless it is strictly necessary to give them a service they asked for. The European Data Protection Board's 2024 guidelines on the rule's technical scope cover tracking pixels and tracking links as well as cookies.
So the question is what your site sets, and why. A shopping basket, a login or the answer to the cookie question itself can be stored without asking, because the visitor needs them for what they came to do. Counting visits, measuring ads and loading content from other companies generally cannot, in the EU.
The US works the other way round. No federal law requires a cookie banner. California's privacy law and those of other states let tracking start, but require businesses above set thresholds to let people opt out of having their data sold or shared for advertising.
The rest of what the GDPR asks of a website, from processors to retention, is in our GDPR checklist. This guide is only about the banner.
Analytics is the trigger everyone knows, and it has a guide of its own. These are the others that small business sites carry, often without the owner choosing them:
Each of these is a choice. Some are worth a banner. Others cost less to replace than to ask about.
Do not rely on memory, or on what your web designer believes is on the site. Plugins, themes and booking tools add things quietly, and an update can add more. You can check it yourself on a laptop:
Every row marked no in the last column is what the banner is for, or what you remove. Keep the table. It becomes the list your banner and your privacy notice describe, and the first thing to update when someone adds a tool.
In the EU, consent has to come before the tracking starts, and it has to be a real choice. In January 2023 a taskforce of EU data protection authorities, working through the European Data Protection Board, published its shared view on common banner designs:
The UK's regulator says the same in its own words. The ICO's guidance asks that refusing be as easy as accepting. Its example of good practice shows equally prominent Accept all and Reject all buttons on a phone and on a desktop, and its bad example offers only Accept all and More options. Carrying on browsing is not consent, silence is not consent, and visitors must be able to withdraw as easily as they agreed.
UK law now has five exceptions where no consent is needed, after the Data (Use and Access) Act 2025. Two matter for small sites: statistics used only to improve your own site, and remembering how a visitor wants the site to look or work, such as a language. Both require clear information and a simple, free way to object. None covers advertising: the ICO says no advertising purpose meets the strictly necessary exception.
State privacy laws in the US do not ask for a yes before tracking. They give people the right to say no, and they apply only to businesses above set thresholds of revenue or data. Under California's CCPA, a covered business that sells or shares personal information for cross-context behavioural advertising must, in most cases, show a clear link such as Do Not Sell or Share My Personal Information, and must treat a browser's Global Privacy Control signal as a valid request to opt out.
This is not theory for ad pixels. In August 2022 California's Attorney General settled with Sephora, saying its arrangement with third-party trackers on its website and app counted as a sale of consumer information, and that it failed to process opt-outs sent through Global Privacy Control. Whether your own business is covered is in our guide to the CCPA and other state laws.
Many US sites show a banner anyway, because they have visitors in Europe or because their ad platform asks for notice. If you add one, make it mean something. A banner with a single OK button records nothing useful: it is not consent in Europe, and it is not an opt-out in California.
Most visitors from a search or an ad arrive on a phone, where the banner competes with your phone number and booking button for a small screen. The ICO warns that a box designed for a desktop can be hard to read or use on a phone, and that consent given through it may not be valid. A banner that works on a phone:
Then test it. On a laptop, open the site in a private window with the developer tools on the Network tab, tap Reject all and click around: no request should go to Meta, Google's ad or analytics servers or anyone else you listed. Do it again with Accept all to check that the tools do start. On a landing page for ads, test the banner together with the form on a real phone, because a banner that covers the form's button costs you the enquiries the ad paid for.
ggsites.com shows no cookie banner, because it sets no cookies for visitors. Visits are counted by the site's own code, without cookies and without storing anything on the device, as the privacy notice explains. Browsers that send Do Not Track or Global Privacy Control are not counted at all.
The cookies page lists what is kept in the browser instead: the conversation with the site's assistant, in session storage so it follows the visitor from page to page and disappears when the tab closes, a note that the assistant's hint was shown, the visitor's choice to reduce motion, and the answer to the cookie question if it is ever asked. The page says these are strictly necessary for features the visitor uses, and that none is used for advertising or sent to anyone else.
It also says what would change. If we start measuring Meta ads, the site will ask first, with Accept and Decline given equal weight, and only a yes loads Meta's pixel. Declining changes nothing else on the site. That is the whole decision in one line: the banner arrives with the first tool that needs it, and not before.
Every tool that needs consent loses data from the people who say no, and the banner itself takes attention at the top of every first visit. Before you add one, see whether you can drop what causes it:
If you run Meta or Google ads and want to measure them in Europe, you need the banner. Ask properly, accept that some people will say no, and carry the campaign tags into each enquiry so you still see which ads bring work. Tracking leads from Meta ads shows how.
Consent platforms, cookie plugins and the banners built into website builders ask the question and keep a record of each answer. They only help if they really hold the tools back. Check:
Google's consent mode is a separate setting that changes how Google's own tags behave once the visitor has answered. It does not ask the question for you, so it never replaces the banner.
Check again whenever something is added: a new ad campaign, a chat widget, a video on the home page or a plugin update. When we build a website, the banner appears only if the site uses something that needs consent, and saying no is as easy as saying yes.
This is general information, not legal advice. Europe applies the cookie rule country by country and the US has different laws state by state. If your site uses tools that need consent, ask an adviser where your main customers are.
Not if nothing else on it stores or reads data on the visitor's device for a purpose they did not ask for. The European rule covers local storage, pixels and tracking scripts as well as cookies. Check with your browser's developer tools on each kind of page, including the contact page and any page with a video, before you decide.
No federal law requires one. State privacy laws such as California's CCPA work by opt-out instead: a covered business that sells or shares personal data for advertising needs a Do Not Sell or Share link and must honour Global Privacy Control. A US business with visitors in Europe may still need a banner for them.
Not if the font files are hosted on your own server, which your web designer can set up. Loading them from Google's servers sends each visitor's IP address to Google as the page opens. In January 2022 a Munich court ruled that doing this without consent broke the law and ordered the site owner to pay the visitor damages.
In Europe, treat it as needing consent. Google says privacy-enhanced mode stops the view from shaping the viewer's YouTube recommendations and ads, but it does not say nothing is stored. The simple fix is a still image with a play button that loads the video when tapped, with a line saying that playing it loads YouTube.
In the UK, in practice yes: the ICO expects refusing to be as easy as accepting, and shows a banner with only Accept all and More options as bad practice. In the EU, a vast majority of the authorities in the European Data Protection Board's 2023 taskforce said a first screen with no way to refuse breaks the rules.
Yes, if it blocks each tool until the visitor accepts its category and puts Reject all next to Accept all. Test it before you trust it: reject everything, then watch the browser's Network tab for requests to Meta, Google or your other tools. A banner that blocks nothing is worse than none, because it tells visitors something untrue.