LogRocket vs PostHog

LogRocket is a focused session replay and frontend monitoring product. PostHog bundles replay, error tracking, product analytics and feature flags, and can be self-hosted under MIT with an ee directory that needs a license for premium features.

On this page

When LogRocket or PostHog fits better for replay and debugging

PostHog fits when one platform should cover several jobs, and LogRocket fits when replay and developer debugging are the core need. A team that wants session replay and error tracking next to product analytics, feature flags and experiments will spend less time integrating tools with PostHog, because its README lists session replay, error tracking, product analytics, feature flags, experiments, surveys and data pipelines as products in one project. A team whose main problem is a frontend bug that only reproduces for one customer will usually get more out of a tool built around replay, console and network context for each session, and should test that workflow on its own application before committing to either platform.

Three questions decide most of the choice. The first is whether analytics and flags must live in the same tool. If product managers and engineers already share a funnel, a flag rollout and a replay of the users who hit it, PostHog keeps those in one data model. If analytics is handled elsewhere and the team only needs replay and error context, a narrower tool may be simpler. The second is whether self-hosting is a requirement. PostHog's MIT-licensed core can be run on your own servers, but premium features in the ee directory need a PostHog license on self-hosted instances, and PostHog states that self-hosted deployments are officially unsupported. Confirm with the vendor which features you need and whether they sit in ee. The third is how the team prices usage. Confirm the current seat, session and per-product event rates on each vendor's pricing page, then model replay volume and event volume separately, since they grow at different rates.

Which option fits which scenario

This table matches common LogRocket vs PostHog situations to the option that usually fits better and the reason. Read each row against your own event volume, hosting rules and whether you need product analytics or feature flags beside replay.

ScenarioBetter fitWhy
Team needing session replay and error context onlyLogRocket or self-hosted OpenReplayPostHog bundles many products, so a replay-only need may carry more surface area than you use. Compare replay depth and console and network capture directly in a trial.
Team wanting product analytics, replay and feature flags in one toolPostHogThe README groups product analytics, session replay, error tracking, feature flags and experiments under one platform, so one data model covers all of them.
Team with a strict self-hosting mandatePostHog self-hosted (MIT core) or OpenReplayPostHog's core is MIT licensed, but premium ee directory features need a PostHog license. For fully free code, the posthog-foss repository is the option the README names. Confirm which features you need are in the free core.
Team expecting above roughly 100k events per monthPostHog CloudThe README says open-source deployments should scale to about 100k events per month and recommends PostHog Cloud above that. Plan for managed hosting or a sized self-hosted build with your own operations staff.
Team that needs vendor support on self-hosted installsPostHog Cloud or a commercial support contractPostHog states self-hosted deployments are officially unsupported and it does not provide support for product or infrastructure questions on them. Confirm support terms with your vendor or implementation partner.
Team with EU residency requirements on managed hostingPostHog Cloud EU (Frankfurt) or self-hostingPostHog Cloud offers US (Virginia) and EU (Frankfurt) regions. Confirm the region, sub-processors and contract terms against your data protection review.
Team billing by seats and sessions todayEvaluate both on projected event volumeLogRocket is priced on seats and sessions, while PostHog uses per-product usage. Model both with your own traffic before choosing, because the cost driver differs.

How seat and session pricing differs from per-product usage pricing

Seat and session pricing bills for who looks at the product and how much they record, while per-product usage pricing bills for each event a product receives. LogRocket's model, as its public materials describe it, centers on seats and recorded sessions, with retention tied to the plan. PostHog instead meters each product separately (product analytics, session replay, error tracking, feature flags and others) against its own usage counters, so a team can pay for one product and leave the rest unused. Under the seat model, adding a debugging engineer raises the bill even if traffic is flat. Under usage pricing, a traffic spike raises the bill even if the team stays the same size. Before comparing totals, model both against your real monthly session and event volumes and your headcount.

PostHog's pricing page states that the first 1 million analytics events are free every month. The Free plan includes 1 project and 1-year data retention, and the Pay-as-you-go plan raises this to 6 projects and 7-year data retention. Retention length matters for debugging: a replay or error from a release last year may be gone on the Free plan but still available on a longer tier. SSO, audit logs, custom roles and project permissions are sold as platform packages rather than included in the base usage plans, so a team that needs them for an access review should ask PostHog which package covers them and what it costs. Confirm current limits on the pricing page before relying on them, because these figures change.

