Skip to content

Blogs

HIPAA-safe tracking for clinic websites: Meta pixel, GA4 and Google Ads

Is Google Analytics HIPAA compliant, and can a clinic use the Meta pixel or Google Ads tags? What HHS, Google, Meta and the FTC actually say, which pages are safer to tag, and how to measure marketing without sending patient information to ad platforms.

Healthcare marketing · MarketForMe · · Updated

On this page

Google Analytics is not HIPAA compliant. Google says it does not offer a Business Associate Agreement (BAA) for Analytics and tells HIPAA-regulated customers not to send it protected health information. The same caution applies to the Meta pixel and Google Ads tags. Clinics can still measure marketing: tag only pages that don't involve patient information, strip identifiers before data leaves your site, and use a vendor that signs a BAA where you need more.

This is a practical guide, not legal advice. We're a marketing agency, not lawyers. HIPAA compliance is your practice's responsibility, so confirm your setup with your compliance officer or a healthcare attorney. Everything below was checked against the original sources on 20 October 2026.

Why tracking on a clinic website is a HIPAA question

A tracking tag (the Meta pixel, the Google tag for GA4 or Google Ads, a heatmap script) sends data about each visit to the vendor: the page address, the visitor's IP address, a device or cookie ID, and often what they clicked or typed. On a shop's website that's routine. On a clinic's website, the same data can reveal that a specific person is a patient, or is looking for care for a specific condition.

Under HIPAA, health information that identifies a person and relates to their care is protected health information (PHI). If a covered entity (your practice) sends PHI to a vendor, that vendor generally needs to be a business associate with a signed BAA, or the disclosure needs the patient's authorization. Ad and analytics platforms mostly won't sign one.

What HHS says, and what a court struck down

In December 2022 the HHS Office for Civil Rights (OCR) published a bulletin, Use of Online Tracking Technologies by HIPAA Covered Entities and Business Associates. It revised the bulletin on 18 March 2024. In short, it said:

  • Authenticated pages (patient portals, telehealth platforms, anything behind a login) generally have access to PHI. Tracking tags there must be covered by a BAA and HIPAA's rules.
  • Mobile apps that patients use for care are treated the same way.
  • Unauthenticated pages (your public website) usually don't involve PHI, with some exceptions, such as appointment booking and symptom checker pages.

The bulletin also said that an IP address combined with a visit to a public page about a specific condition or provider could be PHI. On 20 June 2024, in American Hospital Association v. Becerra, a federal court in the Northern District of Texas held that this part (the court called it the "Proscribed Combination") went beyond HHS's authority and vacated it. HHS later dropped its appeal. The AHA's summary of the ruling has the background.

What the ruling did not do: it did not make tracking on patient portals, booking flows or intake forms acceptable. The rest of OCR's guidance still stands, and HIPAA itself hasn't changed. State privacy laws and class-action lawsuits over pixels are a separate risk the ruling doesn't touch.

Is GA4 HIPAA compliant?

No. Google's help page HIPAA and Google Analytics says:

  • Google "does not offer Business Associate Agreements in connection with this service."
  • HIPAA-regulated customers should not expose to Google any data that may be PHI.
  • Authenticated pages "are likely to be HIPAA-covered and customers should not set Google Analytics tags on those pages."

Google signs BAAs for some Google Cloud and Workspace services, but not for Analytics. Settings such as IP truncation or disabling Google signals reduce what GA4 collects. They don't turn GA4 into a HIPAA-covered service.

That doesn't mean a clinic can't use GA4 at all. Google's own guidance is to use it only on pages that aren't HIPAA-covered and to keep PHI out of it.

Can a clinic use the Meta pixel?

Carefully, and on fewer pages than most clinics have it on now. Meta states in its Business Tools help that advertisers must not send it sensitive health information, and that it runs a filter designed to keep data it categorizes as potentially sensitive health information out of its ads ranking and optimization systems.

In practice, many health-related advertisers have found Meta restricts which website events they can send or optimize for, and the restriction is shown in Events Manager. If your account is restricted, conversion campaigns that depend on pixel events may stop working as they did.

Two things to avoid regardless of Meta's filter:

  • Events that name a condition or treatment. An event like "Booked_Implant_Consult" or a URL like /book?service=anxiety-therapy tells Meta something about the person.
  • Advanced matching on forms. Sending hashed email or phone numbers from an intake or booking form links the visit to a real person.

