Google Analytics vs PostHog for SOC 2 and ISO 27001 audits

For a SOC 2 or ISO 27001 scope, Google Analytics fits when a Google-run service and your own configuration evidence will satisfy the auditor, while PostHog fits when hosting, code and data must sit inside your own boundary. This page covers only the compliance angle.

On this page

Google Analytics vs PostHog for SOC 2 and ISO 27001 audits: which side fits your scope

If your SOC 2 or ISO 27001 scope now includes a web or product analytics tool, you are choosing between Google Analytics and PostHog on audit grounds. Google Analytics fits when a Google-run service and your own configuration evidence will satisfy the auditor, and PostHog fits when hosting, code and data must sit inside your own boundary. This section covers only the compliance angle, and the general comparison has its own page. For audit purposes the decision turns on three questions: where the tool is hosted, who holds admin rights, and what the auditor will accept as vendor assurance. Those answers decide which evidence you must produce yourself and which you can inherit from the vendor.

On the Google side, much of the infrastructure assurance comes from Google itself. Google's Analytics security page says it has earned ISO 27001 certification for systems serving a number of Google products, including Google Analytics, so ask your auditor whether that certificate's scope covers the service and processing you rely on. Your own evidence is then about configuration: map the Administrator, Editor and Viewer roles to your logical access controls (the logical access criteria, CC6, in SOC 2), export a dated list of role holders, and keep the Change History record showing who altered a property. Also state your data retention period, noting that Google says the setting affects only explorations and funnel reports. Check the Analytics Data Processing Terms with your privacy team before you cite them.

PostHog fits when the auditor must see the code, hosting and data inside your boundary. The repository is MIT licensed except the ee/ directory, which has its own license, and premium features from that directory need a PostHog license on a self-hosted instance, so list the features you use before you cite the open license. PostHog's security page says customers can self-serve reports, policies and certifications in its Trust Center, including a May 2026 penetration test, so confirm which items are current and their scope. The Docker Compose hobby deployment is MIT licensed and recommends 4 vCPU, 16 GB of RAM and more than 30 GB of storage; confirm its support terms in writing. Self-hosting moves backups, patching, access reviews and logging into your control set, so those become the evidence you produce.

Which audit situation favors each side

Each option gives an assessor a different kind of evidence: Google's certification, PostHog's self-serve Trust Center, control over the code and hosting, or a smaller data footprint. The right choice depends on whether your assessor accepts a vendor's own evidence, how much of the stack your team can operate, and which data reaches the tool.

Google Analytics when Google is in scope

Choose Google Analytics when your organization accepts a Google-run service inside its SOC 2 or ISO 27001 scope and wants Google's ISO 27001 coverage of the systems involved as one input. Google's Analytics Help security page says Google holds ISO 27001 certification for systems serving several products, including Google Analytics. That certification covers Google's systems, not your property configuration, so Administrator, Editor and Viewer roles and Change History still need your own access reviews. First, confirm with your assessor whether Google's certificate and its stated scope cover the systems your audit samples.

Analytics security page

PostHog Cloud when the Trust Center suffices

Choose PostHog Cloud when the Trust Center's self-serve reports, policies and certifications are enough for your assessor and your team does not need to operate the stack. PostHog's security page says customers can self-serve these documents, including the latest penetration test report, most recently tested in May 2026. Your team still owns user access reviews, the events and identifiers sent through the SDK, and retention settings. The region and data handling terms are where this choice turns, so review PostHog's HIPAA and GDPR compliance pages against your own requirements. First, confirm which region your Cloud project is hosted in and which processing terms apply to it.

PostHog security page

Self-hosted PostHog for control

Choose self-hosted PostHog when your organization must control where the platform runs, who patches it and which codebase the assessor reviews. The PostHog repository is MIT licensed except for the ee/ directory, which has its own license, so legal and security teams should review the ee/LICENSE terms before deployment. Premium features from ee/ on a self-hosted instance require a PostHog license, and the posthog-foss repository is the option for teams that need fully free software. Your team then owns patching, backups, change records and the evidence for each control in your scope. First, confirm which premium features you need and whether PostHog's ee/ license is acceptable to your legal team.

