In this guide
- What the 2024 ruling changed, and what it did not
- What counts as PHI on a page, and whether HIPAA is your rule
- Choose your setup in five steps
- Build it with AI: Claude audits your GTM container read-only
- Pulling it all together
- What stopped being true
- Questions people ask about HIPAA-compliant analytics
- In a nutshell
“does not offer Business Associate Agreements in connection with this service”
Google, HIPAA and Google Analytics (Analytics Help), checked 19 November 2026
Legal wants to know whether Google Analytics is on the appointment form, and someone on your team says the 2024 court ruling settled it. It did not, and Google has answered the first half of the question itself. Google says it does not sign a business associate agreement (BAA) for Google Analytics, and it tells HIPAA-regulated customers not to tag authenticated pages or pages related to providing care.
There is no HIPAA-compliant analytics product. There is a decision, page by page, about what leaves your site and who has signed for it. That is why vendor pages that call a tool “HIPAA compliant” miss the point: HHS’s cloud guidance says the Office for Civil Rights does not endorse or certify products, and a vendor that holds patient data for you is a business associate whether its data is encrypted or not.
This guide gives you that decision. A page-type table first, then what the June 2024 order changed, what counts as protected health information (PHI) on a web page, four architectures with what each costs and loses, seven questions for any vendor, and a read-only Claude audit of your Google Tag Manager container. It is written for US covered entities and their agencies, with a branch for health apps that HIPAA does not cover.
| Page type | What HHS’s guidance says (checked 19 Nov 2026) | What Google says about GA | Default |
|---|---|---|---|
| Logged-in pages: patient portal, telehealth session, account | Tracking tools there “generally have access to PHI”, and the vendor is a business associate that needs a BAA | “Authenticated pages are likely to be HIPAA-covered”, so do not tag them | No third-party analytics or ad tags |
| Booking, symptom checker, intake or registration forms (no login) | Can disclose PHI, for example an email address or the reason someone is seeking care | Care-related pages are “more likely to be HIPAA-covered”, so do not tag covered pages | No third-party tags unless the path runs through a BAA-covered vendor that de-identifies first |
| Condition, provider and service pages (no login, nothing typed) | The part treating an IP address plus a visit to such a page as triggering HIPAA was vacated on 20 June 2024 | Pages “related to the provision of health care services” are more likely covered, so work with counsel | Counsel’s call, page by page |
| General pages: careers, visiting hours, news | HHS’s own example: a visit to a job postings or visiting hours page, even with the IP address, “would not involve a disclosure” of PHI | Work with legal to identify pages not tied to care | Analytics possible with counsel’s agreement |
| Your mobile app | Information collected by your app “generally is PHI” | Same as authenticated pages | No third-party SDKs without a BAA path |