For LogRocket, confirm every figure on its current pricing page and in a written quote: the seat price, the session allowance, the retention window for replays and whether SSO, SCIM and audit features sit in a higher tier. Ask how overage sessions are billed, whether unused sessions roll over, and whether a replay is counted once or each time it is viewed. Ask PostHog the same questions about events, including how replay recordings and error events count toward the analytics allowance. Put both answers in one spreadsheet using the same traffic assumptions, and include the cost of the engineering time to run any self-hosted option.

Where replay data lives and who controls it

Session replay captures what users see and type, so where that data is stored and who can administer it matters as much as features. The cards below cover PostHog's hosting options, its license boundary, and the questions to put to LogRocket before comparing.

PostHog Cloud regions

PostHog Cloud offers two hosting regions, US (Virginia) and EU (Frankfurt), so a team can choose where replay and event data is stored at the account level. Confirm which region your project is created in, whether replays and events are stored and processed only there, and which sub-processors touch the data. Ask the same questions of LogRocket, including where its replay storage sits and how that region is selected.

PostHog Cloud hosting
2 regions
PostHog pricing

Self-hosted MIT core

The PostHog repository is MIT licensed except for the ee directory, so the core product can run in your own cloud account or data center. Data then stays wherever you deploy it, and your team controls backups, network access and retention. Self-hosting shifts operational responsibility to you, since PostHog states that self-hosted deployments are officially unsupported.

PostHog repository

The ee license caveat

Premium features in the ee directory need a PostHog license on a self-hosted instance, and the license terms in ee/LICENSE differ from the MIT core. Before you deploy, list the features your teams need, such as SSO, audit logs, custom roles and project permissions, and check whether each sits in ee. Those features are sold as platform packages, so a self-hosted deployment may still carry licensing cost.

PostHog license

The posthog-foss option

The posthog-foss repository is purged of all proprietary code and features, which suits teams whose policy forbids any non-free component. The trade-off is that you give up the premium access controls and audit features that come from the ee directory. Ask whether your identity and access requirements can be met with the open core alone, and document that decision for your compliance reviewers.

PostHog repository

Identity and access controls

Replay data is sensitive because it can expose personal data and internal screens to anyone with dashboard access. Map who can view recordings, export data and change masking rules, and confirm whether SSO, role-based access and audit logs are available on your chosen deployment. Ask LogRocket how its role permissions, SSO and audit trails apply to replay viewing and export, and whether those controls depend on an Enterprise plan.

LogRocket residency and self-hosting terms

The LogRocket comparison depends on facts this page does not establish, namely where its replay data is stored, which regions it offers, and whether self-hosting is available to you. Request these terms in writing, along with its sub-processor list, retention settings and data deletion process. Compare the answers with PostHog's regional and license terms before choosing a platform.

What running PostHog yourself involves

Running PostHog yourself starts with a deployment choice and ends with a support question. PostHog's free Docker Compose hobby deployment is MIT licensed and installed with a deploy-hobby script, and PostHog's self-host documentation recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Confirm those sizing figures against the current self-host documentation before you size hardware, and plan for storage growth from session replay and event volume. New Kubernetes deployments of the paid self-hosted product are no longer supported, so a platform team that standardizes on Kubernetes should decide early whether the hobby Compose path or a different architecture fits the environment.

Self-hosted PostHog is officially unsupported, and PostHog does not offer customer support for product, infrastructure or other questions on self-hosted instances. That changes who owns each operational task. Your team must own upgrades, backups, restore testing, the Postgres and ClickHouse data stores, TLS, SSO configuration and on-call response, and it must name a single owner for each. Ask who approves a version upgrade, who restores from backup in an incident, and who receives alerts when ingestion stops. A session replay tool that drops recordings silently can leave a debugging gap nobody notices until a customer reports a bug.

This is where DeployOpen fits. DeployOpen plans, implements, hardens, backs up, upgrades and documents the PostHog deployment inside your own cloud account or data center, and it can run retainer support for upgrades and continuous testing. A fixed-scope engagement can cover the installation, the access controls and the runbooks your on-call team will use. Before you sign anything, write down which tasks stay with your staff and which move to a retainer, and ask the provider how it handles PostHog's license boundary, since premium features from the ee directory need a PostHog license on self-hosted instances.

