Cookie Consent for Healthcare Websites UK: What PECR and UK GDPR Require in 2026
Understand cookie consent for healthcare websites in the UK, including 2026 PECR changes, analytics exceptions, health data risks, consent platforms, tracking audits, and practical implementation controls.

NHS Design System Manual
Reviewed and updated for the latest developments in nhs design system manual and related healthcare compliance standards.
A healthcare website can appear compliant because it displays a cookie banner, while non-exempt tracking still loads before the visitor makes a choice. That creates a technical compliance problem, not simply a design issue.
Cookie consent for healthcare websites in the UK requires you to consider both the Privacy and Electronic Communications Regulations 2003, known as PECR, and UK GDPR where personal data is involved.
The Information Commissioner's Office finalised its Storage and Access Technologies guidance on 29 April 2026 following changes introduced by the Data (Use and Access) Act 2025.
For healthcare organisations, the assessment also needs to consider the context in which tracking occurs. A visitor reading information about a health condition does not automatically create special category data, but identifiable tracking connected with health-related activity can create additional data protection and confidentiality concerns.
If you are reviewing your wider UK GDPR compliance for healthcare organisations or rebuilding your website, cookie architecture should be assessed alongside forms, analytics, integrations, and patient journeys rather than treated as a separate marketing task.
Does a UK healthcare website need cookie consent?
Usually, you need consent when your website stores or accesses information on a user's device for a purpose that does not fall within a PECR exception. However, not every technology requires consent.
The ICO's 2026 guidance identifies 5 exceptions:
- 1.Communication.
- 2.Strictly necessary purposes.
- 3.Statistical purposes.
- 4.Appearance.
- 5.Emergency assistance.
These exceptions are purpose-specific. If the actual use of a technology goes beyond the relevant exception, consent may be required.
For healthcare organisations, the practical question is therefore not simply, "Does this website use cookies?" It is, "What does each technology do, why is it used, what information does it access, and does an exception apply?"
What counts as strictly necessary?
A technology can fall within the strictly necessary exception when its purpose is essential to provide a service requested by the user.
Examples can include functionality required to maintain an essential session, support requested website functionality, or provide necessary security.
However, convenience does not automatically mean necessity. A technology that improves marketing measurement, audience profiling, personalisation, or advertising performance should not be classified as strictly necessary simply because the organisation finds it useful.
During healthcare implementations, this distinction often becomes important when development teams inherit scripts from previous websites. A technology may have started as an essential function but later gained additional analytics or marketing purposes.
The purpose of the actual implementation should therefore be documented rather than relying on the technology's product name or its original reason for installation.
What changed in 2026?
The Data (Use and Access) Act 2025 introduced changes to PECR, including new exceptions covering certain statistical purposes, appearance or functionality preferences, and emergency assistance. The ICO finalised its updated Storage and Access Technologies guidance on 29 April 2026.
The ICO also reported that 99% of the UK's top 1,000 websites met its cookie-banner compliance standards following focused work with industry.
That figure is not a healthcare compliance rate, but it provides useful context. Cookie consent has become an established implementation concern for organisations operating substantial public-facing websites.
Why healthcare websites need a higher-risk assessment
Healthcare websites can contain pages, journeys, and services that reveal more context about a visitor than a general commercial website.
Consider:
- Condition-specific information pages.
- Mental health resources.
- Sexual health information.
- Cancer or treatment information.
- Appointment journeys.
- Referral pathways.
- Patient portals.
- Healthcare campaign landing pages.
The presence of these pages does not automatically mean every visitor's activity is special category data. The assessment depends on what information is collected, whether it relates to an identifiable person, what the organisation intends to infer or do with it, and how the information is used.
Review Tracking Before It Becomes a Website Problem
If your healthcare website uses analytics, advertising pixels, booking tools, or third-party embeds, a cookie banner review alone may not show what is actually being collected before consent.
Review Your Healthcare Website Data Protection Setup →What are the 2026 ICO cookie rules for healthcare websites?
The 2026 ICO guidance uses the broader concept of storage and access technologies rather than focusing only on browser cookies. PECR can apply where technology stores information on a user's device or accesses information already stored there.
For healthcare organisations, that means your audit should start with actual technical behaviour rather than the cookie list shown in your website policy.
PECR applies beyond browser cookies
The ICO identifies several technologies that can fall within the rules, including:
- Cookies.
- Tracking pixels.
- Link decoration and navigational tracking.
- Web storage.
- Device fingerprinting.
- Scripts and tags.
A website can therefore create tracking exposure without relying on a conventional cookie.
For example, a marketing script loaded through a tag manager can create storage or access activity even when the development team does not describe it internally as a "cookie".
Consent must happen before non-exempt tracking
Where consent is required, non-exempt storage and access technologies should not activate before the user has provided valid consent.
The ICO states that consent must involve clear positive action and that organisations must not use non-exempt technologies before consent has been obtained.
A common implementation failure occurs when the consent banner loads correctly but the underlying tags fire earlier in the page lifecycle.
For development teams, the correct test is therefore technical. Open the website with no previous consent, inspect storage and network activity, reject optional categories, then verify that the relevant technologies remain inactive.
Legitimate interests does not replace PECR consent
PECR and UK GDPR operate together, but they answer different legal questions.
Where PECR requires consent for a storage or access technology, you cannot simply replace that PECR consent requirement with legitimate interests under UK GDPR. The ICO explicitly confirms this position.
Legitimate interests may still be relevant to separate processing where PECR does not require consent, but it should not be used as a workaround for a PECR consent requirement.
Consent must provide genuine user control
A compliant consent mechanism should give users meaningful control over non-exempt technologies.
The ICO expects organisations to provide:
- Clear information.
- Positive consent.
- Granular choices.
- An accessible refusal option.
- Straightforward withdrawal.
- Controls over different purposes.
A banner that says "By continuing to browse, you agree" does not provide the same control as a mechanism that allows users to actively accept, reject, or customise non-exempt technologies.
Can healthcare websites use analytics cookies without consent?
The answer changed significantly with the 2026 PECR framework.
The statistical purposes exception can allow certain analytics activity without consent where the technology is used solely to collect statistical information about how a service or website is used, with the purpose of improving it. The exception is narrower than simply saying "analytics cookies are exempt".
The new statistical purposes exception
The ICO explains that the exception focuses on aggregate statistical information about visitors and service use.
To rely on it, organisations need to consider requirements including:
- The sole purpose of the technology.
- Collection of statistical information.
- Improvement of the website or service.
- Appropriate aggregation.
- Clear and comprehensive information.
- A simple and free way for users to object.
The exception is not intended for identifying, tracking, monitoring, or profiling individual visitors.
Where individual-level information is collected temporarily for aggregation, it should not be retained longer than necessary for that aggregation process.
What analytics can potentially fit the exception?
The ICO gives examples such as:
- Total website visits.
- Aggregate page usage.
- Average interaction measurements.
- Device and browser categories.
- Aggregate journey information.
- Page loading performance.
- Bounce and exit information.
The technical configuration matters. An analytics platform may offer hundreds of settings, but only some may align with the statistical purposes exception.
A healthcare organisation should therefore assess its actual configuration rather than assuming that an analytics product is automatically exempt.
What moves analytics outside the exception?
The exception does not cover analytics used to identify, track, or profile individual visitors.
Examples include:
- Connecting a visitor ID with individual activity.
- Profiling visitors based on browsing behaviour.
- Monitoring people across different services.
- Measuring advertising interactions.
- Using analytics information for online advertising.
- Retaining individual-level information after aggregation.
Once the purpose extends beyond the narrow statistical purpose, the organisation needs to reassess the PECR position and whether consent is required.
Why healthcare analytics needs extra scrutiny
Healthcare analytics creates a different risk profile because the subject matter of the page itself can be sensitive.
For example, an organisation may want to understand which pages receive the most visits. That is different from creating identifiable profiles of people who repeatedly visit pages about a particular condition.
The first activity may potentially fit the statistical purposes exception when correctly configured. The second requires a much more detailed privacy and data protection assessment.
For a broader assessment, see our UK GDPR Article 9 requirements for health data, particularly where tracking could intentionally infer health information.
Did You Know ?
UK healthcare websites need consent before using non-exempt cookies and similar technologies under PECR. In 2026, narrow exceptions cover certain statistical and appearance purposes, but healthcare sites must still assess UK GDPR duties when tracking processes personal data or creates health-related confidentiality risks.
How can cookies and tracking reveal health information?
The most important healthcare distinction is context.
A cookie is not automatically health data simply because it exists on a healthcare website. However, the information generated by tracking can become more sensitive when it is linked with an identifiable person, health-related activity, or intentional inference.
Health-related URLs
Website addresses can sometimes contain meaningful information about the subject of a visitor's activity.
A URL structure referencing a specific treatment, condition, clinic, or service could therefore become relevant to a privacy assessment if tracking tools transmit that information elsewhere.
Avoid placing unnecessary health information in URLs, event names, campaign parameters, or analytics dimensions.
Search behaviour
Search behaviour can create a similar issue.
A visitor searching for information about a particular health condition does not automatically mean that every resulting technical record is special category data. The assessment becomes more significant where identifiable information is linked with health-related searches or the organisation intentionally uses the activity to infer health status.
Healthcare teams should therefore assess what search terms are captured, where they are sent, and whether the data is identifiable.
Appointment and booking journeys
Booking journeys can contain more context than a standard website visit.
For example, a booking category, clinic type, treatment pathway, or service selection may reveal information about the reason someone is seeking healthcare.
The safest implementation approach is to avoid sending unnecessary booking details to general analytics systems. Track aggregate completion behaviour where possible instead of transmitting clinical or patient-specific information.
Form and event tracking
Form tracking deserves particular scrutiny.
Do not send symptoms, diagnoses, treatment names, free-text responses, patient identifiers, or other sensitive values into general analytics platforms merely to measure form performance.
Instead, define events around the technical action. For example, an organisation may need to know that a form was successfully submitted without sending the contents of that form to an analytics provider.
Marketing pixels and retargeting
Advertising technologies require particular caution on healthcare websites.
Retargeting based on visits to health-related content can create significant privacy concerns, especially when tracking connects identifiable information with health-related interests or behaviours.
The ICO confirms that online advertising purposes are not covered by the statistical purposes exception and require consent where PECR applies.
For organisations serving US audiences as well, a separate review of HIPAA tracking pixels and healthcare analytics may also be relevant. The UK PECR assessment should remain separate from any HIPAA assessment.
The key legal distinction
Not every visit to a healthcare page automatically constitutes processing of special category data.
The UK GDPR assessment depends on the information involved, its relationship to an identifiable individual, the purpose of processing, and whether health information is revealed or intentionally inferred. The ICO recognises that intentionally creating inferences about health status can constitute processing special category data.
NHS guidance also highlights the confidentiality concern that can arise when identifiable information, such as an IP address, is linked with searches for information about a specific health condition.
The practical lesson is straightforward. Do not assess cookies in isolation from the information and context produced by the website.
What should a compliant healthcare cookie banner include?
A cookie banner is only one part of the implementation. Its job is to communicate choices and capture consent, while the underlying website must enforce those choices technically.
Clear purpose categories
Use categories that reflect the actual technologies deployed.
Common categories may include:
- Necessary.
- Analytics or statistics.
- Preferences.
- Marketing.
Avoid creating categories that hide several unrelated purposes under a vague label such as "functional".
Accept and reject choices
Where consent is required, users should be able to refuse optional technologies without navigating through unnecessary screens.
The acceptance and rejection journey should be straightforward and understandable.
Granular controls
Different purposes require meaningful choices.
The ICO expects consent mechanisms to provide granular options for different purposes rather than bundling unrelated processing into one decision.
No pre-ticked or passive consent
Continuing to browse does not constitute valid consent.
Neither does a pre-selected option that the visitor must actively disable.
Consent should involve a clear positive action after the user receives appropriate information.
Preference management after the first visit
Consent management should not end after the initial banner.
Provide an obvious method for users to revisit their choices and withdraw consent. The withdrawal process should be as easy as the original consent process.
Accessibility
Healthcare websites should also consider the accessibility of the consent mechanism itself.
Check:
- Keyboard navigation.
- Screen-reader compatibility.
- Focus visibility.
- Sufficient contrast.
- Clear labels.
- Mobile usability.
A technically compliant consent model can still create accessibility problems if users cannot understand or operate it.
Transparency
Users should receive clear information about the technologies being used, their purposes, relevant third parties, and applicable duration information.
The ICO's guidance specifically addresses transparency around storage and access technologies and the information organisations should provide.
Cookiebot, OneTrust and Osano: what do cookie consent platforms actually solve?
Cookie Consent Management Platforms can be useful implementation tools, but selecting a platform does not complete the compliance assessment.
What a consent management platform can help with
Depending on the platform and configuration, a CMP can support:
- Consent capture.
- Preference storage.
- Cookie categorisation.
- Tag blocking.
- Consent records.
- Preference management.
The important word is configuration. A CMP can enforce a policy that has been correctly designed, but it cannot independently determine whether the organisation's data processing is appropriate.
What the platform cannot decide for you
A CMP cannot determine:
- Whether a technology is genuinely necessary.
- Whether an analytics setup qualifies for a PECR exception.
- Whether a data flow creates Article 9 implications.
- Whether a vendor acts as processor or controller.
- Whether event names expose health information.
- Whether a third-party integration is appropriate.
- Whether the organisation has documented its wider UK GDPR position.
Those decisions require organisational and technical assessment.
Why configuration matters more than the logo
A consent platform can be installed correctly while individual scripts remain incorrectly configured.
For example, a tag manager may load before the CMP has established a user's preferences. A third-party video, chat tool, map, or social plugin may also introduce storage or access technologies outside the original consent design.
The ICO notes that organisations need to understand changes to technologies, third parties, and purposes because existing consent may not cover a new purpose.
Healthcare implementation questions to ask before selecting a CMP
Ask your implementation team:
- 1.Does the CMP block non-exempt tags before consent?
- 2.Can purposes be configured granularly?
- 3.Can users withdraw consent easily?
- 4.Does it integrate with your tag manager?
- 5.Can it control third-party embeds?
- 6.Can consent records be reviewed?
- 7.Can the configuration be audited?
- 8.Does the implementation match the organisation's documented privacy position?
The right CMP is therefore the one that supports your architecture and governance model, rather than simply the platform with the longest feature list.
How to audit cookies on a healthcare website
A proper audit should examine what the website actually does, not only what its cookie policy says.
Step 1: Scan the entire website
Include more than the homepage.
Review:
- Main domain.
- Subdomains.
- Campaign landing pages.
- Booking systems.
- Contact forms.
- Payment pages.
- Patient portals.
- Embedded services.
Healthcare organisations often have several digital properties that were introduced by different teams at different times.
Step 2: Inspect actual browser behaviour
Test the site under different consent states.
At minimum:
- 1.Open the website with no previous consent.
- 2.Inspect storage and network activity.
- 3.Reject optional categories.
- 4.Confirm optional technologies remain inactive.
- 5.Accept selected categories.
- 6.Confirm only the relevant technologies activate.
- 7.Change preferences.
- 8.Verify the website responds correctly.
This is where development and information governance teams need to work together. A policy review cannot identify every premature network request.
Step 3: Build a technology register
Record each relevant technology with fields such as:
- Technology.
- Provider.
- Purpose.
- Data accessed.
- Duration.
- Recipient.
- PECR assessment.
- UK GDPR assessment.
The register should reflect the live implementation rather than an old vendor inventory.
Step 4: Check third-party data flows
Review integrations such as:
- Google Analytics.
- Advertising platforms.
- Social media pixels.
- Session replay.
- Chat tools.
- Video embeds.
- Maps.
- Booking tools.
Each third party should be assessed according to what the implementation actually sends.
Step 5: Review healthcare-specific signals
Look specifically for:
- URLs.
- Search terms.
- Event names.
- Form fields.
- Treatment names.
- Condition categories.
- Patient identifiers.
One useful control is to create a prohibited analytics data list. Development teams can then use it during implementation and testing rather than discovering sensitive event parameters after launch.
Step 6: Retest after every significant website change
A cookie audit can become outdated quickly.
Retest after:
- Plugin changes.
- Tag manager changes.
- Marketing campaigns.
- New embeds.
- Analytics migrations.
- Website redesigns.
- New booking integrations.
A new script can change the site's PECR position even when the cookie banner itself has not changed.
Healthcare cookie consent compliance checklist
Use this checklist before launch or after a significant tracking change.
- All storage and access technologies identified.
- PECR purpose assessed for each technology.
- Any relied-upon exception documented.
- Non-exempt technologies blocked before consent.
- Marketing tracking separated from essential functionality.
- Analytics assessed against the 2026 statistical purposes exception.
- User choices are granular.
- Reject controls are clear.
- Consent can be withdrawn.
- Cookie information matches the live implementation.
- Third-party providers are documented.
- Health-related tracking signals are minimised.
- Article 9 implications assessed where health data is processed.
- DPIA considered where processing is likely to create high risk.
- Website retested after releases.
Where the assessment identifies personal data, the organisation should also consider its wider UK GDPR data protection compliance obligations rather than treating PECR as a standalone exercise.
When should you review your healthcare website cookie consent setup?
Cookie consent should be treated as an ongoing governance responsibility rather than a one-time banner installation.
Review the setup when you introduce:
- A new analytics platform.
- A new marketing campaign.
- A CRM integration.
- A booking system.
- A chatbot.
- A patient portal.
- A third-party embed.
- A new tag manager configuration.
- A website redesign.
- A significant plugin change.
- New ICO guidance or legislative changes.
Across recent compliance projects, the highest-risk tracking changes are often introduced outside the original website build. Marketing teams add campaigns, developers add scripts, and third-party services change their implementation.
A practical governance model therefore gives Information Governance, marketing, development, and digital teams a shared process for approving tracking changes.
Qrolic Health's approach to healthcare website tracking
Qrolic Health treats tracking as part of the website's data architecture rather than simply a marketing configuration.
Our work with healthcare platforms and healthcare-sector organisations involves considering how website functionality, forms, third-party integrations, analytics, authentication, and data flows interact.
For example, healthcare platforms such as Herexa Health involve patient-facing workflows and sensitive healthcare boundaries. Experiences across healthcare projects including IPPF and RxHere also reinforce the importance of understanding how information moves between website components and external services.
The implementation principle is simple: map the technology first, identify what information moves through it, assess the regulatory position, then configure the website to enforce the required controls.
Conclusion
Cookie consent for healthcare websites UK is no longer a question of placing a banner above the homepage and adding a cookie policy.
The 2026 PECR framework requires organisations to understand storage and access technologies, identify applicable exceptions, obtain consent where required, and give users meaningful control. Healthcare organisations also need to consider how tracking interacts with patient journeys, health-related content, identifiable information, UK GDPR, and Article 9 where applicable.
The strongest implementation approach connects governance with technical architecture. Your organisation should know which technologies run, what information they access, where information is sent, why each technology is used, and what happens when a visitor rejects optional tracking.
That approach reduces the risk of discovering tracking problems after a website launch, campaign deployment, or analytics migration.
Build Healthcare Website Tracking Controls into the Architecture
Qrolic Health can help connect website architecture, tracking technologies, third-party integrations, healthcare data flows, and privacy requirements so your technical implementation reflects your documented compliance position.
Discuss Your Healthcare Website Requirements →Frequently Asked Questions
Does a healthcare website need cookie consent in the UK?
It depends on the technology and purpose. PECR provides specific exceptions, including strictly necessary and certain statistical purposes. Where a technology does not qualify for an exception, valid consent is generally required before storage or access occurs.
Can healthcare websites use analytics cookies without consent?
Potentially, under the 2026 statistical purposes exception. The technology must meet the exception's requirements, including a sole statistical purpose, appropriate aggregation, clear information, and a simple, free way for users to object.
Do marketing cookies require consent under PECR?
Yes, where PECR applies and the technology is used for online advertising purposes. The ICO states that the statistical purposes and other relevant exceptions do not cover online advertising, so consent is required.
What cookies can a healthcare website use without consent?
Technologies may be used without consent where a PECR exception applies, such as communication or strictly necessary purposes. Certain statistical and appearance purposes may also qualify under the 2026 rules when their specific requirements are satisfied.
Can Google Analytics be used on a UK healthcare website?
Potentially, but the answer depends on the actual configuration, purpose, data flows, and PECR position. Healthcare organisations should assess whether the implementation qualifies for an exception or requires consent before activating relevant technologies.
Can cookies reveal health information?
Tracking can create health-related privacy risks when identifiable information is connected with condition-specific searches, pages, journeys, or intentional inferences. However, visiting a healthcare page does not automatically mean that every resulting record is special category data.
Is a cookie consent platform enough for UK GDPR compliance?
No. A CMP can support consent capture, preference management, and tag blocking, but it cannot determine your lawful basis, Article 9 position, vendor responsibilities, data flows, or whether your technical configuration is appropriate.
How often should a healthcare website's cookie consent be reviewed?
Review it after significant website, analytics, campaign, plugin, tag manager, booking, or third-party integration changes. Regulatory developments should also trigger a review, particularly when ICO guidance or PECR requirements change.
Qrolic Health Technical Team
Updated for 2026 Compliance GuidanceQrolic Health works on patient-facing healthcare platforms, healthcare websites, integrations, and data-driven digital services where tracking decisions form part of the wider website architecture.
Ready to Build Your Healthcare Platform?
Work with a team that understands HIPAA, accessibility, and healthcare digital experiences from day one.

Patient Portal UX Design Best Practices: Fixing Low Adoption
Patient portal adoption depends on more than providing access. Learn how activation friction, task confusion, accessibility, authentication, and usability testing affect patient portal engagement.

HIPAA Compliant Website Analytics for Healthcare: Building the Right Stack
Build a HIPAA-conscious analytics stack for your healthcare website. Compare Matomo, PostHog, GA4, Plausible, and Mixpanel, then configure tracking to reduce PHI exposure.