How we know
Rules: HHS’s tracking technologies guidance and its de-identification guidance, the FTC’s 2024 Health Breach Notification Rule release, Google Analytics Help, Google Cloud’s HIPAA page and the Tag Manager API documentation, each opened on 19 November 2026.
Vendors: only what each vendor’s own page says on 19 November 2026. Vendors we could not verify on their own pages are not named.
What this cannot tell you: whether your specific setup is compliant. That depends on facts we have not seen, and HHS has not reissued its guidance since the 2024 order.
What the 2024 ruling changed, and what it did not
“HHS is evaluating its next steps in light of that order.”
HHS Office for Civil Rights, tracking technologies guidance, checked 19 November 2026
The June 2024 order removed one combination from HHS’s guidance, not the guidance. On 20 June 2024 a federal court in Texas (American Hospital Association v. Becerra) vacated the guidance to the extent it said HIPAA applies when a tracking tool connects an IP address with a visit to an unauthenticated public page about health conditions or providers. HHS’s page carries that notice and has not been revised since (content last reviewed 26 June 2024).
Three things stand on the same page:
- Logged-in pages and apps. HHS says tracking tools on authenticated pages generally have access to PHI, and a vendor that receives PHI is a business associate that needs a BAA.
- Forms without a login. A page that lets someone book an appointment or use a symptom checker “may have access to PHI in certain circumstances”, for example an email address or the reason for a visit.
- Enforcement focus. HHS says OCR is prioritizing Security Rule compliance in tracking investigations, which means a risk analysis that covers your tracking tools.
The regulators had already written to the sector. On 20 July 2023 the FTC and HHS jointly warned about 130 hospital systems and telehealth providers about tracking technologies, naming the Meta pixel and Google Analytics as examples. That was a warning, not a finding against any recipient.
Narrow ruling, wide page.
Quick Summary: did the court ruling make Google Analytics HIPAA compliant?
Q: Did the 2024 court ruling make tracking on healthcare websites legal?
A: No. It vacated one part of HHS’s guidance, the part about an IP address plus a visit to a public page about health conditions. Guidance on portals, apps, booking forms and symptom checkers still stands on HHS’s page, and Google still offers no BAA for Analytics.
Insight: why Google’s own advice is stricter than the ruling
Google’s Analytics Help page asks HIPAA-regulated customers not to tag unauthenticated pages “related to the provision of health care services”, not only portals. So even where the court narrowed HHS’s guidance, the vendor’s own guidance points the same way. Read both before you put a tag back.
What counts as PHI on a page, and whether HIPAA is your rule
On a web page, PHI arrives through what a person types or selects, through a login, or through identifiers attached to a health page. HHS’s guidance and the FTC’s cases describe four patterns:
- Typed or selected details: an email, a phone number, a reason for visit, a symptom, an insurance plan, entered on a covered entity’s form.
- Logins and registrations: credentials and account details collected while someone signs up for care.
- Identifiers on the request: HHS’s de-identification guidance lists “Web Universal Resource Locators (URLs)” and “Internet Protocol (IP) addresses” among the 18 Safe Harbor identifiers. A forwarded page URL plus an IP address is not de-identified under that method.
- Event names: in its April 2024 case against Monument, the FTC alleged that conversion events named after the service a person paid for, such as “Paid: Weekly Therapy”, were themselves health information.
Google Analytics Help also says GA4 does not log or store IP addresses. That answers an old Universal Analytics setting, not the HIPAA question, which is about what reaches the vendor and whether a BAA covers it.
If you are not a covered entity or business associate, HIPAA is not your rule, and the FTC’s record is. Check that before you budget for a tool. The FTC alleged that GoodRx shared medication data with advertising platforms ($1.5 million penalty, 2023), that BetterHelp shared health questionnaire data for advertising ($7.8 million, 2023), and that tracking tools on Cerebral’s site and apps sent data on nearly 3.2 million people to third parties including LinkedIn, Snapchat and TikTok (April 2024). Each company settled. The Health Breach Notification Rule, as amended in April 2024, covers health apps outside HIPAA, treats an unauthorized disclosure as a breach, and requires notice within 60 days, with the FTC notified for breaches of 500 or more people. Washington’s My Health My Data Act adds consumer health data and inferences, with private lawsuits, from March 2024.
Know your regulator before you pick a tool. If you are unsure, ask counsel which regime applies before Step 3.
Quick Summary: what is PHI in web analytics?
Q: What counts as PHI in website analytics?
A: Health details a person types or selects on a covered entity’s site, login and registration data, data from its app, and identifiers such as an IP address or URL attached to that information. HHS lists URLs and IP addresses among the 18 Safe Harbor identifiers.
Insight: the same pixel, two regulators
A hospital and a direct-to-consumer telehealth app can run the same tag on the same kind of booking page. The hospital answers to HHS under HIPAA. The app, if it is not a covered entity, answers to the FTC under the FTC Act and the Health Breach Notification Rule, which is where every health-data advertising case cited above came from.
So here is how to decide, page by page.
Choose your setup in five steps
“Complying with HIPAA is a shared responsibility”
Google Cloud, HIPAA compliance page, checked 19 November 2026
Five steps: inventory the tags, classify the pages, pick an architecture per page class, vet the vendor, then handle consent and the risk analysis. Steps 1 and 2 are the slow part on a hospital estate with many domains.
Step 1. Inventory every tag on every care page
First action: open Tag Manager, click Preview to launch Tag Assistant, load your booking page, symptom checker, portal login and one condition page, and write down every tag that fires and which trigger fired it. Then export the container (Admin, Export Container) so the inventory covers tags that fire only on events you did not trigger.
If you run a hospital, repeat this per domain, subdomain and app, and include tags placed outside Tag Manager in page templates and the content management system. If you run a health app, include mobile SDKs and server-side event APIs, because the FTC’s Cerebral case involved tracking in apps and its Monument case involved APIs.
- Which tags fire on a page where someone types a health detail?
- Do any event or parameter names describe a condition, a service or a payment for care?
- Does any URL on a booking flow carry a reason for visit in its query string?
Step 2. Classify every page into one of four classes
First action: export your sitemap into a sheet and add one column, “class”, using the table at the top of this page. Logged-in and app screens, forms where people type or select health details, condition and provider pages, and general pages.
Unless your counsel has signed off a class, treat it as the stricter one, and if you are unsure whether a page is a form page, it is. A condition page with a symptom checker embedded is a form page.
Step 3. Pick an architecture per page class
Each option answers one question differently: what leaves your site, and who has signed for it. The right one depends on your budget, your engineering capacity and how much ad-platform signal you need.
| Option | What leaves the site | Who signs a BAA | Cost | What you lose |
|---|---|---|---|---|
| 1. Remove third-party tags, then measure from Search Console and your scheduling or call system | Nothing from the page to an analytics or ad vendor | Your scheduling and call vendors, if they hold patient data | Low | Path analysis and ad-platform conversion signals from those pages |
| 2. BAA-signing analytics platform | Event data to that vendor only | The analytics vendor | Per-vendor quote | Ad-platform audiences and bidding signals from those pages |
| 3. Intermediary under a BAA that de-identifies before forwarding (a customer data platform, or server-side tagging you run) | Raw data to the intermediary, and only de-identified data onward | The intermediary, and Google Cloud if you host server-side tagging there | Server-side tagging: Google estimates about $45 a month per server and recommends at least 2, before engineering time | Detail removed in de-identification, plus ongoing maintenance |
| 4. Aggregate counts only | Daily totals by page, no user-level events | Whoever holds the raw logs | Low | Anything user-level |

