Cookie Consent for UK Shopify Stores After the 2025 Data Act
Since 5 February 2026 some analytics cookies no longer need consent in the UK. What the Data (Use and Access) Act changed and how to set up Shopify.

For years the UK rule was simple: any cookie that isn't strictly necessary needs consent first. The Data (Use and Access) Act 2025 changed that. The relevant parts came into force on 5 February 2026, and the ICO has since published guidance. Many UK Shopify stores still run the banner they set up in 2021. Here is what changed and what to do about it.
This is a practical summary, not legal advice.
What changed
The Act amended the Privacy and Electronic Communications Regulations (PECR) to add exceptions to the consent rule. The one that matters most to online shops covers analytics used to improve your own service. Such cookies can be set without consent, provided:
- you tell people clearly what they do, and
- you give them a simple, free way to object.
It does not cover analytics that also feed advertising or profiling. If your analytics data goes into ad platforms or builds audiences, consent is still needed.
The Act also raised the maximum PECR fines to the UK GDPR level, so getting this wrong costs more than it did.
What did not change
- Advertising and marketing pixels (Meta, Google Ads, TikTok, affiliate tracking) still need consent before they fire.
- Session replay and heatmap tools usually collect more than basic analytics needs. Treat them as needing consent unless you have checked them against the ICO guidance.
- Strictly necessary cookies (cart, checkout, login, security) never needed consent and still don't.
Setting up Shopify
Shopify has a built-in Customer Privacy banner (under Settings > Customer privacy) and a consent API that apps and pixels are meant to respect. Third-party consent apps do the same job with more control.
- Turn on the banner for the UK and set it to ask before marketing cookies load.
- List what your store actually loads. Open the store in a private window, accept nothing, and look at the network requests and cookies in your browser's developer tools. Anything advertising-related that loads before a choice is a problem.
- Move tracking into Shopify's customer events (web pixels) where you can. Pixels set up there receive the visitor's consent state; scripts pasted into the theme often ignore it.
- Decide what counts as improvement analytics. If you want to rely on the new exception for, say, Shopify's own analytics or a privacy-focused tool, write down why it qualifies, mention it in your cookie notice, and give people a way to object.
- Write the cookie notice for people. Say what each group of cookies does, in plain English, and how to change the choice later.
Script tags are going
Many old tracking codes and widgets load through script tags, which Shopify stops running on storefronts on 1 March 2027. Moving them to app embeds and customer events fixes two problems at once. See our script tags guide.
A quick test
- Private window, no choice made: no advertising requests.
- Reject all: still no advertising requests after browsing three pages.
- Accept all: pixels fire, and orders show up in your ad platforms.
- The banner offers reject as easily as accept.
If the test fails and the cause is buried in theme code or old apps, our Shopify engineering team can trace it and clean it up.


