Amplitude vs PostHog for HIPAA and healthcare

Amplitude signs a BAA on Growth and Enterprise plans only. PostHog offers BAAs for PostHog Cloud only, and a self-hosted install leaves every Security Rule obligation with your team. This page covers the compliance angle only.

On this page

Amplitude vs PostHog for HIPAA: which setup fits which side

Amplitude fits when a Business Associate Agreement on the Growth or Enterprise plan, with vendor-run hosting, suits your team. PostHog fits when a BAA on PostHog Cloud under the right package suits your team, or when your team will self-host and carry every safeguard itself. The decision turns on whether protected health information (PHI) will ever reach event properties, session replay or features outside BAA coverage, because anything that lands in those places becomes evidence an assessor will trace. This page covers only the compliance angle. The general comparison of product, editions and cost sits on its own page, so read it alongside this one before you choose.

Collect both sets of documents before you scope the work, because each side describes its position in its own place. Amplitude's security and privacy documentation says it can sign a BAA with Growth and Enterprise customers that process PHI, that a BAA is not available on the Free or Plus plans, and that you start the process by contacting your account team. PostHog's HIPAA page says BAAs cover PostHog Cloud only, through a platform package for the standard BAA or the Enterprise package for a custom one, and it names Boost, Scale and Enterprise. It also states that the managed reverse proxy and PostHog AI are not covered by BAAs and should not process PHI, and that compliance is the customer's responsibility. Map every feature you plan to enable against those exclusions.

PostHog's HIPAA page recommends PostHog Cloud under a BAA over self-hosting, and for self-hosting it says to use HTTPS, follow the securing guide and limit access. Choose self-hosting only if your team will document and run each of those safeguards itself, because no vendor BAA sits behind it. Under the Security Rule, covered entities and business associates must protect electronic PHI (45 CFR 164.302). Where an implementation specification is addressable, you must assess whether it is reasonable and appropriate, document why if it is not, and implement an equivalent measure where one is reasonable (45 CFR 164.306(d)). Before any PHI reaches the tool, confirm in writing with each vendor which products and features the agreement covers, and record that scope in your risk analysis.

What the HIPAA Security Rule asks of an analytics tool

The HIPAA Security Rule applies to covered entities and business associates handling electronic protected health information. Each card below is a duty the organization carries, and the vendor's documentation only answers part of it. The Security Rule issues no certificate the organization can buy, so an assessor reviews the evidence the organization keeps, and the HHS FAQ Are we required to certify our organization's compliance with the standards? addresses the same question.

Who the rule covers

The Security Rule applies to covered entities and business associates that create, receive, maintain or transmit electronic protected health information (ePHI), as 45 CFR 164.302 sets out. Covered entities are health plans, health care clearinghouses and covered health care providers. A business associate is a vendor that handles ePHI for one of them, so an analytics tool that sees patient-linked events in a covered workflow can fall inside the rule. Check which side of that line your use case sits on before you rely on any vendor document.

Subpart C text

18 standards, 36 specifications

Appendix A groups the rule into 18 standards across administrative (164.308), physical (164.310) and technical (164.312) safeguards, with 36 implementation specifications. Of those, 14 are required and 22 are addressable. Required specifications have no opt-out. For an analytics tool, the technical safeguards cover access control, audit controls, integrity, authentication and transmission security. Map each specification you rely on to a control in the tool's configuration, the vendor's contract or your own process, and record who owns it.

Appendix A matrix

Documenting addressable specifications

An addressable specification still needs a decision: the entity must assess whether it is reasonable and appropriate, and if it is not adopted, document why and implement an equivalent alternative measure where one is reasonable and appropriate (45 CFR 164.306(d)). Illustrative case: an analytics vendor cannot restrict a feature to a role, so the file records that gap, the compensating control and the date it was reviewed. Expect an assessor to ask for that record, not a vendor's marketing claim.

Organizational and documentation standards

Sections 164.314 and 164.316 add organizational standards, such as the terms a business associate agrees to, and documentation standards covering written policies, procedures and how long records are kept. Section 164.318 sets the compliance dates: April 20, 2005 for most covered entities and April 20, 2006 for small health plans. Those dates have passed, so a new analytics deployment is measured against the rule as written, and your business associate agreement and policy set are among the records an assessor will ask to see.

Subpart C text

How Amplitude vs PostHog for HIPAA compares as documented

