Skip to main content
Blog

HIPAA Compliant Digital Health Marketing: Strategies for Success

TL;DRUnder HIPAA (the Health Insurance Portability and Accountability Act, the federal law that protects patient health information), compliant digital health marketing keeps protected health information inside systems covered by a Business Associate Agreement (BAA, the contract HIPAA requires a vendor to sign before it can receive patient health data), while still giving ad platforms enough data to optimize. The compliant playbook sends conversion events from your own server instead of the visitor's browser (server-side), through a customer data platform (software that collects your website and ad data and controls where it goes). On pages that handle patient data, it uses tools such as Meta's Conversions API (Meta's tool for sending conversion data from a server) in place of browser pixels (ad tracking code), and adds consent management (asking visitors' permission before tracking) and a clear split between ads aimed at healthcare professionals (HCPs) and ads aimed at consumers. Result: defensible measurement and competitive patient acquisition cost. Last reviewed November 2026.
Key Takeaways
  • HIPAA (the Health Insurance Portability and Accountability Act, the federal law that protects patient health information) applies when a HIPAA-covered organization's tracking collects or shares PHI (protected health information, meaning health details that can be tied to a specific patient). Logged-in pages, booking pages and intake forms carry the most risk; an IP address (the number that identifies a device on the internet) plus a visit to a public health page is not automatically PHI.
  • HHS (the U.S. Department of Health and Human Services) issued its first tracking-tech bulletin in December 2022 and revised it in March 2024. In June 2024 a court ruling in AHA v. Becerra, a lawsuit brought by the American Hospital Association, cancelled the part saying an IP address plus a visit to a public health page triggers HIPAA.
  • Website-tracking lawsuits did not end with the court ruling. BJC HealthCare agreed to pay up to $9.25 million in 2025 to settle one, so lawsuit risk does not depend on what HHS enforces.
  • The compliant marketing stack has four layers: a customer data platform (software that collects your website and ad data and controls where it goes) that signs a Business Associate Agreement (BAA, the contract HIPAA requires a vendor to sign before it can receive patient health data) with you; server-side conversion connections that send results to ad platforms from your server, not the visitor's browser; consent management (asking visitors' permission before tracking); and identity resolution (matching ad results to booked patients using your own records).
  • Pillar content and first-party audiences (ad audiences built from data you collect yourself and used as groups, not individuals) are the highest-impact acquisition assets in healthcare precisely because paid media is more constrained than in unregulated categories.
  • For deeper coverage see Pixels, HIPAA, and the HHS, The Cookieless Future for Digital Health Ads, and our companion guide on paid search policies for healthcare. Audio companion: Privacy and Compliance in Marketing on the Marketing Digital Health podcast.

9 min read  ·  Pillar: HIPAA-Compliant Advertising
Regulatory Timeline · Updated November 2026

HIPAA (the Health Insurance Portability and Accountability Act) is the federal law that protects patient health information. HIPAA-compliant digital health marketing is no longer a niche concern for hospital systems and pharma. HIPAA applies to covered entities (health care providers, health plans and health care clearinghouses) and their business associates (vendors that handle patient health data for them). A telehealth startup, behavioral health platform, specialty clinic or digital therapeutics company may be one of those, depending on what it does. If it is not, health data it shares may fall under the Federal Trade Commission (FTC) Health Breach Notification Rule instead, and patients have also sued over website tracking under state privacy laws. The standard tracking code behind most digital advertising, such as ad pixels (small snippets of Meta, Google or TikTok code that report what visitors do on your site), can quietly leak Protected Health Information (PHI, meaning health details that can be tied to a specific patient) when a patient logs in, books an appointment, or fills out an intake form.

The cost of getting this wrong is no longer hypothetical.The U.S. Department of Health and Human Services (HHS) and its Office for Civil Rights (OCR), which enforces HIPAA, warned healthcare organizations about tracking tools in December 2022. Patients have filed class actions (lawsuits brought on behalf of a large group of people), and several health systems have settled. In 2025, BJC HealthCare agreed to pay up to $9.25 million to settle one of these lawsuits. The opportunity is also no longer hypothetical. eMarketer projects US healthcare and pharma digital ad spend to reach roughly $26 billion in 2026, with digital climbing to 82 percent of the category by 2027. The brands that figure out compliant measurement first will compound an advantage over the ones still operating in the gray zone.

