Cookie consent is one of the small things that is easy for a GP practice website to get quietly wrong. The banner appears, a patient clicks something to make it disappear, and everyone moves on. But that banner is a legal mechanism, and when it is set up poorly it can mean a practice is collecting data it has no permission to collect.
This article explains, in plain terms, what cookie consent is, what the law actually requires, where GP practice websites most commonly fall short, and how to tell whether yours is doing its job properly.
What cookie consent is, and why it is a legal matter
A cookie is a small file a website stores on a visitor’s device. Some cookies are essential: they keep a site working, remember what has been typed into a form, or hold a login session. Others are not essential, such as analytics cookies that measure how a site is used, or third-party cookies set by embedded maps, videos and social media feeds.
Two pieces of law govern this. The Privacy and Electronic Communications Regulations (PECR) cover the act of storing cookies on a patient’s device. The UK GDPR covers any personal data those cookies then collect. Both are enforced by the Information Commissioner’s Office (ICO).
The core rule is straightforward. Non-essential cookies may only be set after the patient has given clear, informed consent. Essential cookies do not need consent, but everything else does, and that consent has to come first. The detail is set out in the ICO’s guidance on cookies.
What compliant cookie consent looks like
A cookie banner that meets the standard has a few clear characteristics:
- Nothing non-essential loads first. Analytics and third-party cookies must not be set until the patient has actively agreed. If a site loads Google Analytics the moment the page opens, consent has already been bypassed.
- Accepting and rejecting are equally easy. Turning non-essential cookies down must be as simple as accepting them, ideally one click on the same screen. A prominent “Accept all” button next to a buried or missing reject option is not valid consent.
- Nothing is pre-ticked. Consent has to be a positive action. Options switched on by default do not count.
- The language is plain. The banner should briefly say what cookies are used and why, in words a patient can understand, with a link to fuller detail.
- There is a cookie policy page. A dedicated page should list the cookies the site uses, what each one is for, and how long it lasts.
- Patients can change their mind. It must be possible to withdraw or change a choice later, just as easily as it was given.
Consent also cannot be bundled into something else. A line such as “by continuing to use this site you accept our cookies” is not consent. It is the absence of a choice.
Where GP practice websites commonly fall short
From reviewing practice websites, the same handful of issues come up again and again.
Analytics that fires before consent
The most frequent problem. The cookie banner is on screen asking for permission while the analytics script has already run. The banner becomes decoration rather than a real gate.
An unbalanced banner
A bright “Accept all” button paired with a faint “Manage settings” link, or no reject option at all. The ICO has been explicit that rejecting must be as straightforward as accepting.
Implied consent
Banners that treat a patient as having agreed simply by scrolling or carrying on browsing. Implied consent has not been acceptable for some years.
Silent third-party cookies
Embedded Google Maps, YouTube videos and social media feeds often set their own cookies the moment a page loads. Practices are frequently unaware these are there at all, because the content was added for a sensible reason, such as showing patients where the surgery is, without anyone realising a third-party cookie came with it.
A missing or out-of-date cookie policy
Either there is no cookie policy page, or there is one that no longer matches what the website actually does.
A banner that gets in the way
A cookie banner that covers content, cannot be dismissed with a keyboard, or traps keyboard focus is also an accessibility failure. We looked at this in our guide to WCAG 2.2 compliance for GP practice websites. The banner has to be usable by every patient, not only those using a mouse.
Why this matters more for a GP practice
Any website should handle cookies properly, but a GP practice has particular reasons to take it seriously.
A practice website is a public-facing NHS service, held to a higher standard than a typical commercial site. Cookie consent is also one of the website-related items in the NHS Data Security and Protection Toolkit, which we covered in our article on the website parts of the DSP Toolkit. And there is the question of trust. A practice handles some of the most sensitive personal data there is, and the cookie banner is often the very first thing a patient sees. It quietly signals how carefully the practice treats their privacy.
A quick self-check for your practice website
Open your website in a private browsing window and run through these questions:
- Does the cookie banner appear before any non-essential cookies are set?
- Can you reject non-essential cookies as easily as you can accept them?
- Are all options switched off by default, with nothing pre-ticked?
- Is there a cookie policy page, and does it match what the site actually uses?
- Can you change your choice after the banner has gone?
- Can the banner be used with a keyboard alone, without trapping focus?
If any answer is “no” or “not sure”, that is worth raising with whoever looks after your website.
How Tree View Designs handles cookie consent
Every website we build comes with compliant cookie consent as standard. Non-essential cookies are blocked until the patient agrees, accepting and rejecting are given equal prominence, nothing is pre-ticked, and a clear cookie policy is provided and kept current. The banner itself is built to the same WCAG 2.2 AA accessibility standard as the rest of the site. It is part of the wider approach we take to data protection, which you can read about on our security and compliance page.
Closing thoughts
Cookie consent is not complicated, but it is easy to leave on a default setting and assume it is fine. For a GP practice, a few minutes spent checking is well worth it, both because it is a legal requirement and because it is a small, visible sign that the practice takes patient privacy seriously.
If you would like an honest review of how your practice website handles cookies and consent, get in touch. We are always happy to take a look and let you know where you stand.