The Google Ads conversion tag works like GA4: it sends page and click data to Google, and Google doesn't sign a BAA for its ad products. Google's own personalized advertising policy also lists health as a sensitive category, so advertisers can't build remarketing or Customer Match audiences around health conditions.

You can still run Google Ads for a clinic. Measure a conversion at a step that doesn't reveal health information, for example a thank-you page with a generic address, or a call from the ad, rather than a tag inside a booking flow for a named treatment.

The FTC Health Breach Notification Rule

If you're a HIPAA covered entity, this rule doesn't apply to you. The FTC's guidance says plainly that hospitals, doctors' offices and insurers are covered by HIPAA instead. It matters for health apps and for some wellness businesses outside HIPAA, such as certain med spa or supplement brands with their own apps. The FTC treats sharing health data with a third party without the person's authorization as a breach, and violations can bring civil penalties of up to $53,088 each.

Which pages are safer to tag

Use this as a starting map, then confirm it with your compliance lead.

Page typeAd and analytics tags (Meta, GA4, Google Ads)Why
Home, about, team, contact, locationsGenerally lower riskGeneral information, no patient data
Blog posts and general service pagesLower risk, but avoid events that name conditionsPublic information; keep events generic
Booking pages and booking widgetsAvoid, unless the tool and its BAA cover itThe visitor is likely becoming a patient
Intake, symptom checker and payment formsAvoidDirectly collects health and identity data
Patient portal, telehealth, logged-in pagesNeverAuthenticated pages are likely HIPAA-covered
Thank-you page after a formOnly with a generic URL and no form dataCommon place where PHI leaks into URLs

Also check what your third-party tools do. Online booking, chat and form widgets often load their own tracking or pass form fields in the URL. A tag manager audit usually finds more tags than anyone remembers adding.

Server-side tagging sends events from your browser to a server you control first, which then forwards them to Google or Meta. The value is control: you can drop IP addresses, user agents, URLs with query strings and any field you don't want to share, before anything leaves your system. It is not a compliance badge. If PHI reaches your server and you forward it, it's still a disclosure, and the hosting you use for that server may itself need a BAA.

Consent banners help with state privacy laws and give visitors a choice. Under HIPAA, though, a cookie banner click is not a patient authorization: a valid HIPAA authorization has specific required elements, such as a description of the information, who receives it and the patient's signature (45 CFR 164.508), which a banner doesn't have. Don't rely on a banner to make tracking on booking or portal pages acceptable.

HIPAA-compliant analytics options

If you need analytics on pages that do involve patient information, use a tool whose vendor will sign a BAA. Examples whose own sites say a BAA is available:

  • Piwik PRO, which states it signs a BAA on its Enterprise plan and during its Business plan trial. Its help pages are clear that integrations it sends data to are not covered by its BAA.

Other healthcare analytics and tag management vendors also offer BAAs, usually on custom-priced plans. Ask for the BAA before you sign anything, check exactly which features and data it covers, and check whether integrations to ad platforms are excluded. A vendor saying "HIPAA compliant" on its homepage is not the same as a signed BAA.

A practical setup for a clinic

  1. Inventory your tags. List every script on every page type, including those loaded by booking, chat and form tools.
  2. Remove tags from authenticated, booking, intake and payment pages. Use your tag manager's page rules, not hope.
  3. Make event and URL names generic. "Lead" and "Contact", not the condition or treatment. Strip query strings that carry form data.
  4. Turn off advanced matching and enhanced conversions on any form that touches care.
  5. Count bookings in the system that holds them. Your practice management software or a HIPAA-enabled CRM can report bookings by source without sending anything to ad platforms. Our guide on whether GoHighLevel is HIPAA compliant covers one option.
  6. Send aggregated or de-identified results back to ad platforms only where your compliance lead approves it.
  7. Document the setup and review it whenever you add a tool or change your booking flow.

This approach usually means less granular ad reporting than an e-commerce store gets. That's a trade-off worth accepting. Nobody can guarantee a particular ad result under these limits, and you shouldn't trust anyone who promises one.

Get help setting up tracking for your clinic

We set up analytics and ad tracking for clinics and dental groups that keeps patient information out of ad platforms, and we build the reporting from your booking system instead. See how we work with healthcare practices and dental practices, or run a free audit of your website to see what it loads today. If you'd rather talk it through, contact us.

Free audit

Find the leaks. Fix the follow-up. Track every booking.

We combine SEO, ads and automation so the right people find you, every inquiry gets a fast reply, and you can see which channel books work. Start with a free website audit.

Get your free audit

No obligation. Retainers go month-to-month after 3 months.