BlogPatient Follow-Up & AI Tools

Is Google Analytics HIPAA Compliant? What Medical Practices Need to Know

Jenn Nunsuch, co-founder of Brand Lift 360

Published 9 min read

Is Google Analytics HIPAA compliant? Google does not offer a Business Associate Agreement for Google Analytics

The short answer

No. Google says it "makes no representations that Google Analytics satisfies HIPAA requirements" and does not offer a Business Associate Agreement for it. That means a medical practice must keep protected health information out of Google Analytics entirely. Practices can still use it on pages unrelated to health care services, like careers or contact pages, but the tag should stay off patient portals, booking flows, intake forms and, by Google’s own advice, health service pages.

Analytics is where many practice websites leak patient data without anyone noticing, because the tracking code runs quietly on every page it is installed on. Brand Lift 360 builds medical website design that handles tracking carefully, so measurement stays on the pages where it belongs. This article is general information, not legal advice. Have your compliance lead or attorney review your own site.

What does Google say about HIPAA and Google Analytics?

Google answers the question directly on its HIPAA and Google Analytics help page. Three statements matter for a practice:

  • Google "makes no representations that Google Analytics satisfies HIPAA requirements."
  • Google does not offer Business Associate Agreements in connection with Google Analytics.
  • HIPAA-regulated customers "must refrain from exposing to Google any data that may be considered Protected Health Information (PHI)."

Protected health information (PHI) is health information that identifies a person and relates to their health, their care, or payment for their care. Google’s page then gives specific advice for covered entities, meaning health care providers, health plans and clearinghouses that HIPAA applies to:

  • Do not use Google Analytics in ways that could give Google access to PHI.
  • Do not place Analytics tags on authenticated pages, which Google says "are likely to be HIPAA-covered."
  • Do not place tags on unauthenticated pages related to health care services, which Google says are more likely to be covered.
  • Work with your legal team to identify pages unrelated to health care where Analytics can be used.

Google also points readers to the HHS bulletin on online tracking, covered below. Separately, Google’s general Analytics policy prohibits sending any personally identifiable information, such as email addresses or personal phone numbers, to Google Analytics at all.

Why does a BAA matter for analytics?

A Business Associate Agreement (BAA) is a contract in which a vendor that handles PHI for a practice agrees to protect it and limit how it is used. HHS guidance on tracking technologies says practices must ensure that "all tracking technology vendors have signed a BAA" before PHI is disclosed to them, and that a valid HIPAA permission exists for the disclosure.

Since Google will not sign a BAA for Analytics, there is no compliant way to send PHI to it. The only safe position is to make sure PHI never reaches it. HHS also closes two common workarounds: a line in your privacy policy does not make sharing PHI with a tracking vendor permissible, and a cookie consent banner does not count as a HIPAA authorization.

This is the same standard that applies to every tool on your site. Our guide to HIPAA-compliant marketing for medical practices covers how it plays out across ads, email and reviews, and our guide to HIPAA-compliant email marketing covers patient email.

What does HHS say about tracking on practice websites?

In 2022, the HHS Office for Civil Rights (OCR) published guidance on online tracking technologies, and it was last updated in June 2024. HHS defines a tracking technology as "a script or code on a website or mobile app used to gather information about users." Google Analytics, ad pixels and session recording tools all fit that definition.

The guidance draws a line between two kinds of pages:

  • Authenticated pages require a user to log in, like a patient portal. HHS says tracking on these pages "generally have access to PHI."
  • Unauthenticated pages are public and need no login, like your homepage or a blog post. HHS says tracking on many of these pages does not involve PHI, but it can in some cases.

HHS gives examples on both sides. Tracking a visit to a page about job postings or visiting hours is not a disclosure of PHI. But when someone books an appointment or uses a symptom checker on a public page, collecting their email address or reason for care is a disclosure of PHI. Login or registration details entered on a patient portal’s login page are also PHI.

For a practice, the second example is the important one. Your booking widget and contact form may sit on public pages, but the moment a visitor types their name, email and reason for visit, that page is handling PHI. See our guide to HIPAA-compliant forms for how to set those up.

What changed after the AHA v. Becerra ruling?

On June 20, 2024, the U.S. District Court for the Northern District of Texas ruled in American Hospital Association v. Becerra and vacated part of the HHS tracking guidance. Vacated means the court set that part aside so it no longer has legal effect.

According to the note HHS added to its own guidance page, the vacated portion was HHS’s position that HIPAA obligations are triggered when an IP address is combined with a visit to a public, unauthenticated page about specific health conditions or providers. HHS says it is evaluating its next steps.

Here is what the ruling did not change:

  • Tracking on authenticated pages, such as patient portals, still generally involves PHI.
  • Collecting a name, email or reason for visit through a booking tool or form is still a disclosure of PHI.
  • Google’s own help page still advises keeping Analytics tags off unauthenticated pages related to health care services, and Google still will not sign a BAA.

