Retargeting and HIPAA: the pixel problem

Updated November 14, 2026 · 5 min read
Short answer

Retargeting depends on tracking pixels that tell ad platforms who visited which pages, and on a medical website those pages can reveal health information. A 2024 court ruling struck down part of HHS's guidance on tracking, not all of it, and Google and Meta block most health retargeting anyway. Inventory your pixels, keep them off portals, forms and booking screens, and get compliance advice first.

How retargeting works, and why it is a problem on a medical site

Retargeting shows ads to people who have already visited your website. It works through tracking code, often called a pixel or tag, supplied by the ad platform. When someone loads a page, the pixel sends the platform details of the visit, which can include the page address, the visitor's IP address and identifiers that link the visit to that person's account on the platform.

On most websites that is a privacy question. On a medical website it can be a HIPAA question, because the page address may name a condition or treatment, and a booking or intake form may contain far more. If a practice's pixel tells an ad platform that an identifiable person booked a visit for a specific condition, health information has left the practice.

In July 2023, the FTC and HHS's Office for Civil Rights sent a joint letter to approximately 130 hospital systems and telehealth providers warning about these risks, naming the Meta pixel and Google Analytics as examples of the technologies involved.

What HHS said, and what a court struck down

The timeline matters, because much of what is written online is out of date.

  • December 2022: HHS's Office for Civil Rights issued a bulletin on the use of online tracking technologies by HIPAA covered entities and business associates. Among its examples, it treated tracking technology that connects a visitor's IP address with a visit to a public, unauthenticated page addressing specific health conditions or providers as triggering HIPAA obligations.
  • March 18, 2024: HHS issued a revised version of the bulletin.
  • June 20, 2024: in American Hospital Association v. Becerra, the federal district court for the Northern District of Texas declared that specific part, which it called the Proscribed Combination, unlawful as beyond HHS's authority under HIPAA, and vacated it.
  • August 29, 2024: HHS withdrew its appeal, according to the American Hospital Association, which brought the case.

The court stated that its vacatur was not intended to limit the legal operability of the other guidance in the bulletin.

See your Surge Score in about a minute

Does ChatGPT recommend your practice?

The Surge Score measures five things about your practice website: how often ChatGPT, Gemini and Perplexity recommend you, your PageSpeed, your structured data, your indexing and your reviews, each with its evidence and date. Free.

What still applies after the ruling

The ruling narrowed the problem; it did not remove it. In practical terms:

  • Pages behind a login, such as a patient portal, were not what the vacated part addressed. Google, for example, tells HIPAA regulated customers that authenticated pages are likely to be HIPAA covered and that Google Analytics tags should not be set on them.
  • Forms and booking tools where patients enter health details, insurance or reasons for visit remain high risk wherever they sit on your site.
  • Business associate agreements still matter when an outside vendor will receive protected health information, and some widely used tools are not offered with one. Google says it does not offer a business associate agreement for Google Analytics.
  • Other laws still apply. The FTC says companies not covered by HIPAA still have to protect against unauthorized disclosure of health information, and it has brought cases over tracking, such as against GoodRx and BetterHelp. State privacy laws may add duties of their own.

Public pages about conditions are a grayer area after the ruling, not a free zone.

Google and Meta have closed most of the door anyway

Even setting the legal question aside, the ad platforms limit health retargeting themselves.

  • Google treats health as a sensitive category for personalized advertising. Ads about health conditions, treatments and procedures cannot use advertiser curated audiences, which include your data segments built from website visitors, Customer Match, audience expansion and lookalike segments.
  • Meta's Business Tools Terms say advertisers must not send it data that includes or is based on health information. Since September 2025, Meta has also been flagging custom conversions, custom audiences and lookalike audiences that suggest a specific health condition, and a flagged item cannot be used to run campaigns.

So for most practices, classic retargeting of people who read about a condition is both legally risky and against platform rules. Yet the pixel may still be on your site, quietly sending data, long after anyone meant to use it. More on the platform rules in healthcare advertising rules on Google and Meta.

A practical pixel inventory