Licensing and editions that affect a self-hosted rollout

PostHog's licensing splits one codebase into a permissive core and a commercially licensed directory, and the features you need decide which side of that line you land on. The cards below cover what is free, what is paid, and what to verify against the exact feature list before you plan a rollout.

MIT core with a separate ee license

Most of the PostHog/posthog repository is under the MIT Expat license. Content in the ee/ directory is covered by its own license file, so the repository is not uniformly permissive. Treat the license as a per-directory question, not a per-product one. Ask your legal team to review ee/LICENSE alongside the main LICENSE file before you adopt the code in an internal policy or procurement record.

Read the LICENSE file

Premium features need a PostHog license

The README states that using premium features from the ee directory on a self-hosted instance requires a PostHog license. This is the point where a free deployment can become a paid one. Before committing, list every feature your teams expect, including session replay, error tracking, feature flags, SSO and audit logs, and confirm each one's status against the ee directory and the current pricing page.

The posthog-foss repository as the fully free path

PostHog points teams that need fully free software to the posthog-foss repository, which is purged of all proprietary code and features. Choose this path if your policy forbids any licensed component. The trade-off is that the feature set you can rely on may differ from the main product, so confirm with PostHog which capabilities the foss build includes before you design the rollout around it.

Hobby deployment and its limits

PostHog's self-host documentation offers a free Docker Compose hobby deployment under the MIT license, installed with a deploy-hobby script. It is suited to evaluation and smaller workloads. Check the hobby setup's feature coverage against your requirements, and confirm which components of that stack fall under the MIT license and which fall under the ee license before you move it into production.

Read the self-host docs

Kubernetes and paid self-hosting support

PostHog's self-host docs state that new Kubernetes deployments of its paid self-hosted product are no longer supported. The same docs say self-hosted deployments are officially unsupported and that PostHog does not offer customer support for product or infrastructure questions on self-hosted instances. Ask whether your architecture depends on a deployment target PostHog still supports, and budget for internal or third-party operations support in its place.

Feature checklist before committing

Create a written list of the features your rollout needs, then map each one to its license location, its availability on the free and paid self-hosted paths, and its availability on PostHog Cloud. Include retention, SSO and audit logging, because PostHog sells SSO, audit logs, custom roles and project permissions as platform packages. Revisit the list at each PostHog release, since the boundary between free and licensed features can move.

Open the PostHog README

What each option costs to own over time

LogRocket's commercial cost is set by its plan, which is priced on seats, recorded sessions and retention. Those are the recurring line items you pay the vendor for each billing period. Self-hosting is available only on LogRocket's quoted Enterprise plan, so that route replaces the standard subscription with a negotiated agreement rather than adding a free option alongside it. Ask the vendor to state every metered unit in writing and to show how each one grows as your traffic and team size grow.

  • Seats and sessions: Seat counts and recorded session volume are the main recurring drivers. Growth in either moves the bill without any change to your product.
  • Retention window: A longer retention period is a separate cost driver and usually shows up in the plan terms.
  • Enterprise self-hosting quote: Ask whether the quote includes the software license, the support tier, upgrade delivery and any hosting requirements you must meet yourself.
  • Export and integrations: Confirm whether Streaming Data Export and issue tracker connections are included, since they affect whether you can leave later without re-buying history.
  • Renewal terms: Check price-change clauses and the notice period before your next renewal.

Before you sign, check which costs are fixed, which are metered, and what happens to stored replays if you stop paying.

How a move from LogRocket to PostHog is usually sequenced

