Can a medical practice use Google Analytics or a tracking pixel on its website?
On some pages, yes. HIPAA applies when a tracking tool on a practice website sends a vendor information that identifies a person and relates to their health or care. Appointment forms, symptom checkers and patient portal pages carry that risk. Google says it does not offer business associate agreements for Google Analytics.
When does HIPAA apply to a tracking tool on a practice website?
HIPAA applies to a tracking tool when the information the tool sends to its vendor is protected health information. The HHS Office for Civil Rights bulletin on online tracking technologies, last reviewed on 26 June 2024, covers cookies, web beacons or tracking pixels, session replay scripts and fingerprinting scripts. The bulletin says the HIPAA Rules apply when the information a regulated entity collects through those tools, or discloses to the vendor, includes PHI. Under 45 CFR 160.103, information becomes individually identifiable health information when a health care provider creates or receives it, it relates to a person's health, care or payment for care, and it identifies the person or could reasonably be used to identify them.
A medical or dental practice's website is not covered as a whole. OCR's bulletin says tracking technologies on many unauthenticated webpages, such as pages about location, visiting hours or job postings, do not have access to PHI, and in that case HIPAA does not regulate their use. The same bulletin says pages behind a login, such as a patient portal, generally do give tracking tools access to PHI, including IP addresses, appointment dates and sometimes diagnosis, prescription or billing details. The practical question for a practice is therefore which pages a tag runs on, and what each of those pages lets a visitor type, select or view.
What did the 2024 court ruling change in the HHS tracking guidance?
A federal court narrowed the OCR bulletin in 2024, but only one part of it. On 20 June 2024, the U.S. District Court for the Northern District of Texas, in American Hospital Association v. Becerra, vacated the guidance to the extent it said HIPAA obligations are triggered when an online technology connects a person's IP address with a visit to an unauthenticated public webpage addressing specific health conditions or health care providers. The notice at the top of the HHS bulletin quotes that order. The American Hospital Association reported on 29 August 2024 that HHS had withdrawn its notice of appeal, which left the district court ruling in place.
The 2024 ruling did not take practice websites out of HIPAA. The order described in the HHS notice addresses a single combination: an IP address plus a visit to a public page. The rest of the bulletin is still published on the HHS site, including the sections on logged-in pages, on appointment scheduling and symptom-checker tools that work without a login, and on patient portal login and registration pages. When we checked on 11 November 2026, the HHS notice still said the department is evaluating its next steps, so the guidance may change again.
Can a medical practice use Google Analytics under HIPAA?
Google Analytics can run on parts of a practice website, and Google itself draws the line. Google's Analytics Help page on HIPAA, checked on 11 November 2026, says Google makes no representations that Google Analytics satisfies HIPAA requirements and does not offer business associate agreements in connection with the service. Google tells HIPAA-regulated customers not to expose to Google any data that may be considered PHI, and says authenticated pages are likely to be HIPAA-covered and should not carry Google Analytics tags. Google adds that unauthenticated pages related to the provision of health care services are more likely to be HIPAA-covered.
Without a business associate agreement, the OCR bulletin leaves a practice few options for any tool that receives PHI. OCR says a tracking vendor that receives PHI on the practice's behalf is a business associate, that a signed BAA and a Privacy Rule permission must be in place before the disclosure, and that website banners asking visitors to accept or reject tracking do not constitute a valid HIPAA authorization. OCR also says a vendor's agreement to remove or de-identify the PHI after receiving it is insufficient. Our post on which vendors need a BAA explains how to run the business associate test across the rest of the practice's vendors.
Which pages on a practice website carry the most risk?
The riskiest pages are the ones where a visitor tells the practice something about their own care. OCR's bulletin gives three examples outside the logged-in portal: an appointment page, where a tracking tool might collect an email address or the reason for seeking care; a symptom-checker tool; and the portal's login or registration page, where the credentials or registration details a person types meet the definition of individually identifiable health information. A small practice can sort its website pages into three groups:
- Pages where a tag should not run unless the vendor has signed a BAA: the patient portal and its login and registration pages, online scheduling, intake or contact forms that ask about symptoms or treatment, and bill pay.
- Pages to review with counsel: service and condition pages, where the 2024 ruling removed the IP-address-only theory but Google still describes health care service pages as more likely to be HIPAA-covered.
- Pages with low HIPAA exposure: general information such as location, hours, job postings and office policies.
The three groups are our reading of the bulletin, not an OCR checklist. The step most often missed is checking what actually loads on each page, because tag managers, embedded scheduling widgets, chat tools and advertising pixels are frequently set to fire on every page of a site, including the form pages. A browser's developer tools show which third parties receive requests from a given page. Advertising pixels deserve the strictest treatment: OCR states that disclosing PHI to a tracking technology vendor for marketing purposes, without the individual's HIPAA-compliant authorization, is an impermissible disclosure.
What should a practice do if a pixel has already been collecting data?
A practice that finds a pixel on its scheduling form or patient portal should treat the finding as a possible breach, not only as a website fix. OCR's bulletin says an impermissible disclosure of PHI to a tracking technology vendor, made with no Privacy Rule permission and no BAA, is presumed to be a breach of unsecured PHI unless the practice can demonstrate a low probability that the PHI has been compromised. The bulletin lists breach notification to affected individuals, to the HHS Secretary and, when applicable, to the media among a practice's obligations. Whether notification is owed in a specific case is a question for the practice's HIPAA counsel.
The technical steps are the same whatever counsel concludes: remove or restrict the tag, record when the tag was installed and which pages it covered, and keep a copy of the configuration as evidence. OCR's bulletin also expects tracking technologies to appear in the practice's risk analysis, and says OCR investigations in this area prioritize Security Rule compliance. PikeShield helps medical and dental practices inventory what their website and cloud tools send to third parties, fold the result into a cybersecurity risk assessment, and document each decision. PikeShield is not a law firm and does not give legal advice on breach notification.
Where this fits in the work
Want to know where your own environment stands? The first step is a free, read-only security assessment.
Get a free security assessment