Tracking pixels on healthcare websites
Meta and Google pixels on clinic websites can reveal patients' health interests. What UK GDPR says, where the risks hide and how to measure ads safely.

Tracking pixels on healthcare websites can send information about patients to advertising platforms without anyone at the clinic intending it. A Meta pixel or a Google Ads tag on a private clinic's website records which pages a visitor viewed and what they did, and links it to identifiers the platform can match to a real person. If those pages are about IVF, sexual health, mental health, weight loss or a specific condition, the data can reveal health information, which UK GDPR treats as special category data with stricter rules. For UK clinics, dentists, physiotherapists, therapists and pharmacies, this is one of the most underestimated data protection risks on their websites.
The issue is not that clinics should never advertise or measure results. It is that the default setup most websites get, with pixels firing on every page and sending full URLs, is not appropriate for healthcare. This article explains why and what a safer approach looks like. It is general information; take advice from your data protection lead or a solicitor for your own case.
Why healthcare is different
UK GDPR gives extra protection to special category data, which includes data concerning health. Processing it needs a lawful basis and an additional condition under Article 9, such as explicit consent. Marketing analytics rarely fits the other conditions, so in practice explicit, informed consent is the realistic route, and it must be specific about what is shared and with whom.
Health data does not need to be a diagnosis. It can be inferred. A record that a particular browser, linked to a social media account, visited "/menopause-clinic/book-consultation/" and then completed a booking says something about that person's health. So does a conversion event named "STI test booked".
Press investigations in 2023 reported Meta's pixel on a number of NHS hospital trust websites, including on pages about specific conditions, and many trusts removed it after the reports. Private clinics use the same tools, often installed by a web designer or marketer who copied a standard setup.
Six risky setups to look for
- Pixels on every page, including condition pages, symptom checkers and patient portals.
- Full URLs sent with events, where the address itself names a treatment or condition.
- Conversion events named after treatments, such as "hair transplant consultation" or "therapy intake form".
- Form contents captured by "automatic advanced matching" or similar features that hash and send names, emails and phone numbers.
- Chat widgets and booking tools from third parties that set their own marketing cookies.
- Session recording tools that capture what people type into forms, including symptoms.
Any of these can mean health-related data leaves your website for an advertising company. Many clinics do not know which of them apply, because the setup was done years ago and nobody has looked since.
Consent is necessary but not the whole answer
A cookie banner that asks for consent before non-essential cookies load is a legal requirement under PECR anyway; see cookie banners in the UK. On a healthcare site it is the minimum. But a visitor clicking Accept on a generic banner has not given explicit consent to their health interests being shared with Meta for ad targeting. The data you send should be limited regardless of consent.
The ICO's position is that organisations must assess the risk of tracking technologies and be transparent about them. A data protection impact assessment is the sensible tool here: it makes you list what is collected, why, and how the risks are reduced.
A safer setup for clinics
Keep pixels off sensitive pages. Condition pages, booking flows and patient areas should not load advertising tags. General pages such as the homepage, team and contact pages carry lower risk.
Use neutral conversion events. Send "enquiry" or "booking" without the treatment name, and strip URL paths or query strings that reveal it.
Switch off advanced matching on forms that could contain health information.
Measure from your own systems. Record enquiries and bookings in your CRM, then compare them with campaigns using UTM parameters and ad platform data at an aggregate level. This first-party approach does not depend on pixels at all. See UTM parameters.
Consider server-side tagging so you control exactly which fields leave your server, rather than letting browser scripts send whatever they collect. It is more work but gives real control.
Document it. A short record of what each tag does, on which pages, and why, makes the DPIA and any future question much easier.
Advertising rules for healthcare
Data protection is one layer. Others apply too. Google and Meta have healthcare advertising policies, and Meta limits detailed targeting based on health topics. Prescription-only medicines, including botulinum toxin, cannot be advertised to the public under MHRA rules and the CAP Code. Claims about treatments must be supported by evidence. Many clinics also need CQC registration, and the ASA can act on misleading health claims. My pages on private clinics and aesthetics clinics cover marketing for these sectors in more depth.
Reporting results without patient-level data
Clinic owners still need to know which campaigns bring bookings. Aggregated numbers answer that perfectly well: enquiries per campaign per month, bookings per channel, cost per booking. None of this requires sending individual patients' journeys to an ad platform.
What to do this month
- Open your website in a private window and use a tag assistant or the browser's network tab to list every tag that fires, page by page.
- Note any advertising tags on condition, treatment or booking pages.
- Check how your conversion events are named and what URLs they send.
- Check whether form data is captured by any marketing tool.
- Fix the worst issues first, then document the setup in a DPIA.
How I can help
I run analytics audits that list every tag on a clinic website and what it sends, then set up consent-based measurement with neutral events and, where it makes sense, server-side tracking. Server-side tracking is quoted individually; standard GA4, Tag Manager and pixels cost £240. The decisions about lawful basis and the DPIA remain yours as the controller, ideally with your data protection lead or solicitor, and I set up the technical side to match.
Let’s talk
about your business
Before the call I review your website and ads. After the call you get an action plan and a price range in writing.
Health data and tracking: questions
Is visiting a clinic's web page really health data?
On its own, a page view may not be. Combined with identifiers, such as an advertising cookie tied to a social media profile, a visit to a page about a specific condition, or a booking for a named treatment, it can reveal something about a person's health. That is why the ICO and privacy groups treat pixels on healthcare sites as high risk.
Can a private clinic still run Facebook or Google ads?
Yes. The question is what data flows back. Ads can run with consent-based tracking, conversion events that do not reveal treatments, and measurement based on enquiries recorded in your own systems. Google and Meta also have their own healthcare advertising policies that limit targeting and some claims.
Does this apply to beauty and aesthetics clinics?
Often, yes. Many aesthetic treatments involve medical assessment, and some relate to conditions people consider private. Treat booking and consultation data as potentially sensitive, and remember that prescription-only medicines such as botulinum toxin cannot be advertised to the public.
Who should sign off the setup?
The clinic, as controller, is responsible. A data protection impact assessment is a sensible step for tracking on a healthcare site, and your data protection lead or solicitor should review it. I set up the technical side so it matches what has been agreed.
Want ads measured without leaking patient data?
I review which tags fire on your clinic website, what they send, and set up consent-based tracking with neutral events. Start with a free 30-minute call.