This guide is the pillar-level overview for HIPAA-compliant digital marketing in 2026. It covers what HIPAA actually requires of marketers, the recent regulatory shifts that reset the playing field, and the practical four-layer stack we use with Matchnode clients to acquire patients without legal exposure.

4

layers in the compliant marketing stack: marketing tools covered by a Business Associate Agreement (BAA, the HIPAA contract a vendor signs before it can receive patient health data), server-side tracking (sent from your own server, not the visitor’s browser), audiences built with consent, and claims you can back up

Dec ’22

HHS-OCR tracking-tech bulletin that set the original boundary on healthcare ad measurement

Mar ’24

HHS-OCR bulletin update that added examples of what does and does not count as patient data

Jun ’24

Court ruling in AHA v. Becerra (a lawsuit the American Hospital Association brought against HHS) that cancelled the part of the bulletin about IP addresses (the numbers that identify a device on the internet) and public, no-login pages

What HIPAA actually requires of healthcare marketers

HIPAA was written in 1996 to govern how hospitals, insurers, and their direct vendors handle Protected Health Information. It was not written with the modern ad-tech stack in mind. The friction comes from how broad PHI can be: information that can identify a person and relates to their health, health care, or payment for care. Context matters. Since the 2024 court ruling, an IP address plus a visit to a public page like /conditions/anxiety/ is not automatically PHI. The same tracking on a logged-in page, a booking page, or an intake form is a different story.

HHS says tracking on logged-in pages, such as patient portals, “generally” has access to PHI, and tracking on pages where people book appointments or use a symptom checker “may” too. A Meta Pixel (Meta’s ad tracking code) on those pages can send PHI to a company with no BAA. Google Analytics has the same problem: Google says it does not offer a BAA for Analytics, its website traffic reporting tool, and tells HIPAA-regulated customers not to put Analytics tags on logged-in pages. If your company is a covered entity or a business associate of one, that risk is yours. If it is neither, HIPAA does not apply, though the FTC rule and state privacy laws still can.

The three obligations that actually shape day-to-day marketing decisions are:

  • Minimum necessary use. Only collect, store, and transmit the data you actually need to run the campaign. If a marketing platform does not need a user identifier to optimize, do not send one.
  • BAA coverage for every vendor that touches PHI. A Business Associate Agreement makes the vendor legally accountable. Without it, any PHI the vendor receives is a breach, even if the data never leaks publicly.
  • Auditable consent and access controls. Patients have a right to know who is processing their data and to revoke that processing. Your stack needs to support that.

The regulatory shifts that reset the playbook

The current enforcement environment did not appear out of nowhere. Three discrete events between 2022 and 2024 forced healthcare marketers to rebuild their measurement stacks.

December 2022: HHS issues the original tracking-tech bulletin

OCR published guidance treating standard browser-based tracking pixels on healthcare sites as a HIPAA violation when those pixels fire on pages that can imply a care relationship. This was the first time the federal government explicitly named Meta Pixel, Google Analytics, and similar tools as compliance risks for covered entities. For a step-by-step implementation guide to HIPAA-compliant attribution infrastructure, see our HIPAA-compliant attribution guide.

March 2024: HHS revises the bulletin

OCR revised the bulletin on March 18, 2024 and added examples. It said an IP address plus a visit to a page about a health condition is not enough to count as PHI if the visit is not related to the person’s own health or care. It also said tracking on logged-in pages, such as patient portals, generally has access to PHI, and tracking on public pages where people book appointments or use a symptom checker may have access to PHI in certain circumstances.

June 2024: AHA v. Becerra vacates portions of the bulletin

On June 20, 2024, a federal court in Texas ruled for the American Hospital Association and vacated (cancelled) the part of the bulletin saying HIPAA applies when a tracking tool connects someone’s IP address with a visit to a public, no-login page about health conditions or providers. HHS withdrew its appeal in August 2024, so the ruling stands. The rest of the guidance is still on HHS’s site, including the point that tracking on logged-in pages generally has access to PHI. Patient lawsuits over website tracking also kept going after the ruling.

Is this data PHI?

Yes, it identifies a person and relates to care