The sequence gets a team from an inventory of what LogRocket is used for to a PostHog setup that replaces it, with an export route for history confirmed before anyone cancels the old tool.

  1. Inventory replay, error and event use

    Engineering and product leads list which LogRocket features the team relies on: session replays, console and network capture, error grouping, issue tracker links, user identification and any custom events sent to other tools. Each item is tied to a named owner and a question it answers, such as which bugs are reproduced from replays. The output is a written inventory that becomes the scope for the rest of the move. The step is done when the owners have signed off on the list and nothing on it is marked unknown.

  2. Decide between PostHog Cloud and self-hosting

    Security, compliance and platform teams choose where PostHog will run, weighing the EU (Frankfurt) and US (Virginia) regions of PostHog Cloud against a self-hosted deployment in the organization's own infrastructure. For self-hosting, they confirm the licensing position: the MIT-licensed core and the posthog-foss repository differ from the ee directory, which needs a PostHog license for premium features. They also confirm that self-hosted deployments are officially unsupported, so support must come from internal staff or a partner. The decision is recorded with its reasons, and the step is done when the chosen hosting model has an approved owner and a budget owner.

  3. Confirm the event history route from LogRocket

    Before any cutover planning, the team confirms how LogRocket data will leave the platform. PostHog's managed migrations import historical events from Mixpanel and Amplitude, and its documented scripted paths cover Google Analytics and Heap, but not LogRocket. Teams should check LogRocket's current export options with the vendor and decide whether to keep historical events in a warehouse or storage destination, or to accept that history stays in LogRocket for its retention window. The output is a written decision on which history is kept and where. The step is done when that decision names the destination and the person responsible for the export.

  4. Run SDK and privacy rule work in parallel

    Frontend engineers add the PostHog SDK alongside LogRocket in a non-production environment, while privacy owners rebuild the masking and sanitization rules that LogRocket applies to inputs, text and network payloads. Each rule is tested against sample pages that hold personal and payment data, and the team checks that masked content does not appear in recordings or captured events. Feature flags and identification calls are reviewed against the data inventory from the first step. The step is done when test sessions show the agreed masking in PostHog and the privacy owner has approved the rule set in writing.

  5. Recreate dashboards, alerts and issue links

    Product and support teams rebuild the dashboards and alerts they used in LogRocket inside PostHog, including error tracking views and links from errors to the team's issue tracker. Each rebuilt view is compared with the original over the same period, and differences are explained before the view is accepted. Teams should check which PostHog product covers each need, since PostHog groups session replay, error tracking and product analytics as separate products. The step is done when every item on the inventory has a matching view or an agreed replacement.

  6. Import history or start fresh

    Using the route confirmed earlier, the team either loads exported historical events into PostHog or starts collection without history. If a managed migration is used for another source, PostHog documents that each direct import job covers at most one year of data and that events are not deduplicated, so the team checks for overlap before loading. Imported data cannot be selectively deleted, so the team loads a small test batch first and confirms what it contains. The step is done when the imported or fresh data has been checked against the inventory and the team accepts the data quality in writing.

  7. Cut over and retire LogRocket

    The team switches production traffic to PostHog, keeps LogRocket running in parallel for an agreed overlap period, and compares error and replay coverage between the two tools. Once the overlap is accepted, LogRocket's SDK is removed from the codebase, its privacy settings are archived, and the subscription is cancelled after the final export has been taken. Retention and deletion obligations are recorded so the organization knows where residual data sits. The step is done when LogRocket no longer receives traffic, the final export is stored, and the retirement is recorded in the data inventory.

How the parts of a self-hosted PostHog deployment connect

The diagram starts in the browser, where the PostHog SDK captures product events and session replay data. Those events pass through the reverse proxy into the self-hosted PostHog instance inside the client's network, which writes to its database and storage. The dashed boundary separates that environment from PostHog Cloud, which is a different hosting choice with different data locations. When you review the design, confirm which components handle replay recordings, where each store lives, and that no event leaves your boundary unless you chose Cloud.

Data flow from the browser SDK through the proxy into a self-hosted PostHog instance.

Questions buyers ask before choosing PostHog or LogRocket

Is self-hosting PostHog free?

The self-hosted software is free to use under the MIT license for the core repository, so there is no license fee for that code. The cost is the infrastructure and people: a server, storage, backups, upgrades and your staff's time. PostHog's self-host documentation describes a free Docker Compose (hobby) deployment installed with a deploy-hobby script, and recommends a server equivalent to 4 vCPU, 16 GB of RAM and more than 30 GB of storage. Premium features in the ee/ directory need a PostHog license on a self-hosted instance, so confirm which features you need before assuming the free path covers them. Ask any partner for a quote that separates license, infrastructure, implementation and recurring support.

How much time and effort does a self-hosted PostHog rollout take?