This table sets Amplitude and PostHog side by side on the HIPAA points a healthcare team must settle before sending protected health information to either product. Read each cell as the documented position, then treat the confirm items as questions for the vendor. The main takeaway: PostHog offers a BAA only for PostHog Cloud, and Amplitude offers one only on Growth and Enterprise, so plan tier and configuration decisions come before procurement.

RequirementAmplitude as documentedPostHog as documented
BAA availability, plan eligibility and how to startBAA available for Growth and Enterprise customers processing PHI, not Free or Plus. Start by contacting your account team.BAA offered for PostHog Cloud only, via a platform package (standard BAA) or Enterprise (custom BAA). Confirm the request steps and which package includes Boost, Scale and Enterprise.
Features outside BAA coverageConfirm with the account team which features and integrations the BAA covers before sending PHI.Managed reverse proxy and PostHog AI are not covered by a BAA and should not process PHI. Compliance remains the customer's responsibility.
PHI handling in eventsConfirm whether event properties and user identifiers can carry PHI under the BAA, and how to filter or hash fields before ingestion.Confirm which event, autocapture and session replay fields may carry PHI, and how to exclude the rest before ingestion.
Access controlRole-based access controls are listed on Enterprise. Confirm SSO, MFA and role scope for PHI projects.Confirm role-based access, SSO and project-level permissions on the plan that holds the BAA.
Export and retentionExport API returns JSON in ZIP files, capped at 4 GB and 365 days per request. Confirm retention terms on a BAA contract.Confirm export format, request limits, retention periods and deletion for PostHog Cloud under a BAA.
Audit logsConfirm which admin and data-access events are logged, how long logs are kept, and whether they can be exported for review.Confirm which admin and data-access events are logged, log retention, and export options an assessor can use.
Encryption and data locationConfirm encryption in transit and at rest, and the hosting region for PHI projects, in writing with the account team.Confirm encryption, key management and whether the chosen PostHog Cloud region applies to PHI under the BAA.
Vendor attestationsTrust center exists; ask which reports are available under NDA. FedRAMP is a federal program separate from HIPAA; check the GSA dataset and date.Ask which security reports exist and whether they cover PHI workloads. FedRAMP is a federal program separate from HIPAA; check the GSA dataset and date.
Self-hosting and who signsAmplitude signs the BAA with Growth and Enterprise customers. Confirm whether any self-hosted option exists and who signs for it.BAAs cover Cloud only. Self-hosting needs HTTPS, the securing guide and limited access, with no PostHog BAA.

Why event properties decide whether a BAA is needed

The BAA question turns on what the analytics tool receives, not on which vendor you pick. Before any page that could show care, billing or appointment context loads, your team decides what gets captured: event names and properties, user identifiers, full URLs, page titles, and whatever autocapture, session replay and surveys pick up from the page. An event named for a diagnosis, a user_id that is a patient record number, or a query string carrying an appointment date can each make the vendor a recipient of PHI. Start with a schema review that lists every event and property, then remove or hash direct identifiers, mask form fields and replay content, and keep PHI out of URLs and page titles. These controls live in your application code and tag configuration, and they determine which vendor agreement you need.

Amplitude documents that it can sign a Business Associate Agreement with Growth and Enterprise customers that process protected health information, and that a BAA is not available on the Free or Plus plans. Customers start by contacting their account team, so the plan decision comes before any event is sent. PostHog offers BAAs only for PostHog Cloud: the standard BAA comes with a platform package, and a custom BAA comes with the Enterprise package, which its HIPAA page lists alongside Boost and Scale. Ask both vendors to confirm in writing which package and agreement covers your specific data flows, including session replay and surveys, before you commit to a plan.

PostHog's managed reverse proxy and PostHog AI features are not covered by its BAAs and should not process PHI, so keep them out of any flow that carries patient data and check that your event schema does not pass PHI into them. The HIPAA page also says compliance with regulations is up to the customer. Ask counsel to confirm whether data that is truly de-identified falls outside the business associate definition, and whether your de-identification method would meet that standard. PostHog recommends Cloud under a BAA over self-hosting; if you self-host, the HTTPS setup, its securing guide and access limits become controls you must document yourself.

Who configures and evidences what on each side

The HIPAA requirement is split between the vendor's paperwork and the organization's own configuration. Each card shows what the vendor signs or documents, and what your team must still set, restrict or evidence itself. Use them as a checklist for an assessor's first questions.

Amplitude BAA on Growth or Enterprise