Does the receiving platform sign a BAA?

No → do not send. Yes → route server-side through a HIPAA-compliant CDP (customer data platform, software that collects your website and ad data and controls where it goes), such as Ours Privacy.

No, it is marketing data with no care relationship

Standard CAPI (Meta’s Conversions API, its tool for sending conversion data from your server) is fine. Still remove identifying details from URL parameters (extra details added to a page address), hide page paths that name a condition, and keep audience definitions off inferred health attributes.

The four-layer compliant marketing stack

Every Matchnode client running paid media in a HIPAA-regulated category uses some variation of the same four-layer architecture. The goal is to keep PHI inside BAA-covered systems while still giving ad platforms enough signal to optimize campaigns.

Layer 1: A BAA-covered Customer Data Platform

The CDP is the trusted middle layer. Patient identifiers and conversion events flow into it from your CRM (customer relationship management system, where you keep patient and lead records), EHR (electronic health record system), intake forms, and call platform. It hashes (scrambles into a code), standardizes, and filters the data, stripping anything that platforms do not need to optimize. Common BAA-covered options include Freshpaint, Segment with HIPAA add-on, and Tealium Healthcare. Without this layer, every other layer below leaks.

Layer 2: Server-side conversion APIs

The CDP pushes filtered conversion events directly to ad platforms through direct server-to-server connections called APIs (application programming interfaces, the links software uses to pass data to other software), such as Meta’s Conversions API, TikTok’s Events API, and Microsoft UET (Microsoft’s ad tracking tag) via offline conversion import (uploading conversions after they happen). Google is different. Its customer data policy covers enhanced conversions (a Google feature that sends hashed customer details, such as an email address, along with your conversion data), including enhanced conversions for leads, and says conversions related to health or medical information “can’t be used for measurement in enhanced conversions.” Before you turn enhanced conversions on, confirm with your legal team and your Google rep which of your conversions fall in that category. The browser pixel either disappears entirely or is configured to fire only on non-PHI pages. Optimization signal stays strong, the regulatory surface area shrinks.

CAPI is one half of the compliant architecture. The other half is a Customer Data Platform: a compliance and data-hygiene hub that sits between every source of the brand’s first-party data (website, app, intake forms, CRM, EHR-adjacent systems) and every destination it flows to (Meta, Google, TikTok, email, SMS text messages, analytics, business intelligence reports, data warehouse). The CDP enforces HIPAA and the growing patchwork of state-level health privacy rules (Washington’s My Health My Data Act, California, Colorado, Connecticut, Texas, Virginia, and more) on every event, while also keeping identifiers, consent flags, and event taxonomy clean across the whole graph.

Most teams stand up a CDP for defense, to avoid the breach or patient-privacy violation that becomes a public incident. The bigger payoff is offensive: more creative tests can ship, more campaigns can run, and more attribution events flow back cleanly because compliance and data hygiene are enforced once and centrally rather than relitigated in every campaign or rebuilt for every new destination. Matchnode works with Ours Privacy as the default CDP for digital health clients, and supports any compliant alternative a client’s team has already approved. The full operational scope of CAPI buildout, CDP integration, and server-side event tracking lives on our technical services page.

Layer 3: Consent management and on-site governance

A consent management platform records, enforces, and audits user consent for every tag and tracker. Tags are loaded conditionally based on the visitor’s choices and the page category. Internal page-tagging conventions ensure no analytics fires on condition or intake pages by default. This layer is what makes the system defensible during a regulator’s inquiry or a lawsuit, when the other side can demand your records.

Layer 4: Matching ads to booked patients (identity resolution)

The hardest problem in HIPAA-compliant marketing is closing the loop from ad impression to booked patient without identifying anyone in the wrong system. Identity resolution links your own customer IDs, such as a hashed email or CRM record number, across each step a patient takes, so the CDP can credit a booked appointment back to the ad that started it. This is what lets the analytics team report on cost per booked patient instead of cost per anonymous click.

Without a compliant stack

  • Browser pixels leak URLs and identifiers to non-BAA platforms
  • Legal risk on logged-in, booking and intake pages where ad tags can see patient details, plus lawsuit risk under wiretap and state privacy laws
  • Ad platforms learn only from early steps such as clicks, not booked patients, so patient acquisition cost (what you spend to win each new patient) tends to rise
  • No defensible audit trail if a regulator asks how data was handled