The effort depends on how many products you enable, how much traffic you send, how many environments you run and how strict your security review is. A hobby Docker Compose install is a small job for an experienced engineer, but a production deployment adds reverse proxy and TLS setup, backup and restore testing, monitoring, upgrade planning and SSO configuration. Each of these is a separate work item. Ask for the work broken into written phases with deliverables, and confirm which parts are one-time (design, install, SDK changes, privacy rules) and which recur (upgrades, patching, capacity checks).

What does a self-hosted PostHog rollout need from our team?

You need named owners for four areas: infrastructure (the host, network and backups), application engineering (SDK installation and event naming), data and analytics (dashboards, funnels and feature flag rules) and security or compliance (access control, retention and where personal data is stored). PostHog states that self-hosted deployments are officially unsupported and that it does not offer customer support for product, infrastructure or other questions on self-hosted instances, so answers to operational problems come from your team or a third party you contract. Decide before you start who gets on-call duty for the analytics stack.

Can our team set up PostHog alone, or do we need outside help?

A capable platform team can install the hobby deployment alone, since PostHog publishes a scripted path for it. The harder parts are production hardening, backup and restore testing, SSO, privacy configuration and a repeatable upgrade process, and these often take longer than the first install. Consider whether your team has spare capacity for ongoing upgrades. Outside help is usually scoped as a fixed deliverable set, such as a deployment, hardening review or documented runbook, with the scope and timeline agreed in writing before work starts. DeployOpen implements and hardens self-hosted platforms in your own infrastructure, and you can ask for that work to be quoted from a written scope.

At what volume should we move from self-hosted PostHog to PostHog Cloud?

The PostHog README says open-source deployments should scale to approximately 100k events per month and recommends migrating to PostHog Cloud above that level. Treat that as a checkpoint rather than a hard ceiling: once your event volume passes it, compare the staff time, storage and availability work you carry against a managed plan. PostHog's pricing page says the first 1 million analytics events are free every month on Cloud, and that SSO, audit logs, custom roles and project permissions are sold as platform packages. Ask what your Cloud cost would be at your real volume before deciding.

Can we move our LogRocket event history into PostHog?

Not through a direct import tool that we can confirm from the supplied sources, so plan for history to be partly lost or archived. LogRocket's Streaming Data Export is not retroactive, so you can only export events from the time it was enabled. PostHog's managed migrations import historical events from Mixpanel and Amplitude, and its documented scripted paths cover Google Analytics and Heap, but these do not describe LogRocket session data. Confirm with LogRocket and PostHog what export formats are available, and decide early whether you need to keep an archive of replays in a separate store for compliance or dispute purposes.

Does PostHog replace LogRocket's session replay and error tracking one for one?

PostHog's README lists session replay and error tracking as products alongside product analytics, feature flags and surveys, so it covers the same categories. Whether it matches LogRocket's debugging depth, such as the console, network and error context you rely on for each engineering ticket, is something to test on your own application. Run a pilot on a representative flow, check that error and replay data link the way your engineers expect, and confirm the sanitization controls meet your privacy rules before you change the production SDK.

How DeployOpen helps evaluate, implement or migrate

DeployOpen is a Chainscore Labs company that plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For LogRocket vs PostHog, we help teams decide whether replay, error tracking and product analytics belong on one self-hosted PostHog deployment, then build and hand over that setup in writing.

How we scope

  • Map which LogRocket replay, console, network and error capture features your teams rely on today.
  • Confirm which PostHog components you need, such as session replay, error tracking, product analytics and feature flags, and which are excluded.
  • Agree in writing on the cloud or data center target, hosting regions, data retention and the sign-off criteria before work starts.

How we build

  • Deploy PostHog in your own accounts or data centers, checking the free Docker Compose hobby path against your scale and licensing needs.
  • Confirm the license position for any ee directory features you plan to use, and document the result for your legal and procurement teams.
  • Configure SSO, access control, audit logging, and privacy settings such as masking of inputs and sensitive fields in replays and events.

How we hand over

  • Deliver architecture notes, configuration records and runbooks covering installation, upgrades, backups and storage sizing.
  • Document the data handling controls and evidence your compliance and security reviewers will ask for during assessment.
  • Run a retest of privacy rules and access settings before cutover, and record findings with fixes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Plan periodic upgrades of the self-hosted stack, since PostHog does not provide customer support for self-hosted instances.
  • Review volume growth against the point where your team may decide PostHog Cloud or a different architecture makes more sense.

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.