Amplitude says it can sign a Business Associate Agreement with Growth and Enterprise customers that process protected health information. The Free and Plus plans are excluded, so a tool that will receive PHI must sit on one of the two covered plans before any data is sent. Contact your Amplitude account team to start the process, and ask them to confirm in writing which products and data flows the agreement covers. Confirm the signed BAA is in place before production events are sent.

Amplitude security docs

Amplitude controls you still own

The BAA covers only the vendor side. Plan choice decides whether a BAA exists at all, so confirm the plan first. On Enterprise, role-based access controls limit who can view and export data. The event schema decides whether PHI reaches event properties or user identifiers, and export is yours to manage: the Export API returns ZIP archives of JSON files, caps each request at 4 GB, allows at most 365 days per query, and makes data exportable about 2 hours after receipt. Set retention rules for every copy you pull out.

Amplitude Export API docs

PostHog Cloud BAA by package

PostHog offers BAAs only for PostHog Cloud. Its HIPAA page ties the standard BAA to a platform package and a custom BAA to the Enterprise package, and names Boost, Scale and Enterprise. The page does not map each tier to a specific agreement, so confirm in writing which package includes the standard BAA and which one includes a custom BAA. Get the signed text before procurement approves a deployment. BAAs apply only to PostHog Cloud on a qualifying package.

PostHog HIPAA page

PostHog Cloud controls you still own

The managed reverse proxy and PostHog AI are not covered by BAAs and should not process PHI, so keep PHI out of the reverse proxy and PostHog AI and keep those features away from any project that holds clinical data. The HIPAA page also places compliance with regulations on the customer. Review project-level access and admin roles regularly, and decide what session replay and autocapture record on pages where patients enter health information.

Self-hosted PostHog operating duties

PostHog's HIPAA page recommends PostHog Cloud under a BAA over self-hosting. If you self-host anyway, you run HTTPS, follow the securing guide, limit access, and own backups, patching and sizing. The 4 vCPU, 16 GB RAM and 30 GB storage figures are the documented reference for the free Docker Compose hobby deployment, and the hobby reference is not a HIPAA sizing, so load test against your own volumes. Premium features in the ee directory need a PostHog license, so confirm licensing before you depend on them.

Which evidence an assessor will ask for and where each side produces it

For Amplitude, the assessor starts with the contract and then looks at what the account can export. The BAA is available to Growth and Enterprise customers that process protected health information, and it is not offered on Free or Plus, so the plan on the signed agreement is the first artifact to check. Most other evidence comes from Amplitude's trust materials, the account's role settings and the Export API.

  • Signed BAA and plan: Keep the countersigned agreement with the plan name on it, requested through your account team as Amplitude's docs describe. Confirm it names the products and data you will send (164.308(b), 164.314(a)).
  • Trust documents and report scope: Save the current material from Amplitude trust with the date you retrieved it. Ask which reports cover which products and periods, since that scope decides what you can cite (164.308(a)(8)).
  • Role and access records: Export the workspace user and role list and keep the role-based access control settings your plan includes (164.308(a)(4), 164.312(a)).
  • Export API records: Run a dated export and keep the ZIP archive of JSON files with one event per line, the request parameters and the timestamp. Each request is capped at 4 GB and 365 days, and data is exportable about 2 hours after receipt, so allow for that lag in retention and deletion tests (164.316(b)).

Before the assessment, get written answers from Amplitude on audit logs, encryption and data region, since the vendor must confirm those controls directly.

Where PHI can cross the trust boundary in each setup

This illustrative diagram starts at the patient-facing app, where the SDK applies a PHI filter on the client and again on the server before events leave the organization. From there, events can branch to Amplitude Cloud under a Growth or Enterprise BAA, to PostHog Cloud under a platform or Enterprise package, or to a self-hosted PostHog inside the organization's network. The managed reverse proxy and PostHog AI sit outside PostHog's BAA coverage, so they should not receive PHI. PostHog recommends Cloud under a BAA over self-hosting, which makes the self-hosted branch the one where your own safeguards carry the full load. Confirm where each vendor's BAA ends and where your controls begin.

Illustrative PHI data paths across the Amplitude, PostHog Cloud and self-hosted setups.

How to configure the chosen side before the first event is sent

