Is Google Analytics HIPAA Compliant? GA4, the Meta Pixel and Health Websites
A plain answer for health providers, telehealth brands and their agencies: what Google and Meta say about HIPAA, what the HHS tracking bulletin says and the part a 2024 court ruling struck down, and how the FTC treats health apps.
In short
No. Google says it makes no representation that Google Analytics satisfies HIPAA and does not offer a Business Associate Agreement for it. HIPAA-regulated entities must not expose protected health information to it and may tag only pages that are not HIPAA-covered. Meta's terms likewise forbid sending health information through the Meta Pixel.
Google Analytics is not HIPAA compliant, and Google says so itself. Its help page on the subject states that Google makes no representation that Google Analytics satisfies HIPAA requirements and does not offer a Business Associate Agreement (BAA) for the service. A BAA is the contract HIPAA requires before a vendor may handle protected health information (PHI) for a hospital, clinic or health plan. Without one, a HIPAA-regulated organisation may only use Google Analytics on pages that are not HIPAA-covered. The Meta Pixel is in the same position: Meta's terms forbid sending health information through it. This guide explains which pages are the problem, what the US health regulator's guidance still says after a 2024 court ruling, and why health brands outside HIPAA still answer to the Federal Trade Commission (FTC).
What Google says about HIPAA and Google Analytics
The page, HIPAA and Google Analytics in the Analytics Help centre, does not distinguish between versions, so it covers GA4. It makes four points. First, customers are responsible for determining whether they are HIPAA-regulated entities. Second, HIPAA-regulated entities using Google Analytics must not expose to Google any data that may be considered PHI. Third, authenticated pages, meaning anything behind a login, are likely to be HIPAA-covered and should not carry Google Analytics tags. Fourth, unauthenticated pages related to the provision of health care services are more likely to be HIPAA-covered, and covered pages should not be tagged either.
Google then asks customers to work with their legal team to identify the pages that do not relate to the provision of health care services, and to use Google Analytics only there. The decision is made page by page, not site by site. A hospital can keep GA4 on its careers section and still have a problem on its appointment form.
Is the Meta Pixel HIPAA compliant?
Meta's Business Tools Terms, which cover the Meta Pixel and the Conversions API, require advertisers not to share data that includes, or is based on, health information, directly or otherwise, and say that event and conversion names must not imply it either. That is the opposite of an arrangement to receive PHI, so the pixel cannot be part of a HIPAA-compliant setup on covered pages. Meta also classifies website domains into categories, and health and wellness is one of the sensitive ones. A domain in that category can have URL paths and custom parameters stripped, or lower-funnel events such as Lead and Purchase blocked, and the same checks apply to Conversions API events. Meta revises these levels, so check your dataset's Settings tab in Events Manager. Our guide to Meta data sharing restrictions and core setup covers those levels and how to check yours in Events Manager.
What the HHS bulletin says, and the part a court struck down
The Office for Civil Rights at the US Department of Health and Human Services (HHS) published a bulletin on online tracking technologies in December 2022 and revised it on 18 March 2024. Tracking technologies here means pixels, tags, analytics scripts and app SDKs that send visitor data to a third party. The revised bulletin states that it does not have the force and effect of law, but it sets out how HHS reads the HIPAA rules. HHS can revise it again, so check its HIPAA guidance pages for the current version.
One part of it treated the combination of a visitor's IP address, or other identifying information, with a visit to a public page about specific health conditions or listing health care providers as individually identifiable health information, where the visit related to the person's own health. On 20 June 2024 the US District Court for the Northern District of Texas, in American Hospital Association v. Becerra, declared that combination unlawful and vacated it. The court did not grant an injunction, and its order says the vacatur should not be read as limiting the rest of the guidance in the document.
So the ruling narrowed one specific theory about public pages. It did not touch the basic rules: sending PHI to a vendor must be a disclosure HIPAA permits, and outside providers handling PHI need a BAA. Pages behind a login and pages where people book care or describe symptoms are where PHI is most likely to appear, and Google's own guidance tells you to keep its tags off them.
Which pages are the problem
The table below maps common page types on a provider's website to Google's guidance. The risk column is a starting point for legal review, not a conclusion.
| Page type | Example | Risk | What Google's guidance says |
|---|---|---|---|
| Patient portal or account area | /my-account/results | High | Authenticated pages are likely HIPAA-covered: do not tag |
| Booking, intake and symptom forms | /book?service=fertility | High | Related to the provision of health care services, more likely covered: do not tag if covered |
| Form confirmation pages | /thank-you?condition=asthma | High | Not named separately, but it completes a booking or intake, so treat it like the form. Its URL can also carry health details to every tag |
| Condition, treatment and find-a-doctor pages | /oncology/second-opinion | Medium | Ask legal: the vacated rule no longer applies, but Google still asks you to identify which pages relate to care |
| General pages | Home, careers, news, directions | Lower | Candidates for tagging once legal confirms they do not relate to the provision of health care services |
URLs deserve a separate check. Every analytics tag and ad pixel receives the full address of the page, including the query string, so a form that puts a condition or an email address in the URL hands it to every vendor on the page. GA4 can redact email addresses (on a best-effort basis) and query parameters you name, on web streams only, as our guide to GA4 data redaction for PII in URLs explains, but it is a safety net and not a reason to tag covered pages.
Not covered by HIPAA? The FTC still applies
Plenty of health businesses fall outside HIPAA: many symptom tracking, fertility and fitness apps, and some direct-to-consumer wellness and telehealth brands, depending on how they are set up and paid. HIPAA may not reach them, but the FTC Act and the FTC's Health Breach Notification Rule can. The rule applies to vendors of personal health records and related entities, and the FTC's business guidance says a health app that collects information from consumers and can sync with a fitness tracker is probably covered. HIPAA covered entities and their business associates acting in that role are outside it.
The FTC finalised amendments to the rule in April 2024, published them in the Federal Register on 30 May 2024, and they took effect 60 days later. The amended rule makes clear that a breach includes an unauthorised disclosure, not only a hack. The FTC's own example is sharing users' medical information with an ad network without consent. Notice to affected people is due without unreasonable delay and no later than 60 calendar days after discovery, and the FTC's guidance lists civil penalties of up to $53,088 per violation, a figure adjusted for inflation. On 9 September 2026 the FTC withdrew its 2021 policy statement on breaches by health apps and connected devices, saying the amended rule had made it unnecessary. The rule itself still covers health apps.
Two FTC cases involved advertising tools:
- GoodRx (February 2023): the first enforcement action under the Health Breach Notification Rule. The FTC said GoodRx shared personal health information with Facebook, Google, Criteo and others for advertising, and GoodRx agreed to a $1.5 million civil penalty.
- BetterHelp (March 2023): the FTC said the online counselling service revealed email addresses, IP addresses and health questionnaire information to Facebook, Snapchat, Criteo and Pinterest for advertising, without affirmative express consent. The proposed order required BetterHelp to pay $7.8 million for partial consumer refunds.
Your options if you run a health website
Each option still needs legal review, and each has a limit.
- 1Tag only non-health pages. Load GA4 and ad pixels on the pages legal has cleared and nowhere else. Limit: you lose measurement of the journeys that matter most, such as bookings, and one template change can put a tag back on a covered page without anyone noticing.
- 2Use an analytics vendor that will sign a BAA. Some analytics and server-side tagging providers describe themselves as HIPAA compliant; ask for a signed BAA itself before relying on one. Limit: the BAA covers that vendor only. It does nothing for Google or Meta tags on the same page, and it does not let you pass PHI on to ad platforms for targeting.
- 3Filter on a server before anything leaves. Collect events on infrastructure you control and strip page paths, query strings, form fields and any health context before forwarding a bare conversion. Limit: the IP address, device details and click identifiers can still identify a person, Meta's category restrictions still apply, and whoever runs that server for you may itself need a BAA. Our comparison of server-side and client-side tracking explains what moves and what does not.
- 4Measure without platform tags. Use campaign links with UTM parameters and count enquiries in your own systems. Limit: you give up the optimisation signal ad platforms use, so campaigns are judged on your own numbers.
How to check what a health page loads today
Start with an inventory. Paste a public URL into the pixel inspector to see which pixels and tags sit in the page's initial HTML, such as GA4, Google Tag Manager or the Meta Pixel. It cannot see tags that a tag manager or a consent tool adds later, and it cannot see anything behind a login, so follow up in the browser's developer tools on the booking flow and in the tag manager's own trigger rules. Then check the URLs your forms produce, the custom event names you send, and whether any of them name a condition or a treatment.
If you also serve visitors in Europe, the rules there are separate and stricter about consent, as our article on whether Google Analytics is GDPR compliant explains. For a US provider, the short version holds: with no BAA from Google and Meta's terms ruling out health information, neither Google Analytics nor the Meta Pixel belongs on HIPAA-covered pages.
Frequently asked questions
Can I make GA4 HIPAA compliant by changing its settings?
No setting changes the underlying position. Google states that it makes no representations that Google Analytics satisfies HIPAA requirements and offers no Business Associate Agreement for the service. Switching off Google signals or advertising features changes how data is used, not whether protected health information reached Google. The only route Google describes is keeping the tags off HIPAA-covered pages.
Is server-side tracking HIPAA compliant?
Moving a tag to a server changes where the request is sent from, not who ends up with the data. If the server forwards health details to Google or Meta, that is still a disclosure. The server vendor can also become a business associate in its own right if it handles protected health information for you, which means it needs a signed BAA.
Does a cookie banner or consent fix the problem?
Not for a HIPAA covered entity using Google Analytics: Google's instruction is not to expose protected health information to the service at all, and a banner does not change that. For health brands outside HIPAA, consent matters more. The FTC's BetterHelp order, for example, requires affirmative express consent before personal information is disclosed to certain third parties.
Does HIPAA apply to health websites outside the United States?
HIPAA is a US federal law. It applies to health plans, health care clearinghouses, health care providers that carry out certain electronic transactions, and their business associates. A clinic in the UK or EU is not covered by HIPAA, but the GDPR lists data concerning health as a special category whose processing is prohibited unless an exception applies.
Sources
- 1.HIPAA and Google Analytics - Analytics Help
- 2.American Hospital Association et al v. Becerra et al, N.D. Tex. 4:23-cv-01110 - GovInfo
- 3.Complying with FTC's Health Breach Notification Rule - Federal Trade Commission
- 4.FTC Withdraws Obsolete Policy Statement - Federal Trade Commission
- 5.FTC to Ban BetterHelp from Revealing Consumers' Data, Including Sensitive Mental Health Information, to Facebook and Others for Targeted Advertising - Federal Trade Commission
- 6.Meta Business Tools Terms - Meta
Try EndFrame
Add a server-side path for your conversions.
EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.
No credit card required