Keep the tool out of scope

Choose this route when the analytics tool does not need to sit inside your SOC 2 system description or ISO 27001 information security management system scope, which means sending it less data. Limit events, identifiers and session recordings to what the product question needs, and keep personal data and secrets out of the payload. An assessor will still ask how data reaches the tool and how long it is kept, so document the data flow and each retention setting. Google Analytics 4 standard properties keep user-level and event data for 2 or 14 months, which is one setting to record. First, confirm with your assessor that the tool stays outside the boundary once the data is minimized, and record that decision in writing.

What SOC 2 and ISO 27001 audits ask of an analytics tool

Neither SOC 2 nor ISO/IEC 27001 names analytics products, so an auditor will not ask whether you use Google Analytics or PostHog. The question is whether the tool sits inside the system in scope. An analytics tool enters scope once it holds customer or user data and has accounts and configuration changes that an auditor can test. For Google Analytics, that means the Administrator, Editor and Viewer roles, the Change History that shows who altered a property, and where event data is exported. For PostHog, it means the workspace users and roles, the feature flag and tracking configuration, and the hosting account if you run it yourself. Write the tool into the system description early, because that document defines the boundary every later test is measured against.

SOC 2 examinations use the AICPA 2017 Trust Services Criteria, with the revised points of focus published in 2022. The set holds 61 criteria, 33 of them common criteria. Security rests on the common criteria CC1 to CC9, which apply to every SOC 2. Availability, processing integrity, confidentiality and privacy are added only when you include them in scope, so a team that wants privacy coverage must decide that before fieldwork starts. A Type 1 report describes the system and whether controls were suitably designed as of a date. A Type 2 report adds an opinion on whether those controls operated effectively over a period, which is where access reviews and change logs for the analytics tool get sampled. Ask your auditor which period they expect before you choose the reporting window.

ISO/IEC 27001:2022 takes a different route. Annex A lists 93 controls in four themes drawn from ISO/IEC 27002:2022: organizational, people, physical and technological. For an analytics tool, the technological controls on access rights, logging and secure configuration are likely where most evidence sits, while the physical theme may fall to your hosting provider. ISO does not certify organizations. Accredited certification bodies do, and they operate to ISO/IEC 17021-1:2015 together with ISO/IEC 27006-1:2024. A certificate runs on a three-year cycle with at least one surveillance or recertification audit in every calendar year. Before either audit, agree in writing with your auditor which criteria and Annex A controls the analytics tool touches, and describe those controls in your own words instead of copying the standards' text.

How each side meets the control areas as documented

This table sets each platform's documented position against six control areas an assessor usually asks about, plus two rows where vendor confirmation is still needed. Read each cell as a vendor statement you still verify in your own account. The main takeaway: Google's documented evidence centers on ISO 27001 for its systems and Change History, while PostHog's centers on its Trust Center and license split, so both need vendor confirmation for encryption, SSO, audit logs and data region.

Control areaGoogle Analytics as documentedPostHog as documented
User roles and accessAdministrator, Editor and Viewer roles. Confirm who holds Administrator rights and review them on a schedule.Confirm role and permission options for your Cloud or self-hosted setup, and whether SSO and user provisioning are included.
Change trackingChange History shows who made a configuration change, visible to editors and admins.Confirm whether audit logs record admin and configuration changes, and how long they are kept and exported.
Vendor security assuranceGoogle states ISO 27001 certification covers systems serving Google Analytics. Your own certification scope still needs mapping.Trust Center offers self-serve reports, policies and certifications, including a penetration test from May 2026.
Data retention2 or 14 months standard, 26, 38 or 50 months on Analytics 360. Google says it affects explorations and funnel reports only.Confirm with PostHog the default retention period, whether it is configurable, and how deletion requests are handled.
Hosting and code controlGoogle-hosted service with no self-hosted option, so you rely on Google's hosting controls.MIT license outside the ee directory. Premium features in ee need a PostHog license on a self-hosted instance.
Legacy dataUniversal Analytics data access ended the week of July 1, 2024, and unexported data was permanently deleted.Confirm with PostHog the support window for your version and how historical data from any earlier setup is retained.
Encryption, SSO and audit logsConfirm encryption, SSO enforcement and audit log access against Google's security documentation.Confirm encryption, SSO and audit log options for Cloud and for self-hosted, including which need the ee license.
Data regionConfirm which data locations apply to your property and whether they can change after setup.Confirm which Cloud regions are offered and where a self-hosted instance stores its data.

