Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Meta Pixel on health pages (HIPAA): how to find and remove it

OPS-345High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

The Meta Pixel is a script that sends page views and actions (such as button clicks or form submissions) from your site to Meta, so you can measure and target ads. Each hit can include the page URL, the page title, button text and, with some settings, form field values, plus identifiers such as the IP address and the Facebook cookie.

Why it costs you leads or sales

How health data can reach an ad platform
  1. Visitor reads condition pageURL and title reveal a health topic
  2. Pixel loadsScript fires on every page
  3. Hit sent to MetaURL, title, IP and cookie ID leave your site
  4. Data in ad platformOutside your control

A visitor books an appointment while the Meta Pixel is active on the page.

How to check if your site has it

Find the Meta Pixel on sensitive pages
  1. List your sensitive pages

    Include condition and treatment pages, symptom checkers, provider or location search, appointment and telehealth booking, patient portal login, intake forms and results pages.

  2. Open each page with developer tools

    In Chrome, press F12, open the Network tab, reload and filter by facebook or fbevents. Look for requests to facebook.com/tr.

  3. Inspect what the hit contains

    Click the tr request and read the Payload. Check dl (page URL), dt (title) and any form field values.

  4. Check your tag manager and plugins

    Search Google Tag Manager, your CMS plugins, theme settings and any chat or form tools for Meta Pixel or Conversions API setups.

  5. Check server-side sending

    The Conversions API sends data from your server, so it will not show in the browser. Ask your developer or agency whether it is enabled.

How to fix it

Remove or restrict the pixel by platform
  1. Open the Meta Pixel tag

    In Tags, open your Meta Pixel base tag and any event tags.

  2. Add a blocking trigger

    Under Triggering, add an exception trigger on Page Path matching your sensitive paths, for example /patients, /conditions, /book.

  3. Preview, then publish

    Use Preview mode to confirm the tag no longer fires on those pages, then publish a new version.

Example: load the pixel only on non-sensitive pathsjavascript
var blocked = ['/patients', '/conditions', '/treatments', '/book', '/portal'];
var path = window.location.pathname;
var isSensitive = blocked.some(function (p) { return path.indexOf(p) === 0; });
if (!isSensitive) {
  // paste your approved Meta Pixel base code here
}
Pixel setup before and after

Before

  • Pixel loads on every page, including booking
  • URLs and titles revealing conditions sent to Meta
  • Nobody knows which plugins add the pixel

After

  • Pixel blocked on health and patient pages
  • Allowed only on approved pages, if at all
  • Owner and list of tags documented

How to confirm it's fixed

Confirmation checklist
  • Network tab shows no request to facebook.com/tr on each sensitive page
  • No fbevents.js loaded on those pages
  • Tag manager preview shows the Meta tag not firing
  • Server-side Conversions API disabled or filtered for those pages
  • Cached pages and CDN purged
  • Tested logged out and in a test portal session
  • Counsel has reviewed the final setup

How to prevent it happening again

Prevention habits
  • Keep an inventory of every tag and who owns it
  • Require legal sign-off before adding ad pixels to any page that could reveal health information
  • Limit who can publish in Google Tag Manager
  • Re-scan sensitive pages after every site or plugin update
  • Review vendor agreements and ask about business associate agreements
  • Train marketing staff on what counts as a sensitive page
How a pixel creeps back (example)
  1. Week 1

    Pixel removed from booking pages after review

  2. Week 6

    Agency adds a new tag container to the site

  3. Week 6

    Container includes a Meta Pixel on all pages

  4. Week 9

    Re-scan finds the pixel again on booking pages

How FunnelGuard handles this

Cover the rest by hand
  1. Make your own list of sensitive pages

    Decide which pages and journeys reveal health information.

  2. Compare against FunnelGuard's hits

    If a Meta hit appears on a journey that touches a sensitive page, treat it as a finding and fix it.

  3. Check server-side tracking manually

    Review Conversions API settings with your developer.

  4. Get a legal review

    Ask counsel to confirm the setup and vendor agreements.

Questions people ask

Is the Meta Pixel HIPAA compliant?

Not by default. The pixel sends page URLs, titles and identifiers to Meta, and Meta does not sign a business associate agreement for it. If you are a covered entity or business associate, using it on pages that reveal health information is risky, so ask a privacy lawyer.

Why is the Meta Pixel a problem on a patient portal or booking page?

Those pages show that a specific person is looking for care. The pixel can send the URL, page title and an IP address or cookie ID to Meta, which can link that visit to a person and a health topic.

How do I check if the Meta Pixel is on my website?

Open the page in Chrome, press F12, go to the Network tab, reload and filter for facebook or fbevents. A request to facebook.com/tr means the pixel is firing. Also check your tag manager and plugins.

How do I remove the Meta Pixel from specific pages?

In Google Tag Manager, add an exception trigger on the sensitive page paths to the Meta tag. On other platforms, remove the snippet from those pages or disable the plugin. Then confirm in the Network tab and purge caches.

Does the Conversions API avoid the HIPAA problem?

No. It sends data from your server to Meta, so the same information can still leave your control. It is also invisible in the browser, so check it separately with your developer.

Does HIPAA apply to every website with health content?

No. It applies to covered entities and their business associates. A general health blog may not be covered, but a provider's booking or portal pages often are. Other laws may still apply, so get legal advice.

Can FunnelGuard tell me whether my health pages break HIPAA?

No. FunnelGuard can show Meta Pixel hits during a journey but does not classify pages or judge legal risk. You need to list your sensitive pages yourself and have counsel review them.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Pixel hits visible; page classification no.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.