This sequence sets up the chosen platform before any event leaves the product. Each step has an owner and a check that closes it, so the evidence file exists from day one. The order matters because the BAA, plan and data rules decide what the SDK is allowed to send.

  1. Classify data and write the no-PHI rule

    Before any SDK is installed, the privacy, security and clinical owners list every event property, user identifier and session artifact the product would send, and mark each one that could be PHI, such as a patient identifier used as a distinct ID or a free-text reason for visit. Write a no-PHI rule that names the prohibited fields and who may approve an exception. If PHI is in scope, start the BAA work now: on Amplitude, through the account team, and on PostHog, by confirming which package carries a BAA. Done when the signed-off data map and rule sit in the evidence file.

  2. Select the plan or package

    Choose the plan or package before the first event, because the plan decides whether a BAA exists at all. On Amplitude, a BAA is offered to Growth and Enterprise customers and is not available on Free or Plus, so request Growth or Enterprise through the account team and confirm in writing that the BAA is in scope for that order. On PostHog Cloud, the standard BAA attaches to a platform package and a custom BAA to the Enterprise package, so confirm the tier name with PostHog in writing. Done when the contract or order form shows the BAA-eligible plan.

  3. Filter PHI at the SDK and server

    Filter PHI in the SDK and on the server before data leaves the app. Use an allowlist of event and user properties in the SDK, hash or drop identifiers that could point to a patient, and send server-side events through the same filter. On PostHog, avoid the managed reverse proxy and PostHog AI wherever PHI could be present, since PostHog's HIPAA page says neither is covered by a BAA. Check session replay and autocapture masking on pages that show patient data. Done when labelled test events with dummy identifiers show the filter removing or altering those values inside the platform.

  4. Configure access and SSO where supported

    Configure access before anyone other than the implementation team can log in. Assign each person a named role with the least access their job needs. On Amplitude, role-based access controls are listed on the Enterprise plan, so confirm which roles Growth includes before you commit. For PostHog, confirm in writing which access settings and SSO options the chosen package provides, and enable SSO where it is supported so sign-in runs through the organization's identity provider. Done when an export or screenshot of the role list shows that every account maps to a named owner and that no shared logins remain.

  5. Test retention and export limits

    Test retention and export against the Export API limits. For Amplitude, the Export API returns a ZIP archive of JSON files, caps each request at 4 GB, allows at most 365 days per query, and makes data exportable about 2 hours after Amplitude receives it. Run a test export that splits a longer window into queries of 365 days or less, confirm the archive is complete and readable, and record the retention setting. For PostHog, confirm the retention and export path with PostHog before go-live. Done when the test export and retention setting are in the evidence file.

  6. File evidence against control IDs

    File the evidence against the relevant control IDs with a named review date. Map each control to its Security Rule section: access management and risk analysis under the administrative safeguards in 45 CFR 164.308, access control and audit controls under the technical safeguards in 164.312, and written policies under the documentation standards in 164.316. Record the BAA, the no-PHI rule, the access export, the test export and the filter test against those IDs. For any addressable implementation specification you do not adopt, document why and the equivalent measure, as 164.306(d) requires. Name an owner and review date for each entry.

Amplitude vs PostHog for HIPAA: what buyers ask before hiring help

Do we need a BAA if no protected health information reaches the analytics tool?

It depends on the data flow, so confirm the answer with counsel before you rely on it. A BAA question turns on whether the vendor creates, receives, maintains or transmits protected health information for you. Event properties, page URLs, session replay captures and user identifiers can reveal a patient's condition or care even when nobody intended to send health data. Map every field that leaves the site or app and check what it could disclose. Amplitude says it can sign a BAA with Growth and Enterprise customers that process PHI, and a BAA is not available on the Free or Plus plans. PostHog offers BAAs only for PostHog Cloud, and its HIPAA page says the managed reverse proxy and PostHog AI features are not covered and should not process PHI. Your data map is the evidence that settles the question.

What makes a HIPAA analytics setup take more effort?

The main drivers are the size of the event schema, whether you self-host, how much evidence the assessor will want, and how many tools sit in scope. A short list of events with simple properties is a much smaller job than a schema with many events, nested properties and identifiers that each need review. Self-hosting adds the infrastructure build, HTTPS, access limits, patching, backups and upgrades, all owned by your organization. Evidence volume grows with each control you must show, such as access reviews, configuration exports, data flow diagrams and vendor agreements. Each extra tool, such as a replay tool, a tag manager or a feature flag service, adds its own data map and review. Effort depends on these inputs, so ask any partner for an estimate built from a written event inventory and a list of tools in scope.