With a compliant stack

  • Events flow server-to-server inside BAA-covered vendors
  • Ad platforms keep learning from booked patients, not just clicks
  • Consent and tag governance produce a clean audit trail
  • Patient acquisition cost tends to fall as platforms learn from real results such as booked patients

Practical strategies for marketers operating under HIPAA today

The strategic moves that compound for healthcare brands are the ones that work because of the constraints, not around them. Three are worth highlighting.

Lean into educational, condition-aware content

Content that helps a patient understand their condition, treatment options, or next step ranks well in both classic search and Google’s AI Overviews (answer summaries written by artificial intelligence, or AI, at the top of search results), and it sits cleanly outside PHI rules because no individual patient information is involved. Pillar content is the highest-impact acquisition asset for HIPAA-regulated brands precisely because paid media is more constrained than in unregulated categories.

Aggregate and anonymize first-party data before activating it

First-party data activation, lookalike audiences, suppression lists, and cross-channel retargeting, is compliant when the data is properly aggregated and hashed inside a BAA-covered platform before being passed to an ad network. The audience is built from real patient behavior, but no individual is identifiable to the platform receiving it. This is how brands stay competitive on cost-per-acquisition without compromising the regulatory perimeter.

Use the healthcare professional vs. consumer distinction deliberately

Targeting healthcare professionals (HCPs), such as doctors and nurses, and targeting consumer patients have very different compliance footprints. HCP audiences are licensed-professional databases with separate disclosure and consent rules. Consumer audiences carry HIPAA risk when your company is a covered entity or business associate. Most healthcare marketing programs benefit from a clear split: one motion for HCP demand, one for consumer acquisition, each with its own stack and measurement model. For more on how Google and Microsoft regulate the paid search side specifically, see our companion guide on paid search policies for healthcare.

A pre-launch HIPAA marketing audit

Before turning on a new campaign or onboarding a new vendor, walk this short audit. It catches the issues that come up when patients sue or when OCR looks into a complaint.

  • ✓Every vendor that receives any user-level event has a signed BAA on file.
  • ✓Conversion events route through a server-side API, not a browser pixel, on any page that could imply a care relationship.
  • ✓A consent management platform records and enforces user choices for every tag and tracker.
  • ×No Meta Pixel, Google Analytics, or third-party retargeting tag fires on a page whose URL implies condition, treatment, or care intent.
  • ×No PHI, including email addresses or phone numbers, is uploaded to ad platforms outside a BAA-covered CDP that hashes first.
  • ×No vendor or platform receives raw URL paths that include condition or treatment slugs.

Industry coverage of the enforcement landscape, including Fierce Healthcare’s reporting on the ruling against HHS’s third-party web tracker policy, provides additional context for healthcare marketers navigating the post-ruling environment.

The Compliance Posture Marketers Should Hold

If you are a digital health marketer in 2026, HIPAA applies to your paid media program if your company is a covered entity or business associate, and Meta’s and Google’s own health data rules apply either way. The bigger question is whether your measurement setup can hold up when a lawsuit or regulator demands your records and still deliver the campaign performance the business needs.

The brands that get this right are not the ones that pull back from digital, they are the ones that rebuild measurement so they can lean in harder. We have seen that play out repeatedly. The Bicycle Health case study describes how that brand nearly doubled lead volume and saw double-digit declines in cost per lead after rebuilding measurement on a compliant stack. Same patient base, same channels, more compliant signal, better results.

How AI Overviews Treat HIPAA Marketing Questions

Google’s AI Overviews and ChatGPT’s web-grounded answers increasingly surface healthcare information through synthesized summaries rather than blue links. The brands cited in those answers are the ones publishing structured, accurate, attribution-friendly content on their own domains. HIPAA-safe content marketing, pillar pages, condition guides, and FAQ (frequently asked questions) schema, the code that tells search engines a page answers common questions, is the most durable acquisition channel under both regulatory pressure and AI-search disruption. Investing in it now is a hedge against both.