In short, the ruling narrowed one HHS theory about public pages. It did not make Google Analytics HIPAA compliant, and Google’s own guidance remains stricter than what the court left in place.

Which pages on a practice website are the riskiest to track?

Using the HHS examples and Google’s advice together, practice pages fall into three rough groups.

Keep tracking off: patient portal pages and their login screens, online booking and scheduling flows, intake and new patient forms, symptom checkers, bill pay pages, and any page that shows a confirmation with a patient’s details.

Get counsel review before tracking: treatment and condition pages, provider bio pages, and location pages that describe services. Google advises against tags on these unauthenticated health care service pages, even though the court ruling limited the HHS position on them.

Generally lower risk: careers, about the practice, general contact information without a form, and blog posts that are not tied to a visitor’s own care. Google suggests working with your legal team to identify these pages.

One more hidden risk is the URL itself. Google’s PII guidance warns that "both the URL path and parameters must be free of PII," and that page titles, site search terms and form fields often leak personal details by accident. A thank-you page URL that contains a patient’s email or a procedure name sends that data to Google on every visit.

What do practices use instead of standard Google Analytics?

There is no single swap. Most practices combine several of these steps:

  • Do not send PHI to Google Analytics. Audit every page with the tag and every event it fires. Remove the tag from portal, booking and intake pages.
  • Clean URLs and titles. Make sure no form value, email, name or procedure appears in a URL, page title or event parameter.
  • Use server-side tagging carefully. Google describes server-side tagging as moving the tag container from the visitor’s browser to a server you control, where "you have full control over how that data is shaped, and where it is routed." That control can help strip data before it leaves, but it does not by itself make Google Analytics HIPAA compliant.
  • Consider analytics built for health care. Some analytics and tag management vendors market HIPAA-focused products and will sign a BAA. If you consider one, confirm the BAA, what data it collects and where it sends data.
  • Count booked appointments in your own systems. Your practice management system or HIPAA-compliant CRM already knows how many appointments were booked and where patients came from. That is the number that matters, and it does not require a third-party tag.
  • Get counsel review. Have your compliance lead or attorney sign off on which pages carry any tracking at all.

A related note on IP addresses: Google states that Google Analytics 4 does not log or store IP addresses. That helps, but it does not change Google’s advice to keep tags off health care service pages or its refusal to sign a BAA.

Google Analytics HIPAA Checklist

CheckWhat good looks like
BAA statusYou know Google will not sign a BAA for Analytics, and no PHI is sent to it
Patient portalNo Analytics or ad tags on login, registration or logged-in pages
Booking and intakeNo Analytics or ad tags on scheduling, intake or new patient form pages
Health service pagesCounsel has reviewed whether treatment, condition and provider pages carry tags
URLs and page titlesNo names, emails, phone numbers or procedures in URLs, titles or event parameters
FormsForms run on a HIPAA-compliant tool with a signed BAA
Ad pixelsSame rules applied to Google Ads and Meta pixels as to Analytics
Consent bannerNot treated as HIPAA authorization
Success metricBooked appointments tracked in your own HIPAA-compliant system
ReviewTracking setup reviewed by counsel and re-checked after site changes

Common Questions About Google Analytics and HIPAA

Will Google sign a BAA for Google Analytics?

No. Google’s Analytics help page states that it does not offer Business Associate Agreements in connection with Google Analytics.

Is Google Analytics 4 HIPAA compliant?

No. Google makes no representation that Google Analytics satisfies HIPAA requirements, and that statement covers the current version. Google says GA4 does not log or store IP addresses, but that does not make it suitable for PHI.

Can a medical practice use Google Analytics at all?

Yes, on pages that are not related to health care services and never send PHI, such as careers or general practice pages. Google recommends working with your legal team to identify those pages.

Did the 2024 court ruling make website tracking legal for practices?

No. The June 20, 2024 ruling in American Hospital Association v. Becerra vacated one part of the HHS guidance about public pages, but tracking on portals and booking or intake tools can still disclose PHI.

Does a cookie banner make tracking HIPAA compliant?

No. HHS states that cookie banners do not count as HIPAA authorizations, and a privacy policy disclosure alone does not permit sharing PHI with a tracking vendor.

What to Do This Week

Open your website in a browser, go to your booking page, patient portal link and new patient form, and ask whoever manages your site to confirm in writing which tags fire on each one. Any Google Analytics, Google Ads or Meta tag on those pages should be removed or reviewed by counsel this week. Then submit a test form and look at the thank-you page URL: if it contains a name, email or procedure, fix the form settings. Finally, decide that booked appointments, counted in your own HIPAA-compliant system, are the number you will report on each month, not raw traffic.

Sources

Your free next step

See Where Your Practice
Stands Today.

The free AI visibility check shows how Google and AI assistants like ChatGPT read your website, in about 30 seconds. No call needed.

Book a 15-Minute Call