What does our organization need to provide before a partner starts?

Plan to provide four roles: a privacy owner, a security owner, a data owner and an engineering lead, with legal counsel for the BAA and vendor terms. The privacy and security owners set the scope and approve the controls. The data owner explains what each event and property means and decides which fields are necessary or must be removed before they leave the product. The engineering lead provides access to repositories, staging and production, and owns changes to tracking code. Legal reviews whether a BAA is required, negotiates it where the vendor offers one, and checks that the data flow matches what the contract describes. Naming these people before work starts prevents the early weeks from going to finding answers instead of building controls.

Can our own team run a HIPAA review of product analytics without outside help?

Yes, if your team has the skills and time for the work, and possibly not if it lacks any of them. An internal team can usually handle the data map, event review and configuration settings when the right owners are in place. The harder parts are reviewing the vendor contract, testing whether a replay or event payload leaks PHI, and writing the control evidence an assessor will read. Ask who will test the setup, who will keep evidence current after each release, and who will answer the assessor's questions. If the same people already run production, this work competes with product delivery. Outside help is most useful when the scope is fixed in writing, when you need a tested setup and retest, or when you want an independent check of your own work.

Can a self-hosted PostHog install be covered by a BAA?

No. PostHog offers BAAs only for PostHog Cloud, so a self-hosted install cannot carry a PostHog BAA, and your organization carries the HIPAA obligations for the system it runs. PostHog's HIPAA page recommends PostHog Cloud under a BAA over self-hosting, and for self-hosting it tells teams to use HTTPS, follow its securing guide and limit access. Those steps are a starting point for your own control set. Your organization then owns the hosting environment, encryption, access control, logging, patching, backups, incident response and the risk analysis for that environment. The free Docker Compose hobby deployment is MIT licensed, but that license governs use of the software, not HIPAA coverage. Confirm this position with counsel and your assessor before you choose self-hosting for any data that could contain PHI.

What should a quote for this HIPAA work include?

A quote should start with a fixed written scope that names the systems, event inventory, deliverables, timelines and exclusions. DeployOpen does not publish a price list, and a quote follows from that scope. Next, ask for the vendor-side terms that drive recurring cost. Amplitude's Growth and Enterprise plans use custom event-based pricing, so the quote should state which plan you need and the event volume it assumes. For PostHog Cloud, the quote should name the package and the terms that apply to the BAA. If self-hosting is in scope, list the infrastructure you will pay for, including servers, storage, networking, backups and staff time. Ask which costs are one-time, such as configuration and evidence preparation, and which recur, such as licenses, cloud infrastructure and any ongoing support retainer.

Does DeployOpen issue a HIPAA audit report or certification?

No. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform that work. DeployOpen can plan and implement the analytics setup, test it, document it and prepare the evidence your assessor will ask to see, such as configuration exports, access records and data maps. Ask every provider, including DeployOpen, to state in writing what it delivers and which responsibilities stay with your organization. Your counsel and assessor decide what evidence is sufficient for your organization's own review.

How DeployOpen helps prepare the stack and evidence without picking a side

DeployOpen prepares the stack, controls and evidence for a HIPAA review whichever analytics tool the team chooses. We scope the data flows that could carry protected health information, test and document the setup, and hand over what the organization still has to own. We do not issue audit reports or certifications; independent assessors do.

How we scope

  • Fixed-scope engagements: scope, deliverables and timelines are agreed in writing before any work starts.
  • Written scope lists each analytics tool, website or app, and data flow that could carry protected health information.
  • Scope also lists the vendor confirmations, such as BAA status and plan tier, to obtain before go-live.

How we build

  • Where self-hosting is chosen, deploy PostHog inside your own cloud account, data center or air-gapped network.
  • Harden access, transport and logging settings, then test them before analytics teams receive access.
  • Map event payloads and session replay settings so PHI-bearing fields are identified, excluded or masked.

How we hand over

  • Written documentation of the architecture, data flows, access model, backup and upgrade procedures for the team to keep.
  • An evidence pack mapping each Security Rule safeguard to the configuration, logs and vendor documents that support it.
  • A list of items the organization still owns, such as the risk analysis, workforce training and vendor contracts.

How we support

  • Optional retainers cover ongoing support, upgrades and continuous testing after the fixed-scope work ends.
  • Re-test changed settings after each upgrade or configuration change, within the agreed scope.
  • Walk your assessor through the evidence pack early, so gaps surface before the formal review begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.