For deeper coverage of adjacent topics, see Pixels, HIPAA, and the HHS for the regulatory history in detail, The Cookieless Future for Digital Health Ads for the identity-loss context that compounds the HIPAA constraints, and Meta’s New Data Restrictions for platform-specific changes. If you are sizing up a compliant build, Matchnode’s paid social services and work across additional ad platforms are organized around exactly this stack. For a platform-by-platform breakdown of which channels are HIPAA-compliant and what each requires to configure, see our HIPAA marketing channel strategy guide.

For the longer treatment, see Marketing Digital Health on Amazon.

Frequently Asked

Questions, Answered

Is digital marketing for healthcare brands actually allowed under HIPAA?
Yes. HIPAA (the Health Insurance Portability and Accountability Act, the federal law that protects patient health information) does not ban digital marketing for healthcare, it regulates how patient data is handled inside it. The compliant playbook routes conversion events through systems covered by a Business Associate Agreement (BAA, the contract HIPAA requires a vendor to sign before it can receive patient health data). On pages that handle patient data, it sends events from your own server (server-side) instead of through browser pixels (ad tracking code that runs in the visitor's browser), and it applies clear consent and access controls. With those in place, paid social, paid search, and retargeting are all viable channels for HIPAA-regulated brands.
What counts as Protected Health Information in a marketing context?
PHI (protected health information) is information that can identify a person and relates to their health, health care, or payment for care. Context matters. Since a June 2024 court ruling, an IP address (the number that identifies a device on the internet) plus a visit to a public page about a health condition is not automatically PHI. But HHS (the U.S. Department of Health and Human Services) says tracking on logged-in pages, such as patient portals, generally has access to PHI, and pages for booking appointments or checking symptoms may too. Details someone types into an intake form on those pages count as well. Hashing an email (turning it into a scrambled code) does not make it anonymous: HHS treats a hash made without a secret key as identifying. That is why URL paths (the page addresses visitors see) and event data from those pages need the same care as form submissions.
Does a Business Associate Agreement with my ad platform make pixel tracking compliant?
No, and don't assume any ad platform will sign a BAA (Business Associate Agreement, the contract HIPAA, the federal health privacy law, requires a vendor to sign before it can receive patient health data) for its tracking code. Meta's terms say you must not send it health information. Google does not offer a BAA for Google Analytics (Google's website traffic reporting tool), and Google Ads is not on the list of services its HIPAA BAA covers. Microsoft says it does not offer BAAs for its ad tracking tag, and TikTok's terms bar health information. The safer setup puts a CDP (customer data platform, software that collects your website and ad data and controls where it goes) that signs a BAA with you in front of the ad platforms. It removes PHI (protected health information, meaning health details that can be tied to a specific patient) and sends only de-identified events (stripped of anything that could identify a patient) from your server, for example through Meta's Conversions API (Meta's tool for sending conversion data from a server). Have your legal team review it before launch.
How did the AHA v. Becerra ruling in June 2024 change what marketers have to worry about?
It cancelled the part of the guidance from HHS (the U.S. Department of Health and Human Services) saying HIPAA (the Health Insurance Portability and Accountability Act, the federal law that protects patient health information) applies when a tracking tool connects an IP address (the number that identifies a device on the internet) with a visit to a public, no-login page about health conditions or providers. The rest of the guidance is still on HHS's site: tracking on logged-in pages, such as patient portals, generally has access to PHI (protected health information, meaning health details that can be tied to a specific patient), and public pages for booking appointments or checking symptoms may too. Patients also still sue under wiretap and state privacy laws, and health systems such as BJC HealthCare and Henry Ford Health settled these cases in 2025, so pixels on patient-facing pages are still a legal-review item.
Where should a healthcare brand start if its current marketing stack is not compliant?
Start with an audit of which vendors and tracking tags receive data about individual visitors. Then set up a customer data platform (software that collects your website and ad data and controls where it goes) that signs a BAA (Business Associate Agreement, the contract HIPAA, the federal health privacy law, requires a vendor to sign before it can receive patient health data) with you, and move conversion events to server-side connections (sent from your server, not the visitor's browser). Consent management (asking visitors' permission before tracking) and identity resolution (matching ad results to booked patients using your own records) come next. Most brands can reach a defensible state in 60 to 90 days. Matchnode's paid social services and additional ad platforms practice is organized around this exact buildout.

Let's Improve Your New Patient Acquisition

Contact Us