My place in the WordPress community
- I have had a wordpress.org account since 2006.
- I contributed to WordPress core for versions 7.0 and 7.1.
- I maintain 30 plugins on wordpress.org.
- I organise and speak at WordCamps.
- I have attended every WordCamp Europe from 2017 to 2026.
What changed in PECR regulation 6 and when
Regulation 6 of the Privacy and Electronic Communications Regulations is the rule behind every cookie banner. Section 112 of the Data (Use and Access) Act 2025 replaced it. The new text says that, subject to Schedule A1, a person must not store information, or gain access to information stored, in the terminal equipment of a subscriber or user. The legislation.gov.uk page records section 112 as in force from 5 February 2026 by S.I. 2026/82, in so far as it was not already in force.
Two parts matter for a Next.js build. First, the storing and the accessing both count, and so does instigating either. Second, the same section gives the Secretary of State a power to add or change exceptions by regulations (regulation 6A), subject to approval of a draft by both Houses and after consulting the Information Commissioner. The list below can therefore grow. I check the legislation.gov.uk page before each release rather than trusting my notes.

Photo: mattbuck (category), CC BY-SA 3.0, Wikimedia Commons.
The rule follows the visitor, not the company. The ICO states that a UK-based organisation that hosts its online service overseas must still comply with PECR. A Bristol team that deploys to an edge network in another country is therefore in the same position as one hosting in the UK. Bristol and Bath also has an active tech community: techSPARK calls itself the not-for-profit growth network in Bristol & Bath. Teams there ship product sites with analytics, embedded video and marketing tags, which is exactly where regulation 6 bites.
The exceptions in Schedule A1
Schedule 12 to the Act inserts Schedule A1 into PECR. In plain terms it contains these routes around consent:
- Communication: technical storage or access for the sole purpose of transmitting a communication over a network.
- Strictly necessary: storage or access strictly necessary for an information society service the user requested. The Schedule gives examples: protecting information in the service, protecting the security of the user’s device, preventing or detecting fraud, preventing or detecting technical faults, automatically authenticating the user, and keeping a record of selections or information the user put into a website.
- Statistical purposes: collecting information about how a service or website is used, with a view to improving it, where the information is not shared except to help with those improvements, the user gets clear and comprehensive information, and the user gets a simple, free means of objecting and does not object.
- Website appearance: adapting how the website appears or functions to the user’s preferences, or otherwise enhancing its appearance or functionality, under the same information and objection conditions.
- Emergency assistance: a separate narrow exception.
Everything else stays under the consent route in paragraph 2 of the Schedule: clear and comprehensive information about the purpose, plus consent. The ICO finalised its guidance on storage and access technologies on 29 April 2026 and reads these exceptions narrowly. It says the exceptions apply only if your use matches the purposes and requirements of each one, and that if your usage goes beyond them you must get consent.
How a Next.js site maps onto the exceptions
The table applies the ICO’s own examples to things I find in App Router projects. It is a reading aid, not legal advice, and the ICO says each case turns on how the technology is used.
| What the site does | Consent route, according to the ICO |
|---|---|
| Shopping basket, login session, security tokens | Strictly necessary, no consent |
| Cookie that remembers the consent choice | Can be strictly necessary if used solely for that purpose |
| Page views, scroll depth, device and browser type, referrer, A/B testing, city-level location, load speed, aggregate only | Statistical purposes, with information and a simple objection |
| Remembering language, responsive layout, dark mode from system settings | Appearance, with information and a simple objection |
| Logs or recordings of individual visits, unless needed for security | Consent |
| Advert views, clicks and conversion sharing with advertising partners | Consent, never exempt |
| Social plugins that track, cross-site or cross-device tracking | Consent |
| Personalised content based on browsing history | Consent |
Two details change real code. The ICO says the statistical exception is not for identifying, tracking or monitoring people, and that individual-level data must be aggregated and not kept longer than the aggregation needs. A self-hosted counter that stores a visitor ID forever does not qualify just because the dashboard shows totals. And if one script serves a statistical purpose and an advertising purpose, the exception does not apply to it at all.
Consent state in the App Router without making every route dynamic
The Next.js documentation says that without Cache Components, using cookies in a layout or page opts the route into dynamic rendering. With Cache Components, calling it outside a Suspense boundary prevents the route from being prerendered. Reading the consent cookie in the root layout would therefore push every marketing page off the static path, for a banner that only affects a handful of scripts.
My default is to keep the server out of the read. The server writes the choice, because the same page says cookies().set works in a Server Function or Route Handler and not during Server Component rendering. A small client component reads it and decides what to mount:
// app/actions.ts
'use server'
import { cookies } from 'next/headers'
export async function saveChoice(analytics: boolean) {
const store = await cookies()
store.set('analytics', analytics ? 'granted' : 'denied', {
maxAge: 60 * 60 * 24 * 180,
sameSite: 'lax',
secure: true,
path: '/',
})
}// app/analytics-script.tsx
'use client'
import Script from 'next/script'
import { useEffect, useState } from 'react'
export function AnalyticsScript() {
const [granted, setGranted] = useState(false)
useEffect(() => {
setGranted(document.cookie.includes('analytics=granted'))
}, [])
return granted ? <Script src="https://example.com/analytics.js" /> : null
}The 180 days follow the ICO’s general guideline of six months before asking again after a refusal. The cookie holds the choice and nothing else, which keeps it inside the ICO’s statement about consent-mechanism cookies. If you use a consent management platform with a default expiry, the ICO says to assess whether that default is right for you and document the decision. The consent record itself is your evidence: the ICO says you must be able to demonstrate that someone consented.
Fonts, embeds and tags
Three places leak requests before a banner is touched.
Fonts. The Next.js font module self-hosts font files and serves them from your own domain, so the documentation says the browser sends no requests to Google for them. The ICO lists external font libraries under the appearance exception and notes that they may collect visitor IP addresses, with self-hosting as an option. In an App Router project this is a one-line change from a stylesheet link to next/font.
Embedded video. The ICO says to configure embedded content so it does not set storage technologies the moment the page loads, and to tell the user under the embed that pressing play will use them. Options it names are a consent request inside your mechanism, a just-in-time request on the page with the video, or an external link instead of an embed.
Third-party scripts. The next/script component has four strategies: beforeInteractive, afterInteractive (the default), lazyOnload and an experimental worker. None of them is a consent gate. The strategy only controls timing, so the consent check has to sit in the component that renders the script, as above. The Next.js guide also recommends adding third-party scripts to specific pages or layouts rather than the root, which doubles as a PECR inventory: fewer places to audit.
What the banner has to do
The ICO’s checklist is short. Refusing must be as easy as accepting, with equally prominent options. A positive action is required before any non-exempt technology is set, so silence, scrolling or continued browsing is not consent. Third parties must be named, either on the first layer or on a second layer that the first layer clearly points to. On mobile the box must stay readable, because the ICO warns that consent given through an unreadable message may not be valid. If you rely on the statistical or appearance exceptions, the same banner can carry a simple objection control, for example toggles that are on by default and can be switched off at any time.
Enforcement
Schedule 13 to the Act replaced Schedule 1 to PECR with the Commissioner’s enforcement powers and was brought into force on 5 February 2026 by the same S.I. It applies section 157 of the Data Protection Act 2018 with changes, and regulation 6 is in the list of regulations treated under the higher maximum. Under section 157 that is 17.5 million pounds or 4 percent of total annual worldwide turnover in the preceding financial year for an undertaking, whichever is higher, and 17.5 million pounds in any other case. That is the ceiling, not a prediction. It does explain why I treat the inventory as part of the build and not as a footer afterthought.
How a project with me runs
I am Mariusz Szatkowski, one developer in Gdynia, working remotely and in writing, with WordPress since 2006 and Next.js and Astro for applications and content sites. For a Bristol project the sequence is:
- You send the site URL, goal, deadline and current stack. I reply by email within 24 hours on working days with what I would check first.
- I list every cookie, script, pixel and embed on the current site, with its purpose and who receives the data. This is the inventory the ICO asks for, in a table you can keep.
- I write the scope and assumptions in a document and ask my questions in writing. You approve before work starts.
- I build on a staging URL. I design the layout or implement your own design, and the consent flow is tested with no choice, reject and accept, in a clean browser.
- You accept in writing, I deploy, and a maintenance option covers dependency and Next.js updates afterwards.
What I need from you: access to the repository or hosting, the tag manager and analytics accounts, and the name of whoever decides on advertising tags.
Checklist you can use without me
- Open the site in a clean browser profile and list every cookie and request before touching the banner.
- Mark each item exempt (communication, strictly necessary, statistical, appearance) or consent, and write down which paragraph of Schedule A1 you rely on.
- For statistical items, check that data is aggregated and that an objection control exists.
- Confirm that no advertising or social tracking script runs before a positive action.
- Check that Reject sits next to Accept and is as prominent.
- Name each third party in the banner or on the layer it points to.
- Set an expiry for the consent cookie and a date to ask again, and write both down.
- Re-read the legislation.gov.uk page for regulation 6A orders before each release.
For a deeper look at why a banner can look correct and still fail, see tracking still loads after a banner Decline. The wider service sits on the Next.js developer page.
Send me the site and the tag list
If you run a Next.js site in Bristol, or plan one, send me the URL, what the site must achieve, your deadline and the stack it runs on, through the contact page. My first written estimate is free, and I reply by email within 24 hours on working days. If you already have a tag list, attach it and I will mark it against Schedule A1 in the first reply.
Selected projects
Examples of my work.
E-commerce Development: gdasj.pl
gdasj.pl is a local website from Gdansk, built for simple publishing, good performance, and clear access to content.
E-commerce Development: gidpl.ru
Since March 25, 2013, the GIDpl.ru portal has continuously informed users about the most important cultural and sports events as well as tourist and commerci...
E-commerce Development: haveabook.pl
The haveabook.pl website is a modern platform dedicated to publishing and printing, catering to demanding clients from Scandinavian countries. The project wa...
WordPress support & development in Bristol
See also in Great Britain
Need this service: Next.js developer in Bristol?
Describe your project by e-mail. I reply within 24 hours.
Describe your projectExplore other WordPress services and knowledge base
Migration to Astro, Next.js, and headless WordPress.
WooCommerce sync with ERP and wholesale systems.
Business process automation around WordPress and company systems.
Library of concrete automation use cases.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Related categories
Supporting articles

Six to sixteen weeks for typical engagements, with a four-phase shape: discovery, scoping, build and cutover, tuning. The variables are catalogue size, integration count, URL preservation, and editorial team readiness, not framework choice.

A definitive 4-year Total Cost of Ownership (TCO) analysis, real-world Core Web Vitals benchmarks, Astro 7 GraphQL APQ architecture, and a 10-point executive decision matrix for choosing between decoupled and traditional WordPress.

The Shopify Plus vs WooCommerce headless decision in 2026 is no longer a binary "platform vs custom" trade-off. Both can run headless, both integrate AI, both ship at the edge. The real axes are control, total cost over five years, and exit strategy. This article walks the matrix with confirmed platform facts.