Who covers what on each side

Each platform splits the audit evidence into two halves: what the vendor operates and reports on, and what your team configures and must prove. Vendor reports cover the vendor's services only, so your project settings, user roles, retention and access reviews need their own evidence. Self-hosting moves the vendor half onto your team, and the auditor decides which criteria or controls each tool maps to.

Google Analytics vendor side

Google runs the Analytics platform, so the infrastructure it operates sits on Google's side of the audit boundary. Google's Analytics security help page states that it has earned ISO 27001 certification for systems serving a number of Google products, including Google Analytics. Ask for the certificate and its scope statement, because a certificate covering underlying systems does not show how your properties are configured or who can change them.

Analytics security page

Your Google Analytics configuration

Your team controls the properties, so roles, change records and retention are yours to evidence. Grant Administrator, Editor and Viewer roles by need and review admin rights on a schedule. Change History, visible to editors and admins, shows who made each configuration change, so capture it with dates for the audit period. Standard GA4 properties keep user-level and event data for 2 or 14 months, and Google states that this setting only affects explorations and funnel reports. Standard properties also have a daily BigQuery export limit of 1 million events, so document your export choices too.

Analytics roles guide

PostHog Cloud vendor side

PostHog runs the hosted service and publishes its evidence through the Trust Center, where customers can self-serve reports, policies and certifications. The latest penetration test report, from a May 2026 test, is available there. Confirm which attestation reports the Trust Center holds, along with their period and scope, because a penetration test report is not a SOC 2 or ISO 27001 report. Ask what each document covers before you cite it in your evidence pack.

PostHog security page

Your PostHog Cloud configuration

Your team sets the project settings, user roles, retention period and data region, and each setting needs evidence of its own. Confirm which regions PostHog Cloud offers and which one your project uses before you load personal data. Record the policies your organization accepts, with version and date, and keep dated records of the settings. Review user roles on a schedule so the evidence shows who can change these settings.

Self-hosted PostHog scope

Self-hosting moves the vendor half onto your team. Hosts, patching, backups, logging, access control and license review all fall inside your scope, and the auditor will ask for evidence that each one operates. The repository is MIT licensed outside its ee directory, but premium features there need a PostHog license on a self-hosted instance. Confirm the support status of your install method with PostHog before you rely on it in production.

Auditor's mapping decision

The auditor decides which criteria or controls the tool maps to. For SOC 2, the common criteria CC1 to CC9 apply to every report, and other categories add criteria only when they are in scope. For ISO 27001, the mapping runs through the Annex A controls listed in your Statement of Applicability. A vendor report covers the vendor's services and leaves your configuration to your own evidence, so agree the mapping before fieldwork starts.

AICPA SOC 2 overview

How self-hosting PostHog moves systems into your audit scope

Self-hosting PostHog places the hosts, containers, database, backups and access paths behind it inside your system description, and an assessor will test each one. For a SOC 2 examination, those components sit within the system the auditor describes and tests against the Trust Services Criteria. For ISO 27001, they fall within the information security management system scope you define and maintain. Google Analytics runs on infrastructure Google operates and certifies, so your own boundary is narrower. With PostHog on your servers, the boundary runs through your cloud accounts, your network and every person who can operate them. Decide early which of these components you will own, because each one you own becomes evidence you must produce.

