Skip to content

Google Analytics for medical practices: GA4 and HIPAA

Google Analytics for medical practices: what Google and HHS say about HIPAA, where GA4 tags must not go, safe key events and the reports worth your time.

By The Sirvo team · October 28, 2026 · 5 min read

Google Analytics tells you how people find and use your website. For a medical practice it comes with a condition most businesses never face: some pages on your site may involve protected health information, and Google says Analytics must not touch it. This guide sets out what Google and HHS actually say, where GA4 tags can and can't go, how to set up key events that reveal nothing clinical, and which reports are worth your time.

1. What Google says about HIPAA and Google Analytics

Google's help page on HIPAA is short and direct:

  • "HIPAA-regulated entities using Google Analytics must refrain from exposing to Google any data that may be considered Protected Health Information (PHI)."
  • Google "makes no representations that Google Analytics satisfies HIPAA requirements and does not offer Business Associate Agreements in connection with this service."
  • Customers subject to HIPAA "may only use Google Analytics on pages that are not HIPAA-covered."
  • "Authenticated pages are likely to be HIPAA-covered." And: "Unauthenticated pages that are related to the provision of health care services, including as described in the HHS bulletin, are more likely to be HIPAA-covered." Google says not to set Analytics tags on HIPAA-covered pages, and to work with your legal team to identify the pages where it can be used.

Separately, Analytics policies forbid sending anything Google "could recognize as personally identifiable information," and say "both the URL path and parameters must be free of PII."

2. What HHS says, and what the 2024 ruling changed

HHS's Office for Civil Rights published guidance on tracking technologies for HIPAA covered entities. On June 20, 2024, a federal court in the Northern District of Texas (American Hospital Association v. Becerra) vacated one part of it: the part saying HIPAA obligations are triggered when an online technology connects "(1) an individual’s IP address with (2) a visit to a[n] [unauthenticated public webpage] addressing specific health conditions or healthcare providers." HHS says it is "evaluating its next steps." The rest of the guidance still stands, including:

  • Pages behind a login, such as a patient portal or telehealth platform: tracking there "generally" has access to PHI.
  • Booking and symptom-checker pages: tracking on an unauthenticated page where people "schedule appointments or use a symptom-checker tool" may have access to PHI.
  • Portal login and registration pages: if tracking collects what someone types there, "that information is a disclosure of PHI."
  • Marketing use: disclosures of PHI to tracking vendors for marketing without patients' authorization "would constitute impermissible disclosures."

For the wider picture, see HIPAA compliant website.

3. Map your pages before you tag them

Make a simple list of every section of your site and sort it into three groups. Your privacy officer or attorney should sign off on it, given Google's wording above.

  • Never tag: online booking and request-an-appointment pages, intake and new-patient forms, the patient portal and its login and registration pages, bill pay, symptom checkers, and any thank-you or confirmation page that follows them.
  • Decide with counsel: service and condition pages, provider pages and anything else that could be read as related to providing care.
  • General information: pages about your location, hours, job openings and policies. HHS gives pages like these as examples of unauthenticated pages that generally don't give tracking tools access to PHI.

If your booking or forms run on a separate system, check that its pages don't carry your analytics or advertising tags. Our guide to HIPAA compliant forms covers the forms themselves.

4. GA4 settings to check on a practice site

  • Site search. GA4's enhanced measurement can record what visitors type into your site's search box, as a search_term, from URL parameters such as q, s and search. On a medical site people may search for symptoms. You can switch this option off under the data stream's enhanced measurement settings.
  • Form interactions. The parameters Google lists for these events are a form's ID, name, destination and submit-button text. Even so, keep them to forms that don't collect patient information.
  • URLs and page titles. Make sure no page you tag puts names, email addresses, dates of birth or appointment details in its URL or title.
  • Advertising audiences. Health is a sensitive interest category in Google Ads, so advertisers in it can't use their own audience lists, such as Customer Match. Building remarketing lists from patient-facing pages gains you little and adds risk.

5. Key events that reveal nothing clinical

A key event is an action you mark as important, so Analytics can show which channels lead to it. Choose actions that happen on general pages and say nothing about a person's health:

  • book_click: a click on your "Request an appointment" button, recorded on the page before the visitor reaches the booking system, not on the booking page.
  • call_click: a tap on your phone number.
  • directions_click: a click on your map or directions link.

Keep event names generic, and don't add parameters that name a condition, treatment or provider. To mark an event as key, go to Admin, then Data display, then Events, and click its star. Standard properties can have up to 30 key events, and marking one only affects data from that point on.

6. Consent banners don't solve HIPAA

Consent mode lets your cookie banner tell Google tags what a visitor chose. In its basic form, tags are blocked until the visitor agrees. In its advanced form, tags load anyway and "send pings to Google" without cookies when consent is denied. A banner may serve other purposes, but don't treat one as HIPAA cover. In HHS's words: "Website banners that ask users to accept or reject a website’s use of tracking technologies, such as cookies, do not constitute a valid HIPAA authorization." A banner never makes it acceptable to tag a booking or portal page.

7. The reports that matter

  • Traffic acquisition (Reports, then Acquisition) shows where visits come from by channel, such as Organic Search, Direct and Email. Watch engaged sessions too, which Analytics defines as sessions that lasted 10 seconds or more, had a key event, or included two or more page views.
  • Key events by channel, from the same report, show which sources lead to appointment and call clicks.
  • Search Console reports. Connecting Search Console adds Google Organic Search Queries and Google Organic Search Traffic reports. You'll need the Editor role in Analytics and verified ownership in Search Console; see Google Search Console for medical practices.

Tag the links you share so these reports can tell your channels apart; see UTM tracking for medical practices. Check these reports once a month and compare them with your front desk's "How did you hear about us?" counts, which stay in your own systems.

Where Sirvo fits

Sirvo connects to your Google Search Console and Google Analytics reports, never to patient records. It drafts a researched, patient-friendly article for your practice every day for you to approve, and sends a short Monday email showing what went live. It never needs patient data and never connects to your EHR, practice-management, booking or billing systems. Start with a free SEO audit.

Sources

Agentic SEO for medical practices

Put an AI agent on your practice's SEO, with you approving every article.

Every day Sirvo picks a topic from what your patients search, drafts a sourced article, checks every claim and publishes what you approve. Every week it tracks your rankings and what AI assistants recommend. $249/mo, no contract.