HIPAA Compliant Marketing: What Healthcare Orgs Can (and Can’t) Track

Home

/

insights

/

HIPAA Compliant Marketing: What Healthcare Orgs Can (and Can’t) Track

Every other industry can watch a visitor move from an ad, to a website form, to a sale, and optimize around it. Healthcare marketing runs the same funnel with one added constraint: the data describing that visitor’s health can’t move as freely as the data describing everyone else’s. In this guide, we cover what HIPAA compliant marketing restricts, how to structure healthcare marketing attribution around those restrictions, and where organizations most often get it wrong.

At EisnerAmper, we help healthcare organizations set up tracking, attribution, and reporting that hold up under compliance review, so leadership gets real answers on what’s working in the marketing funnel without any protected health information ending up somewhere it shouldn’t. If you want a second set of eyes on your current setup, that’s exactly the kind of work we do. Get in touch to learn more.

Note: This is general marketing and technology guidance based on public regulatory information, not legal advice. HIPAA guidance in this area has changed more than once in the past few years and will likely change again. Confirm your specific tracking, analytics, and reporting setup with your compliance officer or attorney.

What Counts as Protected Health Information in Marketing?

Protected health information (PHI) is information that could identify a person and relates to their past, present, or future health, healthcare, or payment for healthcare. In a clinical record, that’s straightforward: a diagnosis, a prescription, a claim. In a marketing dataset, it’s easy to miss, because the risk usually isn’t one data point, but rather a combination.

PHI in a marketing context is typically an identifier, such as an IP address, an email, a phone number, or a device ID, paired with something that reveals a health context, such as which condition page someone viewed, which service they scheduled, or which symptom they searched for on-site.

  • An anonymous click on a general awareness campaign: Rarely PHI by itself, since there’s no identifier tied to a specific health condition.
  • A logged-in patient portal session: IdentifiablePHI, and treated that way under HIPAA regardless of which platform hosts it.
  • An identified visitor viewing a specific condition or treatment page: The exact combination, an identifier plus a health context, can create HIPAA exposure.
Smiling healthcare provider checks an older patient’s blood pressure at a table with a tablet nearby

What Is a Business Associate Agreement (BAA)?

A business associate agreement, or BAA, is a contract required under HIPAA between a healthcare organization and any vendor that touches PHI on its behalf, whether that’s a call tracking provider, a CRM, or an analytics platform. It legally binds that vendor to the same privacy and security obligations the healthcare organization already carries.

Without a signed BAA, a vendor has no HIPAA obligation to protect the data it receives, no matter how the tool is configured. That’s exactly why default Google Analytics and Meta Pixel are a problem on pages tied to a health condition: neither company will sign one, so there’s no compliant path for PHI to reach them, however careful the setup.

What HIPAA Restricts in Marketing Tracking and Reporting

Once PHI is in the picture, HIPAA marketing analytics comes down to controlling where identity and health context combine, not whether an organization can measure performance at all. A few areas cause most of the trouble.

Standard Ad Pixels and Conversion Tracking

Meta Pixel, Google Ads conversion tags, and similar pixels are built to send identifiers straight to the ad platform so it can build audiences and measure conversions. Neither Meta nor Google signs a business associate agreement (BAA) covering PHI. If a pixel captures an identifier on a page tied to a specific condition or treatment, that data transfer is happening outside any HIPAA-compliant arrangement.

Standard Web Analytics on Health-Specific Pages

Standard Google Analytics 4 is not HIPAA compliant on its own for pages that reveal a health context, because its default event collection captures IP address and device identifiers, and Google does not offer a BAA that covers that data. The same is true of most out-of-the-box analytics platforms. The issue isn’t analytics itself. It’s using a general-purpose tool on a page where identity and health context both exist.

HIPAA Compliant Call Tracking and Recording

Dynamic number insertion and call recording are common in healthcare marketing, and they carry the same risk in a different form. A recorded call where a caller identifies themselves and discusses symptoms, a diagnosis, or a specific procedure is PHI the moment it’s recorded. The tracking vendor needs a BAA in place and a process for keeping call content out of standard reporting dashboards.

Forms, CRM Records, and Email Marketing Data

Hidden form fields, CRM tags, and email segments built around a health condition, such as a newsletter list titled by diagnosis, carry the same exposure once that data reaches a marketing platform that hasn’t signed a BAA. This is often where PHI leaks without anyone intending it to: a well-meaning tag meant to help a team follow up faster.

Woman in glasses works on a laptop at a sunny window counter with a cup of coffee beside her

Where HIPAA Rules Have Shifted, and Where They Haven’t

In 2022, HHS’ Office for Civil Rights (OCR) issued guidance stating that combining an IP address with a visit to a public webpage about a specific health condition or provider could itself create PHI. That was true even for an anonymous visitor with no prior relationship to the organization.

In June 2024, a federal court in Texas vacated that specific rule, ruling that OCR had exceeded its authority in expanding the definition of individually identifiable health information that way.

Tracking technology on authenticated pages, such as a patient portal or a scheduling tool tied to a logged-in account, is still governed by HIPAA regardless of the ruling. OCR’s enforcement focus since then has centered on the HIPAA Security Rule, and it has continued to scrutinize tracking pixels as part of that broader security and privacy review, not stepped away from the issue.