The license split decides what you can document as open source. The repository is MIT outside the ee directory, and features in ee fall under a separate license in ee/LICENSE. PostHog's README says that using premium features from ee on a self-hosted instance requires a PostHog license, so teams using those features need a license record for the auditor. Teams that need fully free software can use the posthog-foss repository, which the README describes as purged of all proprietary code and features. The documented hobby deployment runs under MIT with Docker Compose, installed with a deploy-hobby script, on a server PostHog recommends at 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Those sizing choices, and the exact PostHog version you deploy, become items you document and keep under change control.

Confirm with PostHog whether the hobby deployment carries vendor support before you put it in scope. An assessor will ask who patches, troubleshoots and upgrades the production stack, and the answer must name a party with a contract or a documented responsibility. If the hobby deployment is unsupported, the production stack needs a supported path, either a PostHog agreement or a named internal team with a runbook. DeployOpen plans, implements, hardens, backs up and documents self-hosted open-source platforms inside the client's own infrastructure, which can help produce the documentation for the components above. The client's auditor still sets the scope, so agree the system boundary with them before hardening work begins.

How evidence moves from the analytics tool to the assessor

Events start at the site or app and go to one of three places: a Google Analytics 4 property or a PostHog Cloud region, both on the vendor side of the boundary, or a self-hosted PostHog inside your own infrastructure. Google's retention setting applies to explorations and funnel reports, and the same check for PostHog Cloud is still to be confirmed. Optional BigQuery exports from Google Analytics and PostHog exports go to a store your organization controls. Admin actions produce change records, which you should confirm for PostHog. The evidence pack gathers vendor reports, role lists, change records, retention settings and server records for the auditor. Check what each side exposes before you promise evidence.

Evidence flows from event collection and admin actions into one pack for the auditor.

Evidence an assessor asks for and how each side produces it

An assessor reviewing Google Analytics will ask for vendor assurance material and proof that your property is configured and changed under control. Google's Analytics security page says Google has earned ISO 27001 certification for systems serving a number of Google products, including Google Analytics. Universal Analytics data access ended the week of July 1, 2024, so an audit period that starts earlier needs records from other sources.

  • Vendor assurance documents: Keep the ISO 27001 statement and the Analytics Data Processing Terms on file. Ask Google which SOC 2 report, if any, covers the service in your contract.
  • Users and roles: Export the Administrator, Editor and Viewer assignments for each account and property, and tie every grant to a named owner. Users and roles explains each role.
  • Change records: Use Change History, which editors and admins can see, to show who changed a configuration. Confirm with Google how far back it goes.
  • Retention settings: Record whether user-level and event data is kept for 2 or 14 months on standard properties. Analytics 360 properties offer 26, 38 and 50 month options, and Google states the setting affects explorations and funnel reports only.
  • Export and evidence retention: Document any BigQuery export, the retention you set in BigQuery and the 1 million event daily limit for standard properties.

Before each audit period, get the assurance documents and retention record confirmed in writing, and ask your auditor which records they accept for periods before the GA4 switch.

Configuring the chosen side for SOC 2 and ISO 27001 evidence

