Back to Blog

HIPAA Compliant Marketing Tracking: Using Pixels Without Leaking PHI

· Unstoppable Solutions · 10 min read

Somebody added the Meta Pixel and a Google tag to your website a few years ago so your ads could “see” conversions. Nobody has looked at them since. Meanwhile your appointment request form passes the reason for the visit into the thank-you page URL, and the chat widget on your booking page records what patients type. That is how most practices end up sharing protected health information (PHI) with ad platforms without meaning to.

The fix is not to stop measuring. It is to build HIPAA compliant marketing tracking: knowing which pages and events can be measured by third-party tools, which cannot, and how to get usable ad data without sending PHI out the door. This guide covers where federal guidance stands after the 2024 court ruling, where HIPAA still clearly applies, the FTC angle, and an audit checklist you can run this month.

One note before we start: this is general information for practice owners and managers, not legal advice. Tracking decisions should involve your privacy officer or healthcare counsel.

Where the rules stand in late 2026

The HHS Office for Civil Rights (OCR) published its bulletin on online tracking technologies in December 2022 and revised it on March 18, 2024. On June 20, 2024, in American Hospital Association v. Becerra, a federal court in the Northern District of Texas vacated one piece of it: the position that HIPAA is triggered when a tracking tool connects a visitor’s IP address with a visit to an unauthenticated public webpage about specific health conditions or providers. HHS appealed, then withdrew the appeal in August 2024, so the ruling stands.

Everything else in the bulletin remains. The OCR guidance on online tracking technologies is still posted, with a note about the ruling and a statement that HHS is evaluating next steps. We have not seen replacement guidance as of this writing, so check that page before acting on anything here.

The court narrowed the rule for anonymous browsing of public pages. It did not touch where most practices actually leak data: forms, booking flows, portals and apps. For a wider view of how patients move from ad to visit, see our guide to measuring the patient acquisition funnel from click to check-in.

What still counts as PHI on a practice website

Here is how the bulletin maps to a typical practice site.

Page or tool What OCR says What to do
Patient portal and other logged-in pages Tracking on these pages “generally” has access to PHI. Any vendor receiving it needs a Privacy Rule permission and a business associate agreement (BAA). No ad pixels or standard analytics tags. Period.
Online appointment request or scheduling (no login) If tracking collects an email address or the reason for seeking care, that is a disclosure of PHI. OCR’s own example: the tracking vendor becomes a business associate and a BAA is required. Remove ad pixels from booking steps and confirmation pages, or route data through a vendor under a BAA.
Portal login and registration pages Unauthenticated, but credentials or registration details entered there are PHI if a tracker collects them. Treat like portal pages.
Symptom checkers and health quizzes Can involve PHI when users enter symptoms. No third-party ad tracking on inputs or results.
Mobile apps you offer patients Information collected “generally is PHI.” Audit every SDK in the app.
Public pages (hours, providers, careers, blog) Pages unrelated to an individual’s health generally do not involve PHI. The vacated portion covered condition and service pages. Lower HIPAA risk after the ruling, but state privacy laws, platform terms and patient trust still apply.

Three ways practices leak PHI to ad platforms

1. URLs and event names that describe the patient

Pixels send the page URL by default. A confirmation page at /thank-you?service=suboxone&first=Maria sends the service and a name to whoever owns the pixel. So does a custom conversion named “Depression Consult Booked.” Keep them generic: /request-received and “appointment_request.”

2. Automatic form capture and “advanced matching”

Features that read form fields to improve ad matching (Meta’s automatic advanced matching, Google’s enhanced conversions) send hashed email addresses or phone numbers to the platform. Hashing is not de-identification for this purpose; the platform hashes its own users’ data the same way to match them. On a booking form, that is identity plus a healthcare appointment.

3. Chat widgets, session replay and heatmaps

Session replay scripts record clicks and typing. A chat widget on the booking page captures whatever the patient writes about their symptoms. If those vendors are not under a BAA, that is a disclosure. The same applies to call tracking that records calls from your ads.

What does not fix the problem

OCR rules out several common shortcuts:

  • Cookie banners. In OCR’s words, website banners asking users to accept or reject tracking “do not constitute a valid HIPAA authorization.”
  • Privacy policy disclosures. Saying in your privacy policy that you use tracking does not permit disclosing PHI to a vendor.
  • Vendor promises to strip data. It is not enough for a vendor to agree to remove or de-identify PHI after receiving it. If PHI goes to them, they need a BAA and you need a permission.
  • Assuming the big platforms will sign. Google states that it does not offer business associate agreements for Google Analytics and tells HIPAA-regulated customers not to place Analytics tags on authenticated pages. Meta’s Business Tools terms prohibit sending health information at all.

