Most hospital and clinic marketing teams run Google Analytics and a Meta Pixel without a second thought. On a retail site, that is routine. On a healthcare website, it can create a HIPAA problem, and the rules around it changed in 2024 after a federal court stepped in. If your organization runs paid ads, retargeting, or standard analytics on pages that talk about conditions, providers, or appointments, this is worth twenty minutes of attention from whoever owns your marketing stack.
This article explains what counts as a tracking technology under HIPAA, what the 2024 court ruling actually changed (and did not change), where the real exposure still sits, and a practical framework for running analytics and healthcare SEO without creating a compliance incident. This is general information, not legal advice. Talk to qualified counsel about your specific tracking setup and risk tolerance.
What Counts as an "Online Tracking Technology" Here
The Department of Health and Human Services Office for Civil Rights (OCR) uses this term broadly. It covers any script or pixel that collects and transmits data about how a user interacts with a website or app, including:
- Analytics scripts like Google Analytics
- Advertising pixels like the Meta Pixel or LinkedIn Insight Tag
- Session recording and heatmap tools
- Chat widgets and some customer data platforms
- Third-party fonts, CDNs, and embeds that also report visitor data back to their provider
The compliance question is not whether a tool is "tracking" in the abstract. It is whether the data it sends to a third party, combined with the context of the page, adds up to individually identifiable health information. An IP address by itself is not especially sensitive. An IP address sent alongside "visited the oncology scheduling page" is a different story, because it connects a specific person to a health condition or a provider relationship.
The HHS Bulletin and the 2024 Court Ruling
OCR first issued guidance on this in December 2022, then revised it in March 2024 while litigation was already underway. The bulletin's position, in short: if a tracking technology on a regulated entity's website or app transmits information that could identify a person and relates to their health, that transmission is a disclosure of protected health information (PHI) under HIPAA, and it requires either patient authorization or a business associate agreement (BAA) with the vendor receiving the data, regardless of whether the page requires a login.
That last part, applying the rule to public, unauthenticated pages, is what the American Hospital Association, the Texas Hospital Association, and several health systems challenged in federal court. In June 2024, the U.S. District Court for the Northern District of Texas ruled in the hospitals' favor in American Hospital Association v. Becerra, holding that OCR exceeded its authority by treating an IP address collected during a visit to an unauthenticated public webpage as PHI on its own. The court vacated that specific portion of the bulletin. HHS chose not to appeal.
Here is what that ruling did and did not do:
- It narrowed the bulletin. Tracking on genuinely public, unauthenticated marketing pages, think a general "Our Services" or "Find a Provider" page, is no longer automatically a HIPAA disclosure just because an IP address gets collected.
- It did not touch authenticated pages. The hospitals did not challenge, and the court did not rule on, the bulletin's treatment of tracking inside patient portals, scheduling tools, or any page that requires a login. That guidance stands.
- It did not say tracking is risk-free. If a public page is specific enough that the visit itself reveals a health condition (a page about a particular diagnosis or treatment, for example) combined with other identifying signals, the underlying HIPAA analysis about identifiability still applies. The ruling addressed OCR's categorical IP-address position, not the whole bulletin.
In practice, most healthcare organizations' highest-risk surfaces were never the public pages anyway. They were the logged-in experience: patient portals, appointment schedulers, intake forms, and billing portals. That is exactly the area the ruling left untouched.
Why Google Analytics and Meta Pixel Specifically Cause Problems
Two separate issues stack on top of each other here.
First, neither Google Analytics nor the standard Meta Pixel is built for HIPAA use. Google does not offer a BAA for standard Google Analytics, and Meta's commerce and business tools terms prohibit sending health information through the Pixel or Conversions API. Without a BAA, there is no HIPAA-compliant path for a covered entity or business associate to send PHI to either platform, no matter how the bulletin's authenticated-versus-unauthenticated line gets drawn.
Second, these tools are often implemented in ways that leak more than the marketing team realizes. A base pixel installed site-wide, with no exclusions, fires on the patient portal login page and the appointment confirmation page just as readily as the homepage. Form-tracking integrations sometimes pass field values, including symptoms typed into an intake form, directly into the analytics payload. Autofill and URL parameters can carry a patient's name or email into a page URL that then gets logged by the tracking script. None of this requires bad intent. It is what happens when a tag manager snippet gets copied onto every page of a site without a review of what each page actually contains.
Where the Real Exposure Sits in 2026
Several hospital systems have already paid out class action settlements tied to pixel use on authenticated patient-facing pages, including portal login and scheduling flows. These were civil lawsuits brought under wiretapping and state privacy statutes, not OCR civil monetary penalties, and the settlements explicitly were not admissions of wrongdoing. That distinction matters for how you think about risk: the financial exposure here has mostly shown up through private litigation and breach notification costs, not a published OCR fine for pixel use specifically. OCR has continued to flag tracking technologies as an enforcement priority, so that could change, but today the more concrete and already-realized risk is class action exposure plus the cost of required breach notifications if an unauthorized PHI disclosure gets identified.
The common thread across the reported cases is the same: tracking scripts running on pages behind a login, where the fact of the visit itself (a specific patient reviewing lab results, booking a follow-up with a named specialist) is the sensitive part, not just the IP address.
A Practical Framework for Marketing and IT Teams
You do not need to abandon analytics or paid acquisition to manage this risk. You need an architecture that keeps PHI away from platforms that cannot legally receive it.
- Audit every tag on every page type. Pull the actual list of scripts firing on your patient portal, scheduling flow, billing pages, and intake forms, not just your marketing site. Tag managers accumulate scripts over years; most teams are surprised by what is still live.
- Remove third-party tracking from authenticated pages entirely. This is the single most effective fix. If a page requires login, the safest default is no Google Analytics, no ad pixels, no session recording tools unless the vendor has signed a BAA and the implementation has been reviewed for PHI exposure.
- Use a server-side tagging layer as an intermediary. Routing events through your own server (or a BAA-covered tag management platform) lets you strip identifiers and health-related context before anything reaches Google, Meta, or other ad platforms, instead of sending the raw browser event directly.
- Separate your public marketing site from your authenticated application. If your patient portal and your marketing website share a domain, cookies and session context can bleed between them in ways that are hard to control. A clean separation (subdomain isolation, separate cookie scopes, separate tag containers) makes the authenticated-versus-public line from the bulletin much easier to actually enforce.
- Treat cookie consent banners as a privacy-law control, not a HIPAA fix. Consent banners address state privacy laws and ePrivacy-style requirements. They do not create HIPAA authorization, and OCR's guidance is not satisfied by a user clicking "accept."
- Document the decision. Whatever your organization chooses, write down the risk analysis: which tools run where, why, and what safeguards apply. That record is part of the HIPAA Security Rule's risk analysis expectations, and it is what you want in hand if a regulator or plaintiff's attorney ever asks.
This kind of tag architecture work usually sits between the marketing team and engineering, which is exactly where it tends to fall through the cracks. A business associate agreement with your analytics or tag management vendor is necessary but not sufficient; the implementation still has to actually avoid sending PHI in the first place.
Healthcare SEO Without the Tracking Risk
None of this means giving up on measurement or search visibility. It means building your healthcare SEO and marketing analytics stack with the authenticated/unauthenticated boundary in mind from the start:
- Keep structured data, content optimization, and Core Web Vitals work focused on the genuinely public pages, service lines, provider bios, condition and treatment content, where standard analytics can run with far less risk once the implementation is reviewed.
- Measure portal and scheduling conversion funnels using first-party, server-side logging that never leaves your infrastructure, rather than client-side pixels.
- Pick analytics and marketing vendors willing to sign a BAA for any surface that touches authenticated data, and confirm in writing what the BAA actually covers.
- Review new marketing tags (yes, including that new retargeting pixel someone wants to add before a campaign launch) against this framework before they go live, not after.
The organizations that get this right treat SEO, paid marketing, and HIPAA-conscious architecture as one coordinated effort rather than three separate teams working past each other. That is a software and security architecture question as much as it is a marketing one.
If your team needs help auditing a tag setup, separating a patient portal from a marketing site, or building healthcare SEO content that does not create downstream compliance headaches, Sabyrix Technologies works across SEO and digital marketing and web application development for healthcare organizations. You can see our broader approach to security and HIPAA-conscious software design, or book a strategy call to talk through your specific setup.
Frequently Asked Questions
Is Google Analytics ever acceptable on a healthcare website after the 2024 ruling?
The 2024 ruling narrowed OCR's position on genuinely public, unauthenticated marketing pages, but Google does not offer a BAA for standard Google Analytics. Most organizations still treat it as unsuitable for any page that could reveal a specific patient's health condition or provider relationship, and unsuitable for any page behind a login.
Does a cookie consent banner make our tracking HIPAA compliant?
No. Consent banners address state and international privacy laws. HIPAA requires either a valid patient authorization or a business associate agreement with the vendor receiving the data; a cookie consent click satisfies neither.
Were the hospital pixel settlements OCR fines?
No. The multimillion-dollar settlements reported for several health systems were private class action lawsuits, typically brought under wiretapping or state privacy statutes, not civil monetary penalties issued by OCR. They were settled without an admission of wrongdoing.
Does the American Hospital Association v. Becerra ruling mean tracking is allowed everywhere now?
No. The ruling vacated only the portion of the bulletin treating an IP address from an unauthenticated public page as PHI by itself. Guidance covering authenticated pages, such as patient portals and scheduling tools, was not challenged and remains in effect.
What is the safest first step if we have not audited our tracking setup?
Pull a current list of every script firing on your patient portal, scheduling, intake, and billing pages, and remove anything without a BAA or a documented reason to be there. That single step closes most of the realistic exposure.