This sequence takes the chosen analytics side from an agreed control list to an evidence pack an auditor can test. Each step produces a record the assessor can compare with the live settings, from the access register and retention log to the export register and restore test.

  1. Confirm criteria and Annex A controls in writing

    Before any configuration, ask the auditor to confirm in writing which framework applies: the common criteria and any additional Trust Services Criteria in scope for a SOC 2 report, or the Annex A controls of ISO/IEC 27001:2022 for an ISO 27001 certification. Ask which controls they expect evidence for from the analytics tool, and whether they treat the tool as a third-party service or an in-house system. The output is a written reply from the auditor that the control list is agreed. File it with the evidence plan, because the choices in the later steps depend on it.

  2. Collect vendor assurance documents

    Gather the assurance material the vendor publishes, then request anything that is missing. For Google Analytics, that means Google's security page with its ISO 27001 statement for the systems serving Analytics, the data processing terms and the users and roles documentation. For PostHog, download the reports and policies from its Trust Center, including the latest penetration test report, and note the period each one covers. The auditor decides whether these documents are sufficient, so send them the list for review. The output is a dated folder of vendor documents with the name of the person who downloaded each one.

  3. Set admin roles to least privilege

    Review every user and assign the lowest role that does the job: Administrator for a small number of owners, Editor for people who change configuration, and Viewer for people who only read reports. Google's users and roles guidance describes these roles, and Change History shows who made each configuration change, so use it to check the register. If PostHog is the chosen side, apply the same register to its access controls after confirming its role model in its documentation. The output is a signed-off access register that matches the current user list.

  4. Set retention to the shortest workable period

    Choose the shortest retention period the analysis still needs. For standard Google Analytics 4 properties, user-level and event data can be kept for 2 or 14 months. Google states that this setting applies to explorations and funnel reports only, and standard aggregated reports fall outside it, so the auditor will ask what each report type retains. Record the chosen value, the reason for it and the approver in a retention decision log. For PostHog, document the retention setting for each data type in the same way. The output is a retention log the assessor can compare with the configured settings.

  5. Decide exports and evidence copy locations

    Decide whether any event data leaves the analytics tool, and where evidence copies are kept. On standard GA4 properties, the daily BigQuery export is limited to 1 million events. The streaming export has no volume limit but adds BigQuery charges of $0.05 per GB, billed through your own BigQuery project, so confirm that rate with Google before you rely on it. Keep evidence copies in a location with the same access controls as the source, and record the path and retention period in the evidence index. The output is an export register listing each export, its volume and the storage location of each copy.

  6. Deploy, pin and test self-hosted PostHog

    If the verdict selects self-hosted PostHog, deploy the free Docker Compose hobby installation from PostHog's self-host documentation on a server that meets or exceeds the recommended 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Pin the image versions in your deployment files so upgrades happen on purpose. Confirm with PostHog what support it provides for this deployment type. Then run a full backup, restore it to a separate host, and check that the data opens and admin login works. The output is a deployment record with pinned versions, the sizing used and a signed restore test result. Skip this step for Google Analytics.

  7. Walk the auditor through the evidence pack

    Before the audit window opens, walk the auditor through the evidence pack in the order of the agreed control list. For each item, show where it is stored and who owns it, and open the live settings for roles, retention and exports so they can compare them with the documents. Log questions and gaps in a shared list, and fix what can be fixed before the window opens. Confirm whether the auditor wants screenshots, exports or live access, because that choice changes how the pack is built. The output is a walkthrough record listing each control, the evidence shown and any open items with an owner.

Questions buyers ask before bringing in outside help

How much effort does SOC 2 or ISO 27001 preparation take for Google Analytics?

Effort depends mainly on scope, team size and the depth of evidence the assessor expects, and the tool's settings are only one part of it. Scope decides which properties, data streams and linked systems, such as BigQuery exports, fall inside the system description. Every user and admin needs an access review and a documented reason for the role they hold. Google Analytics roles such as Administrator, Editor and Viewer, along with the Change History view, give you an audit trail, but someone still has to review and file it on a schedule. Analytics 360 and standard properties differ in documented ways, including retention options and export limits, so confirm your edition before scoping. Google Analytics runs on Google's infrastructure, so there is no hosting work to add. Ask any outside team for an effort estimate broken down by these drivers.

How long does a SOC 2 or ISO 27001 audit preparation take?

The timeline is set by the audit window and the report type, and no duration is quoted here. For SOC 2, a Type 1 report covers the system description and the design of controls as of one date. A Type 2 report also tests whether those controls operated over a period, so the observation window is usually the longest stretch on the calendar. For ISO/IEC 27001, certification runs on a three-year cycle with at least one audit in every calendar year, so the initial certification and each surveillance audit need their own planning. Ask your auditor for the window length, sampling approach and evidence cutoff dates before you agree a schedule. Then ask any outside team to map its work to those dates in writing.

