The latest from the PostHog community

Is Google Analytics HIPAA compliant?

Feb 21, 2022

HIPAA, which stands for the Health Insurance Portability and Accountability Act, regulates how individuals and organizations are required to secure, handle and transmit protected health information (PHI) – and the stringent penalties for failing to do so.

Put simply, you should not use Google Analytics if your business is a 'Covered Entity' or 'Business Associate' under HIPAA: Google Analytics is not HIPAA-compliant and using it could result in a breach and substantial fines.

This means other tools which rely on Google Analytics, such as the experimentation platform Google Optimize, are also not HIPAA-compliant. Read our guide to HIPAA-compliant split testing tools if you need an alternative to Opimize as well.

In this article, we'll explain:

  1. Why Google Analytics isn't HIPAA-compliant
  2. Why product analytics is a better alternative
  3. Why self-hosting your analytics is the best way to stay HIPAA-compliant

Common HIPAA terms explained

  • Protected Health Information (PHI): Also known as personal health information, PHI includes any health data on an individual and any identifying information (e.g. emails, phone numbers, etc.) connected to it. IP addresses, device identifiers and URLs are among the 18 recognized identifiers

  • Covered Entity: A first-party organization (hospital, healthcare provider, etc.) or product (health app, website, wearable device, etc.) that collects any kind of PHI

  • Business Associate: A third party that receives and / or manages data on behalf of a Covered Entity

  • Business Associate Agreement: An agreement between a covered entity and third party that handles their PHI; it ensures the Business Associate shares the same legal requirements and liability as the Covered Entity

Why isn't Google Analytics HIPAA-compliant?

Because Google doesn't allow Covered Entities to enter into a BAA with it, as this disclaimer on its website explains:

Unless otherwise specified in writing by Google, Google does not intend uses of Google Analytics to create obligations under the Health Insurance Portability and Accountability Act, as amended, (“HIPAA”), and makes no representations that Google Analytics satisfies HIPAA requirements. If you are (or become) a Covered Entity or Business Associate under HIPAA, you may not use Google Analytics for any purpose or in any manner involving Protected Health Information unless you have received prior written consent to such use from Google.

A BAA is necessary because Google Analytics transmits data to Google-owned servers when you use it. Were you to use Google Analytics to process or transmit PHI you would be liable for investigation and a fine.

HIPAA fines, explained

HIPAA fines operate on a sliding scale based on the severity of the breach and the total number of breaches. This means they get expensive very quickly, especially for products or businesses with large user bases. The largest HIPAA fine to date is $16 million against health insurer Anthem.

Fines aren't limited to large businesses. In 2017, a children's charity was fined due to storing PHI on a third-party platform without a BAA.


Ready to find out more?