Alex is Sprintlaw’s co-founder and principal lawyer. Alex previously worked at a top-tier firm as a lawyer specialising in technology and media contracts, and founded a digital agency which he sold in 2015.
Yes, in most cases you do need a cookie policy if you use analytics on your website. If your analytics tool stores or reads cookies, pixels, tags or similar tracking technologies on a visitor's device, the UK's cookie rules are likely to apply.
The slightly more nuanced part is consent. Not every website function needs opt-in consent, but analytics and marketing tools usually sit outside the strictly necessary category. That means you may need a clear cookie banner, a proper cookie consent process before tracking starts, and a cookie policy that lines up with your privacy notice.
If you're asking, do I need a cookie policy because I use analytics, you're already thinking about the right issue. The goal isn't just to tick a box. It's to make sure your website growth tools don't create avoidable compliance risk for your business.
Do I Need A Cookie Policy If I Use Analytics?
Yes, you usually need a cookie policy if your analytics tool uses cookies or similar tracking technology. In the UK, cookies are mainly regulated by the Privacy and Electronic Communications Regulations 2003, often called PECR, and personal data collected through cookies is also covered by the UK GDPR and the Data Protection Act 2018.
Analytics tools often collect information such as:
- IP addresses or approximate location data
- device and browser details
- pages viewed and buttons clicked
- referral sources, such as ads or search engines
- cookie IDs or other online identifiers that recognise a returning visitor
Some of that information may be personal data, even if you don't know the visitor's name. For example, a cookie ID linked to a browsing history can identify or single out a person when combined with other information.
Your cookie policy should explain what cookies you use, why you use them, who provides them and how visitors can control them. Your privacy policy should then explain the personal data side, including your lawful basis, data sharing, retention and visitor rights.
The practical point is this: if analytics helps you measure your website traffic, improve conversions or track campaigns, don't treat it as invisible background tech. Name it, explain it and make sure it doesn't load until you have the consent you need.
Do I Need Consent For Google Analytics In The UK?
Yes, for most small business websites, you should get consent before Google Analytics cookies are set. The Information Commissioner's Office, or ICO, has generally treated analytics cookies as non-essential because your website can still function without them.
Under PECR, consent must meet the UK GDPR standard. In plain English, that means consent should be:
- Freely given: visitors shouldn't be forced to accept analytics just to browse ordinary website content
- Specific: analytics should be separated from other choices where practical, especially marketing cookies
- Informed: visitors should know what the tool does and who receives the data
- Unambiguous: consent should come from a clear action, not silence or pre-ticked boxes
- Easy to withdraw: visitors should be able to change their mind without hunting through your website
Google Analytics can involve cookies, online identifiers and data sharing with Google. You should also check your settings, including your data retention policy, ad features, Google Signals, IP address handling and any international transfer arrangements that apply to your account.
Say Mina runs a small online bakery in Manchester. Her site gets around 12,000 visits a month and she uses GA4 to see which cake pages convert best. She also spends £600 a month on social ads. Mina's site shouldn't drop GA4 or ad tracking cookies the moment someone lands on the homepage. Her banner should let visitors accept or reject analytics and marketing cookies first, and her cookie policy should explain GA4 and the ad pixel separately.
Since 5 February 2026, PECR has included a statistical purposes exception under Schedule A1, introduced by the Data (Use and Access) Act 2025. This means some low-risk analytics may be used without prior opt-in consent if they're used solely to collect aggregate statistics to improve a website or online service. To rely on that exception, you still need to give clear information, offer a simple and free way for users to object, keep sharing limited, and avoid using the data to identify or track individuals, target ads, build profiles, or make decisions about people.
That exception is narrow. Many analytics setups will still need consent, especially if they involve advertising features, remarketing, cross-site tracking, Google Signals, Meta-style tracking, ad pixels or broader data sharing. If you want to rely on an exemption instead of consent, it's worth getting the current ICO position checked for your exact setup.
What Should My Cookie Banner Do Before Analytics Loads?
Your cookie banner should stop non-essential analytics and marketing cookies from loading until the visitor has made a valid choice. A banner that only says your site uses cookies, with an OK button, usually won't be enough for analytics tools.
A good cookie banner for a small business website should do these things:
- appear before non-essential cookies are placed
- explain the main cookie categories in plain language
- give visitors a real choice to accept or reject non-essential cookies
- avoid pre-ticked boxes or consent switched on by default
- make reject all as easy to find as accept all
- let visitors manage categories, such as analytics and marketing
- save the visitor's choice and let them change it later
You can usually keep strictly necessary cookies on, such as cookies that make a shopping cart work or keep a user logged in. You should still tell visitors about those cookies, but they don't usually need opt-in consent if they're genuinely necessary for the service the visitor asked for.
Analytics and marketing are different. If your cookie tool fires Google Analytics, Meta Pixel, TikTok Pixel, Hotjar, LinkedIn Insight Tag or similar tools before the visitor accepts, your setup may not match your policy wording.
This is a common gap: the documents say consent comes first, but the website code does something else.
It's worth testing your site with a fresh browser session, a consent scanner or a cookie compliance audit. Check what cookies appear before you click anything, after you reject, and after you accept. If cookies show up too early, the fix is usually technical as well as legal.
How Should My Cookie Policy And Privacy Notice Work Together?
Your cookie policy and privacy notice should work as a pair, not as two separate documents saying different things. The cookie policy explains the tracking technology. The privacy notice explains how your business handles personal data collected through that technology.
Your cookie policy should answer practical website questions, such as:
- what cookies, pixels, tags and SDKs you use
- whether each cookie is strictly necessary, analytics, marketing or preference-based
- the provider of each cookie, such as Google or Meta
- what each cookie helps you do
- how long cookies last, where you can confirm that from your tool settings
- how visitors can accept, reject or change their choices
Your privacy notice should cover the personal data piece, including:
- what personal data you collect through analytics and advertising tools, including any sensitive information
- why you use that data, such as measuring website performance or running targeted ads
- your lawful basis under the UK GDPR
- who you share data with, including analytics and advertising providers
- whether data may be transferred outside the UK and what safeguards apply
- how long you keep the data
- how people can use their privacy rights
The two documents don't need to repeat each other word for word. In fact, too much repetition can make them harder to maintain. But they should be consistent. If your cookie policy says you only use basic analytics, while your privacy notice says you run retargeting ads, that creates confusion.
Templates can be a useful starting point, but cookie documents work best when they're tailored to your actual website tools. A template won't know whether you've turned on advertising features, heatmaps, session recordings or conversion tracking.
Cookie Policy Template: What To Include
A cookie policy should be tailored to your website, but you can use the outline below to see what usually needs to be covered. Treat this as a drafting checklist, not a finished legal document.
- Who You Are: name your business and explain that the policy applies to your website and any related online services.
- What Cookies Are: explain cookies, pixels, tags and similar technologies in plain English.
- Why You Use Cookies: list your main purposes, such as security, site performance, analytics, preferences and marketing.
- Strictly Necessary Cookies: describe cookies needed for core site functions, such as checkout, login or fraud prevention.
- Analytics Cookies: name the analytics tools you use, what they measure and when they load.
- Marketing Cookies: explain any ad pixels, retargeting tools, conversion tracking or audience-building tools.
- Third-Party Providers: identify providers that set or receive cookie data, such as analytics, advertising or embedded media platforms.
- Cookie Duration: explain how long cookies last, using your actual tool settings where possible.
- Consent Choices: tell visitors how they can accept, reject, customise or withdraw consent.
- Privacy Notice Connection: point visitors to where they can read about personal data, legal bases, sharing and rights.
- Contact Details: give a clear way to contact your business about cookies and privacy choices.
Before you publish, compare the draft against your actual cookie scan and website tags. If your developer has added tools through Google Tag Manager, Shopify apps, WordPress plugins or ad platform integrations, those tools need to be picked up too.
A lawyer should tailor the policy before you use it, especially if you run marketing campaigns, sell online, use customer accounts or collect leads through forms. Those details change the wording and the risk profile.
Common Mistakes To Avoid
The biggest mistake is treating analytics as a minor technical add-on rather than a data and consent issue. It may feel harmless because you're only looking at dashboards, but the tools behind those dashboards can still track people across pages, sessions and sometimes other websites.
Watch out for these common problems:
- Using An OK Button Only: a banner that only has OK or got it's unlikely to give valid consent for analytics or marketing cookies.
- Loading Scripts Too Early: your website shouldn't set analytics or ad cookies before the visitor has opted in.
- Bundling Everything Together: analytics and marketing shouldn't be hidden inside one vague cookies category if the tools do different things.
- Copying A Policy From Another Site: another business may use different tools, settings, providers and legal bases.
- Forgetting Apps And Plugins: website builders, booking tools, chat widgets and embedded videos can all add their own cookies.
- Ignoring Rejection Data: if a visitor rejects analytics, your tags should respect that choice across the site.
- Letting The Policy Go Stale: every new tracking tool, campaign pixel or plugin can change what your policy needs to say.
A simple quarterly check can save you a lot of trouble. Ask your developer or marketing team what tags are live, run a cookie scan, compare it against your banner categories, then update your cookie policy and privacy notice if anything has changed.
If something has already gone wrong, start by pausing the tracking tool that looks non-compliant, keep a record of what was active and when, fix the banner or policy, and get advice if personal data was collected without the right notice or consent.
Key Takeaways
- If your analytics tool uses cookies, pixels or similar technology, you usually need a cookie policy.
- Some low-risk aggregate analytics can fall within the PECR statistical purposes exception, but only if strict conditions are met.
- Many analytics and advertising tools still need consent, especially where they involve tracking, profiling, ads or broader data sharing.
- Your cookie banner should block analytics and marketing cookies until the visitor has made a valid choice, unless a clear exemption applies.
- Your cookie policy should explain the technology, while your privacy notice should explain the personal data use under the UK GDPR.
- Cookie rules are technical as well as legal, so your website documents and tag setup need to match.
If you'd like help with your cookie policy, consent banner wording, privacy notice and analytics setup, you can reach us at 08081347754 or team@sprintlaw.co.uk for a free, no-obligations chat.
Drafted by Taylor, Sprintlaw's AI, and overseen by Alex Solo. How we write
Get your customer-facing terms right
What should your privacy and online terms cover?
If you collect customer data, sell online or run marketing campaigns, your public terms and privacy documents should match the real customer journey.