OCR does describe one workable path: if your preferred tool will not sign a BAA, you can contract with a different vendor, such as a customer data platform, that will sign one, de-identify the data, and pass only de-identified information onward.

The FTC angle

The FTC’s Health Breach Notification Rule gets mentioned a lot in pixel discussions, but the FTC says plainly that it does not apply to HIPAA-covered entities “like a hospital, doctor’s office, or health insurance company.” It covers health apps and similar businesses outside HIPAA. Under the FTC’s guide to complying with the Health Breach Notification Rule, an unauthorized disclosure counts as a breach even without a hack, with notice due within 60 calendar days of discovery.

It matters if you run a consumer wellness app or part of your business operates outside HIPAA (possible for some cash-only services, depending on how you bill). There, the FTC Act and possibly the Rule apply instead. Ask counsel which regime covers each part of your business.

On July 20, 2023, the FTC and OCR sent a joint warning letter to about 130 hospital systems and telehealth providers naming the Meta Pixel and Google Analytics specifically. State attorneys general are active too: New York’s settled with NewYork-Presbyterian Hospital for $300,000 in December 2023 over website tracking tools.

A tracking setup that still tells you what your ads produce

You can run accountable Google and Meta ad campaigns without pixels on sensitive pages. The structure we recommend looks like this:

  1. Split the site into zones. Public marketing pages (home, locations, provider bios, blog) can carry platform tags, ideally with URL paths and custom parameters restricted. Booking, forms, portal, login, payment and anything a patient types into stay tag-free for ad platforms.
  2. Measure the handoff, not the patient. Fire a generic conversion when someone clicks “Request appointment” or “Call,” before they enter anything. That tells Google or Meta which ad drove intent without revealing who the person is or why they came.
  3. Use server-side tagging deliberately. A server-side container lets you decide exactly which fields leave your environment, so you can drop IP addresses, full URLs and form data. It is a control, not a compliance certificate. If PHI reaches the server, whoever hosts it may be a business associate.
  4. Use Meta’s core setup where it fits. Meta’s core setup restrictions block custom parameters and everything in a URL after the domain. Meta notes it is not a substitute for your own controls.
  5. Put call tracking and chat under a BAA. If a vendor records calls, transcribes them or stores chat transcripts, get a BAA or turn those features off.
  6. Report on booked appointments inside your own systems. Match leads to scheduled visits in your EHR or practice management system, then report cost per booked appointment by campaign in aggregate. Do not upload patient lists back to ad platforms; using PHI for marketing generally requires patient authorization.

The platforms get less data to optimize on, so expect some loss in automated bidding efficiency. In exchange you get an ad program you can defend and reporting built on your own appointment data. If you are rebuilding the site anyway, it is far cheaper to design these zones into the website build than to retrofit them.

HIPAA compliant marketing tracking: a 10-point audit

  1. Inventory every script on the site and in your apps: pixels, tag managers, analytics, chat, session replay, heatmaps, call tracking, scheduling widgets.
  2. Load each page type and check which third-party domains receive data (browser developer tools show this).
  3. Confirm no ad or analytics tag fires on the portal, login, registration, booking, intake or payment pages.
  4. Check thank-you and confirmation URLs for names, services, conditions or appointment details.
  5. Rename custom events and conversions that describe a condition or service.
  6. Turn off automatic advanced matching and form-field capture on any page with patient input.
  7. List every vendor that could receive PHI and confirm a signed BAA for each.
  8. Add tracking technologies to your HIPAA security risk analysis, as the bulletin expects.
  9. Review platform notifications in Meta Events Manager and Google Ads for blocked or flagged data.
  10. Re-audit after every website change, new plugin or new marketing vendor.

If the audit finds that PHI already went to a vendor without a BAA, talk to counsel about breach risk assessment. The bulletin notes that an impermissible disclosure is presumed to be a breach unless you can show a low probability that the PHI was compromised.

FAQs

Frequently asked questions

How Unstoppable Revenue can help

Our digital marketing team builds healthcare ad tracking with HIPAA in mind: a full script inventory, pixel-free sensitive zones, generic conversion events and reporting tied to booked appointments in your own systems. We also clean up existing Google and Meta accounts that were set up before anyone thought about PHI. If you are not sure what your site is sending today, request a free tracking and ad account audit and we will show you what each tag collects and what we would change first.


Ready to Transform Your Revenue Cycle?

Discover how AI-powered solutions can reduce denials, accelerate cash flow, and maximize revenue for your healthcare organization. Let's talk about what's possible.

✓ Free revenue cycle assessment

✓ Custom AI implementation roadmap

✓ No long-term contracts required

Request a Free Consultation