State wiretapping and privacy statutes have done more of the real damage here than HIPAA itself. Health systems have paid tens of millions of dollars in pixel-related settlements under laws like California’s wiretapping statute and Pennsylvania’s wiretapping act, sometimes over tracking on pages that never touched a diagnosis. A clean HIPAA read doesn’t clear that risk.

For the current state of the guidance, HHS’ Office for Civil Rights page on online tracking technologies is the most reliable source. It’s worth reviewing together with your compliance counsel before finalizing a tracking setup.

How to Structure Healthcare Marketing Attribution That Stays Compliant

The goal is a structure where identity and health context never mix in a place that isn’t covered by a BAA. A few moves cover most of it.

Keep Identity and Health Context in Separate Systems

Instead of sending a visitor’s identifier and their page behavior directly to an ad platform, keep both inside a system your organization controls, such as a CRM or data warehouse, and connect them there. Ad platforms and analytics tools only need to know that a conversion happened and, at most, an anonymous session or campaign ID, not who the person is or what they viewed.

Match Data Server-Side, Inside Your Own Environment

Server-side tracking runs the matching logic on your own server instead of in the visitor’s browser, so an organization can decide exactly what leaves the building. A lead’s form submission gets matched to a campaign and an outcome inside that controlled environment. Only the aggregate result, such as revenue by campaign, cost per lead, or conversion rate, gets reported out to the marketing team or the ad platform.

Confirm a Business Associate Agreement Wherever PHI Actually Flows

Every vendor that touches an identifier alongside health context, whether that’s a call tracking provider, a CRM, or a specialty analytics platform, needs a signed BAA before that data reaches them. Standard consumer tools like default Google Analytics or Meta Pixel don’t offer one, which is why they belong on general marketing pages, not on symptom, condition, or scheduling pages tied to an identified visitor.

Report in Aggregate, Not at the Individual Level

A marketing team rarely needs to know which specific person converted. It needs to know which campaign, channel, and message drove results. Structuring reporting so the marketing team only sees aggregated numbers, such as campaign performance, cost per lead, or revenue by service line, keeps PHI out of the dashboards people look at every day.

Redact PHI Before It Reaches Call Tracking or Ad Platform Reports

For call tracking, that means keeping transcripts and recordings out of standard reporting views and limiting access to the people who need it for quality or compliance review. For ad platforms, that means confirming conversion events pass only a value and an anonymous ID, never a name, email, or condition detail, no matter how convenient it would be to pass more.

Want a second set of eyes on your current tracking setup, or help building an attribution model that holds up under review? EisnerAmper works with healthcare organizations on exactly this kind of structure as part of our broader healthcare marketing work.

Where Healthcare Organizations Most Often Get This Wrong

Even organizations that take compliance seriously run into the same handful of mistakes:

  • Treating the 2024 court ruling as blanket permission: The ruling narrowed one specific rule about anonymous visitors to public pages. It didn’t touch patient portals, authenticated sessions, or the HIPAA Security Rule, which OCR has said is now its enforcement focus.
  • Running default analytics on condition-specific pages: A general homepage and a page about a specific diagnosis or procedure carry very different risk once someone is identified on either one.
  • Assuming “de-identified” just means removing a name: An IP address, a device ID, or a precise timestamp paired with a rare condition can still identify someone. De-identification has to account for the full combination of data, not just the obvious fields.
  • Building retargeting audiences off condition-specific page visits: A remarketing list based on who viewed a treatment page is, by definition, using health context to reach an identified audience, which is exactly the combination that creates exposure.
  • No BAA with the call tracking or chatbot vendor: These tools capture identity and health context together by design, which makes the agreement, not just the technology, the actual compliance gap.
  • Treating testimonial and photo consent as a tracking issue: Patient stories, before-and-after photos, and video testimonials need their own written HIPAA authorization, separate from analytics consent. It is a common and costly mix-up worth flagging even though it sits outside attribution itself.
Doctor with a stethoscope talks with a patient holding a brochure across a desk in a bright clinic office

How This Fits into Your Broader Healthcare Marketing Strategy

HIPAA compliant marketing attribution means building the infrastructure that has to sit underneath every campaign a healthcare organization runs, from paid media to referral events to the website itself. Get the structure right once, and every channel built on top of it (search, social, display, and offline) reports cleanly without adding legal risk campaign by campaign.

This is one piece of the broader healthcare marketing work we do: patient-centered campaigns, CRM structure that keeps referral and lead data clean, and reporting that shows administrators what’s actually working, all built around the compliance requirements healthcare organizations carry that other industries don’t.

Build Attribution Around the Restriction, Not Despite It

HIPAA compliant marketing doesn’t mean walking away from attribution. It means being deliberate about where identity and health context are allowed to meet, keeping that combination inside systems covered by a business associate agreement, and reporting in aggregate everywhere else.

Want help assessing your current setup or building healthcare marketing attribution that holds up under review? Get in touch with EisnerAmper, and we’ll start with what’s already on your site and in your ad accounts today.