Option 3 is the route HHS describes, and the easiest to mis-sell. It only works when you control what is forwarded. HHS’s guidance allows a covered entity to sign a BAA with a vendor, for example a customer data platform, that de-identifies tracking data and then discloses only de-identified information to vendors that will not sign. It also says a vendor promising to remove PHI after it receives it does not fix the disclosure. So the order matters: the party under a BAA gets the raw request, and nothing identifying goes onward. Google Cloud says it signs BAAs and lists Cloud Run among its covered services (list updated 11 November 2026), which covers hosting a server-side container. It does not cover what that container then sends to Google Analytics or an ad platform. Given Safe Harbor counts URLs and IP addresses as identifiers, strip both before anything is forwarded, and have counsel confirm the method.
If you need a vendor, two we verified on their own pages on 19 November 2026: Piwik PRO says “a customized BAA is prepared and signed before any data collection begins”, with US hosting on Azure, and does not state a plan on that page. Freshpaint’s trust center lists a Business Associate Agreement among its documents, and its pricing page lists a Comply plan with “PHI protection”, priced through sales. Neither statement makes a setup compliant. Each tells you a BAA exists to negotiate.
If you run a single practice with one booking system, start with option 1, since Search Console and booking counts answer the SEO question without a tag on a care page (the SEO audit checklist covers the Search Console side). For a hospital or a group with paid media at scale, option 3 is the only one that keeps some ad-platform signal, and it needs someone to run it. How conversion signals feed bidding is covered in performance marketing fundamentals.
Step 4. Ask every vendor the same seven questions
First action: send these to each shortlisted vendor and keep the answers with the contract.
- Will you sign a BAA, for which product and plan, and what does it exclude?
- Which data fields do you receive from our pages, including IP address, user agent and full URL?
- What do you forward, to whom, and is it de-identified before it leaves your systems?
- Which de-identification method do you use, Safe Harbor or Expert Determination?
- Where is the data stored, and which subprocessors handle it?
- Can you show the configuration that blocks forwarding from logged-in and form pages?
- What happens to our data when the contract ends?
HHS’s cloud guidance says a service that maintains PHI is a business associate even if it only holds encrypted data, so “we encrypt everything” does not answer question 1.
Step 5. Treat consent as a separate question, and write the risk analysis
Consent mode and cookie banners solve a different problem, and they matter only when you have visitors from regions with consent laws. Google’s consent mode controls what Google tags send based on a visitor’s choice: in basic mode, when a visitor declines, “no data is transferred to Google at all”, while in advanced mode, consent state and cookieless measurements are sent. Google requires consent signals for users in the EEA, UK and Switzerland to keep personalization and remarketing. None of that is a HIPAA authorization: HHS says banners that ask users to accept or reject tracking “do not constitute a valid HIPAA authorization.”
Then write it down. Record each page class, the architecture chosen, the vendors and their BAAs, and the date. That record feeds the Security Rule risk analysis HHS says it looks for in tracking investigations. Re-run Steps 1 and 2 before every container publish and after every site release. Confirm the classes and the architecture with your privacy officer or counsel for your setup.
Quick Summary: how to choose HIPAA-compliant analytics
Q: What is a HIPAA-compliant alternative to Google Analytics?
A: There is no product that makes a site compliant. Remove third-party tags from logged-in and form pages, then choose per page class between measuring from Search Console and your booking system, a BAA-signing analytics vendor, an intermediary under a BAA that de-identifies before forwarding, or aggregate counts.
Insight: what a BAA does not cover
Google Cloud’s page says complying with HIPAA is a shared responsibility and that you remain “responsible for evaluating your own HIPAA compliance.” A BAA with a host covers the host. It does not cover a tag you configure to send identifiers onward to a vendor that never signed.
Build it with AI
Build it with AI: Claude audits your GTM container read-only
Claude reads your Tag Manager configuration and your page list, flags every tag that can fire on a page in a sensitive class, and writes a change list for a person to apply. This workflow uses no patient data: it reads tag configuration and URLs, not visitor data.
The setup:
- Create a Google Cloud project, enable the Tag Manager API, and authorize with the read-only scope
https://www.googleapis.com/auth/tagmanager.readonly, which the Tag Manager API documentation describes as letting an app view containers. Do not grant edit, publish or delete scopes to anything an agent runs. - Use Claude Code (Anthropic’s agentic coding tool for the terminal, IDE, desktop app and web) to write a short script that calls the documented list endpoints for tags and triggers (
GET .../workspaces/{workspace}/tagsand.../triggers, both accept the read-only scope) and saves them to files. Read the script before you run it. - Add your classified sitemap from Step 2 as a CSV.
- Run the audit prompt below against those files.
Using only tags.json, triggers.json and pages.csv in this folder: for every tag, list its type, its firing triggers and the URL patterns or events each trigger matches. Mark every tag that can fire on a page classed “logged-in”, “form” or “app”, and every event or parameter name that contains a condition, a service or a payment term. For each flagged tag, propose one change: add a blocking trigger, move it to a server-side path under a BAA, or remove it. Output a table with tag name, pages affected, risk, proposed change and the trigger evidence. Do not invent tags or triggers that are not in the files. Mark anything you cannot resolve from the files as UNRESOLVED.
The schedule: monthly, and before every container publish. If you run several containers, run the audit once per container.
The human checkpoint: a person applies changes in a new GTM workspace, checks them in Preview with Tag Assistant, and publishes. The privacy officer signs off the page classes and the change list once a quarter. No agent holds a scope that can publish, because a publish is the step that can send PHI somewhere.
Why read-only matters here. The Model Context Protocol specification and OWASP both call for least privilege, and Invariant Labs showed in 2025 that an agent reading untrusted content, a booby-trapped GitHub issue, could be steered into leaking private data through an official MCP server. Container configuration copied from third-party vendor snippets is untrusted input in the same sense. We did not verify an official Google MCP server for Tag Manager in this run, so this build uses the documented API.