You cannot manage what you have not listed. Ask your web vendor, or a technically minded staff member, to do this with your compliance adviser.

  1. List every tag on the site: analytics, ad pixels, chat, session recording, video embeds, review widgets and anything added by plugins. Browser developer tools and tag inspection tools show what loads on each page.
  2. Map tags to pages: note which tags load on the portal login, booking screens, intake and contact forms, and condition or treatment pages.
  3. Remove what you do not use. Pixels left behind by past agencies are common.
  4. Remove or replace tags on sensitive pages unless the vendor will sign a business associate agreement and your adviser approves the setup.
  5. Check what the remaining tags send, including page addresses and form fields.
  6. Document the decisions, and repeat the inventory whenever an agency or vendor changes.

The website side is covered in tracking pixels on pages where patients enter health information and tracking technology and patient privacy.

Marketing without retargeting

Losing retargeting is less of a loss than it sounds. The strongest channels for a practice never depended on it.

  • Search ads on clear intent, sent to a page that converts on the first visit
  • A complete Google Business Profile with steady reviews
  • Service and condition pages that rank in search and answer the questions AI assistants pick up
  • Reminders and recall messages to your own patients, sent through tools set up for patient communication
  • Measurement built on privacy safe counts, such as booked visits by source, instead of person level tracking

For measuring without exposing health information, see HIPAA safe analytics.

This page is general information, not legal advice. Talk to a healthcare privacy attorney or your compliance adviser about the tags on your own site.

Checklist

  • You have a written list of every tag and pixel on your website
  • No ad pixel or analytics tag loads on the portal, booking screens or intake forms without compliance approval
  • Tags from past agencies and unused tools have been removed
  • Vendors that receive protected health information have signed business associate agreements
  • No health campaign relies on retargeting lists or lookalike audiences
  • The inventory is repeated whenever a vendor or agency changes

Frequently asked

Is the Meta pixel illegal on a medical website?

There is no simple yes or no. Whether a pixel creates a HIPAA problem depends on where it runs, what it sends and whether the information is protected health information. Meta's own terms forbid sending it health information. Pixels on portals, forms and booking screens carry the highest risk. Get advice on your specific setup.

Did the 2024 court ruling make tracking pixels safe?

No. It vacated one part of HHS's guidance, about connecting an IP address with a visit to a public page about health conditions or providers. The court said it was not limiting the rest of the guidance, and pages behind logins, forms and booking tools still carry real risk.

Can we use Google Analytics on our practice website?

Many practices use it on general marketing pages. Google says it does not offer a business associate agreement for Google Analytics and that HIPAA regulated customers should not set its tags on HIPAA covered pages, including authenticated pages such as portals. Ask your compliance adviser where the line falls for your site.

Does the FTC care about tracking pixels too?

Yes. The FTC joined HHS in warning hospitals and telehealth providers about tracking technologies in 2023. It also enforces against health privacy failures by companies HIPAA does not cover, including under its Health Breach Notification Rule, which applies to vendors of personal health records and related entities.

Sources

  1. American Hospital Association v. Becerra, Opinion and Order (N.D. Tex. June 20, 2024), United States District Court for the Northern District of Texas, via American Hospital Association
  2. HHS will not appeal AHA court victory in online tracking case, American Hospital Association
  3. FTC and HHS Warn Hospital Systems and Telehealth Providers about Privacy and Security Risks from Online Tracking Technologies, Federal Trade Commission
  4. Complying with FTC's Health Breach Notification Rule, Federal Trade Commission
  5. HIPAA and Google Analytics, Google Analytics Help
  6. Health in personalized advertising, Google Advertising Policies Help
  7. Meta Business Tools Terms, Meta
  8. Customer File Custom Audiences, Meta for Developers
  9. Conversion Tracking, Meta for Developers
Prefer to talk it through?

Book a strategy call with the team.

Twenty minutes. We'll walk through the specific opportunities in your market and what a MedPracticeGrowth engagement would look like for your practice.

AI patient discovery audit

Is AI recommending you, or your competitor?

See who ChatGPT, Gemini and Perplexity recommend to patients in your area.

Free. Built by physicians.