What does an audit engagement need from our team?

The work needs three things from your team: named owners, an auditor contact and admin access. Name these roles before the engagement starts.

  • A named admin owner who holds administrator rights in the analytics tool and can approve configuration changes.
  • An auditor contact who confirms scope, sampling and evidence format before fieldwork begins.
  • Admin access to the analytics tool and, if you self-host PostHog, access to the hosts, containers, databases and backups in scope.

The owner will also spend recurring time on access reviews and change records for the whole observation period. Confirm with your auditor which system components they will test, because that list sets the access you need to provide.

Can our team run SOC 2 or ISO 27001 preparation without outside help?

Yes for many teams, if they have people with the skills for configuration and evidence work. A team with a capable admin owner can set roles, review Change History, document retention settings and collect access review records without an outside partner. For PostHog Cloud, the same applies to project settings, member roles and the Trust Center documents the vendor publishes for review. Self-hosted PostHog changes the picture. Someone must own operations, including patching, backups, monitoring, upgrades and host hardening, and an assessor will ask for evidence of each one. If nobody has that capacity, plan for outside help or a managed option before the observation period begins. Test the skills gap honestly with your auditor first.

What is included in a quote for outside help?

A quote should follow a written scope, because DeployOpen does not publish a price list. Most engagements are fixed-scope, so scope, deliverables and timeline are agreed in writing before work starts, and the quote follows from that scope. Ask every provider to list the systems in scope, the criteria or controls covered, the evidence they will prepare, handover steps and exclusions. Separate one-time work, such as configuration, gap review and evidence setup, from recurring work, such as access reviews, upgrades and retesting. Ongoing support, upgrades and continuous testing are available as retainers, which may suit the recurring part. Scope drivers include the number of properties or PostHog projects, users and admins, self-hosting and the depth of evidence.

Does DeployOpen certify or attest SOC 2 or ISO 27001 compliance?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for a compliance assessment. Independent auditors issue a SOC 2 report, and for ISO/IEC 27001 accredited certification bodies issue the certificate, because ISO itself does not certify organizations. Procurement teams should treat preparation support as an input to the audit, and the auditor's report or certificate as the assurance customers will read. Ask your auditor which evidence they accept and in what format before preparation starts. Also check what the platform vendors' own third-party reports cover, since those describe their services, not your deployment.

How DeployOpen prepares analytics tools for SOC 2 and ISO 27001 review

DeployOpen scopes, builds and documents analytics tooling so your team can enter a SOC 2 or ISO 27001 review with the evidence an assessor will ask for. For Google Analytics vs PostHog, that means agreeing which controls each tool covers, then configuring and documenting the parts your organization owns. DeployOpen prepares systems, controls and evidence for assessment; independent auditors and certification bodies issue the reports and certificates.

How we scope

  • The written scope names which analytics tools, sites, apps and environments are in the assessment boundary.
  • Scope also records whether PostHog runs on PostHog Cloud or your own infrastructure, and which tool each control covers.
  • Engagements are fixed-scope, so deliverables, timelines and exclusions are agreed in writing before work starts.

How we build

  • Configure Google Analytics roles such as Administrator, Editor and Viewer to match least-privilege access for named staff.
  • Document how Change History is reviewed in Google Analytics and confirm how PostHog logs configuration changes in your deployment.
  • Harden self-hosted PostHog hosting and configure its access controls, then document the setup for the assessor.

How we hand over

  • A written evidence pack maps each in-scope control to the setting, screenshot, export or record that supports it.
  • Documentation covers configuration, access model, data handling and the operating steps your team owns after go-live.
  • Your auditor decides what is sufficient, since DeployOpen prepares evidence but does not issue reports or certificates.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the assessment closes.
  • Retainers can keep Google Analytics settings and PostHog upgrades reviewed as your next assessment approaches.
  • Ask that the quote list who handles upgrades, backups and access reviews, so ownership is clear before go-live.

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.