Read, flag, then a person publishes.
Quick Summary: can AI audit tracking on a healthcare site?
Q: Can Claude check which tags fire on PHI pages?
A: Yes, from configuration. Claude can read a Tag Manager export or the API with the read-only scope, match triggers to your classified pages and propose changes. Pair it with Tag Assistant spot checks, and keep publishing with a person.
Insight: configuration is not behavior
The Tag Manager API lists what a container is set to do. It does not show what fired in a real visit, and it misses tags hard-coded in templates. That is why Step 1 starts in Tag Assistant and the audit repeats it before every publish.
Pulling it all together
Step 1, inventory: open Tag Assistant on your booking page today and list every tag that fires.
Step 2, classify: add a class column to your sitemap export.
Step 3, architecture: pick one of the four options per class and write down who signs the BAA.
Step 4, vendors: send the seven questions to every shortlisted vendor.
Step 5, consent and risk analysis: record the decision with dates and take it to your privacy officer.
Decide per page, then measure.
What stopped being true
| What used to be true | What changed | When | Primary source |
|---|---|---|---|
| HHS treated an IP address plus a visit to a public condition page as PHI | That part vacated by a federal court, and the rest of the guidance stands | 20 June 2024 | HHS tracking guidance page |
| “Turn on IP anonymization” fixed analytics privacy | Universal Analytics access ended, and GA4 does not log or store IP addresses | 1 July 2024 | Google Analytics Help |
| Health apps outside HIPAA had no breach duty for sharing data with ad platforms | Amended Health Breach Notification Rule covers health apps and unauthorized disclosures | April 2024 (finalized 26 April) | FTC press release |
| The FTC’s 2021 health-apps policy statement was the guidance to cite | Withdrawn as obsolete, and the 2024 rule is relied on | 9 September 2026 | FTC press release |
| A cookie banner was the whole consent question | Consent mode v2 signals required for EEA users | March 2024 | Google Ads Help, EU user consent policy |
Questions people ask about HIPAA-compliant analytics
Is Google Analytics HIPAA compliant?
Google says it does not offer a BAA for Google Analytics and makes no claim that it meets HIPAA requirements. It asks HIPAA-regulated customers not to tag authenticated pages or pages related to providing care. Pages with no relation to care are a question for your counsel.
Can you make Google Analytics HIPAA compliant?
Not by settings. IP handling, consent mode and banners do not create a BAA. What some organizations do is route data through an intermediary under a BAA that de-identifies it before anything reaches Google Analytics, which changes what Google receives, not Google’s position.
Does server-side tagging make GA4 HIPAA compliant?
No, on its own. It moves the request to a server you control. If that server runs under a BAA (Google Cloud signs one for Cloud Run) and strips identifiers such as URLs and IP addresses before forwarding, Google Analytics receives de-identified data. Configured to pass identifiers through, it discloses the same data from a different address.
Is a cookie banner enough?
No. HHS says tracking consent banners are not a valid HIPAA authorization. Banners and consent mode handle Google’s EU consent policy and state privacy laws.
What is a HIPAA-compliant alternative to Google Analytics?
A setup, not a tool: a BAA-signing analytics platform for the pages you need to measure, no third-party tags on logged-in and form pages, and Search Console plus booking counts for search performance. Piwik PRO and Freshpaint both state BAA availability on their own pages (checked 19 November 2026).
In a nutshell
There is no HIPAA-compliant analytics product, only a decision per page about what leaves your site and who has signed for it. Make it with Google’s own GA position and HHS’s page-type examples in front of you.
The line can still move. HHS has said it is evaluating its next steps since the 2024 order, so re-check its page before you change a page class, and let counsel decide the borderline ones.
If you would rather have someone go through your container and page classes with you, that is what I do in a consultation.
About this article
How this one was checked. Every number traces to a named source with its dataset and period, and every platform feature, policy or limit cites the platform's own documentation with the date it was verified. Where the author's own results appear, they are labeled as one account's results, with the budget and context, not as a rule.
No affiliate links and no paid placements. Tools are named because they are what practitioners use, not because anyone paid to appear here.
Reviewed: November 2026. Ad platforms and search features change every few months. Anything we could not verify at the time of writing is marked as unverified rather than turned into a number.
Corrections. If something here is wrong or has changed since, we would rather know. Corrections are made in place, with a note saying what changed.
Want this wired into your own account?
One call to size the problem and agree the first three moves.



