Skip to main content

Segment vs PostHog: Customer Data Platform Comparison

·APIScout Team
segmentposthogcdpcustomer data platformanalyticscomparison

Pipeline vs Platform

Segment and PostHog both handle customer data. They solve fundamentally different problems.

Segment (acquired by Twilio in 2020) is the original customer data platform. It established the de facto standard for event tracking -- analytics.track() and analytics.identify() are patterns that an entire ecosystem now copies. Segment collects data from every source, resolves user identity across devices, and routes clean events to 300+ downstream destinations. It is a data pipeline, not an analytics tool. Teams pair Segment with separate products for analytics (Amplitude, Mixpanel), experimentation (LaunchDarkly), session replay (FullStory), and warehousing (BigQuery, Snowflake). Segment is the plumbing. The analysis happens elsewhere.

PostHog is an open-source, all-in-one product platform. It bundles product analytics, web analytics, session replay, error tracking, feature flags, A/B testing, surveys, LLM analytics, a data warehouse, a CDP, and an AI assistant into a single product. Over 90% of PostHog customers use it for free. The platform is designed for technical teams who want every product tool in one place -- no stitching together five vendors, no identity sync headaches, no per-seat multiplication across tools.

The question is not which product has more CDP features. The question is whether a team needs the best data pipeline in isolation or an integrated platform that eliminates the pipeline problem entirely.

TL;DR

Segment is the right choice for teams that already operate a mature data stack with dedicated analytics, experimentation, and session replay tools -- and need a best-in-class pipeline to unify data collection and routing across all of them. PostHog is the right choice for teams that want product analytics, session replay, feature flags, experiments, and CDP functionality in one product with generous free tiers and no vendor coordination overhead. For most startups and product teams in 2026, PostHog eliminates the need for Segment by being both the data platform and the analytics tool. Segment becomes the better option when the requirement is routing data to many specialized downstream tools across a large organization.

Key Takeaways

  • PostHog is free for 90%+ of its users. Generous free tiers across every product (1M events/month for analytics, 5K sessions for replay, 1M flags evaluated/month) mean most teams never pay. Segment's free tier is limited to 1,000 visitors/month with 2 sources -- functionally a trial.
  • Segment is a pipeline; PostHog is a platform. Segment collects and routes data to other tools. PostHog collects, stores, and analyzes data itself. Different architectures for different problems.
  • Segment connects to 300+ destinations. When the requirement is feeding clean, identity-resolved data into Salesforce, Braze, BigQuery, Amplitude, and ten other tools simultaneously, Segment is purpose-built for that job.
  • PostHog replaces 5-7 separate tools. Analytics, session replay, feature flags, experiments, surveys, error tracking, and CDP in one product. No identity sync, no vendor management, no per-seat cost multiplication.
  • PostHog is open-source and self-hostable. Full source code on GitHub. Teams with data sovereignty requirements can deploy it on their own infrastructure. Segment is fully proprietary and cloud-only.
  • Segment has stronger data governance. Schema enforcement, event blocking, data quality monitoring, and consent management are core to Segment's value proposition. PostHog's data governance is lighter.
  • PostHog includes a built-in data warehouse. Import data from Stripe, Zendesk, Hubspot, and other sources directly into PostHog for analysis alongside product data. Segment routes data to external warehouses but is not a warehouse itself.
  • The 2026 pattern: Product-led startups start with PostHog. Enterprise organizations with established data stacks and 10+ downstream tools use Segment as the routing layer.

Feature Comparison

FeatureSegmentPostHog
Core functionData pipeline / routingAll-in-one product platform
Product analyticsNot included (routes to Amplitude, Mixpanel, etc.)Built-in: funnels, trends, retention, paths, SQL
Web analyticsNot includedBuilt-in: GA4-style dashboard
Session replayNot included (routes to FullStory, Hotjar, etc.)Built-in: 5K free sessions/month
Feature flagsNot included (routes to LaunchDarkly, etc.)Built-in: 1M evaluations free/month
A/B testingNot includedBuilt-in: experiments with statistical engine
SurveysNot includedBuilt-in: in-app and email surveys
Error trackingNot includedBuilt-in: stack traces, issue grouping
LLM analyticsNot includedBuilt-in: cost, latency, token tracking
CDP / data routing300+ destinations, best-in-class30+ export destinations
Identity resolutionCross-device, deterministic + probabilisticDevice-level with identify calls
Data governanceSchema enforcement, event blocking, consentBasic event definitions
Data warehouseRoutes to external warehousesBuilt-in warehouse (import Stripe, Zendesk, etc.)
AI assistantNot includedBuilt-in: natural language queries
Open sourceNo (proprietary)Yes (MIT-licensed core)
Self-hostingNo (cloud only)Yes (Docker, Kubernetes)
Free tier1,000 visitors/mo, 2 sources1M events, 5K replays, 1M flags free/month

Segment leads on data pipeline depth, destination breadth, and governance. PostHog leads on everything else -- by including it.

Pricing

PostHog Pricing

PostHog uses usage-based pricing with a free tier for every product. There are no seat-based charges. The free allocation resets monthly.

ProductFree TierPaid Rate (after free)
Product analytics1M events/month$0.00005/event
Session replay5,000 sessions/month$0.005/session
Feature flags1M evaluations/month$0.0001/evaluation
Surveys250 responses/month$0.0035/response
Data warehouse1M synced rows/month$0.000004/row
Error trackingIncluded with analyticsUsage-based

PostHog reports that over 90% of customers stay within free tiers. For a product team tracking 500K events/month with 2K session replays and basic feature flags, the total cost is $0. No per-seat pricing. No plan tiers. No sales calls required.

Segment Pricing

PlanMonthly CostIncludedKey Features
Free$01,000 visitors/mo, 2 sourcesBasic tracking, limited destinations
Team$120/mo10,000 visitors/moUnlimited sources, all destinations
BusinessCustom (typically $12K-$120K+/year)Volume-basedIdentity resolution, data governance, Protocols

Segment's free tier is functionally a developer sandbox. At 1,000 visitors/month with 2 sources, it cannot power a production application. The Team plan at $120/month serves small-to-mid products. The Business plan -- where Segment's core value (identity resolution, governance, Protocols) lives -- requires a sales conversation and typically runs $1,000-$10,000+/month depending on volume.

Cost at Scale

ScenarioPostHogSegmentNotes
500K events/mo, basic analytics$0$120/mo (Team)PostHog free tier covers it
2M events/mo + session replay~$50/mo$120/mo + FullStory ($300+/mo)PostHog replaces two tools
5M events/mo + flags + replay~$200/mo$120/mo + LaunchDarkly ($250+/mo) + Hotjar ($80+/mo)PostHog replaces three tools
50M events/mo + full stack~$2,000/mo$1,000+/mo (Business) + 3-5 tool subscriptionsSegment cost excludes downstream tools
Enterprise, 200M+ events/moCustomCustom ($50K-$120K+/yr) + tool costsSegment total cost = pipeline + all tools combined

The cost comparison is misleading if evaluated in isolation. Segment's price does not include the analytics, experimentation, replay, or survey tools it routes data to. PostHog's price includes everything. At 5M events/month, a team using Segment plus LaunchDarkly, Hotjar, and Amplitude could spend $700-$1,500/month across vendors. PostHog handles all of it for roughly $200.

Data Architecture

Segment: The Universal Router

Segment's architecture is built around a single concept: collect once, send everywhere. The data flow follows a clean pipeline model.

Sources → Segment Pipeline → Destinations
(Website, App, Server)     (300+ integrations)

Events enter Segment through Sources -- the analytics.js browser SDK, mobile SDKs, or server-side libraries. Segment validates events against a tracking plan (Protocols), resolves user identity across devices and sessions, and fans out clean data to every configured Destination. A single analytics.track('Purchase Completed') call can simultaneously reach Amplitude for analytics, Braze for marketing automation, BigQuery for warehousing, and Salesforce for CRM enrichment.

Segment's Protocols layer enforces a schema on events before they reach destinations. Teams define expected event names, properties, and types. Events that violate the schema can be blocked, flagged, or allowed with warnings. For organizations with 50+ engineers instrumenting events, this governance prevents data quality from degrading over time.

Reverse ETL (Segment Unify) pushes warehouse-computed audiences and traits back into downstream tools -- closing the loop between raw data and activation.

PostHog: The Self-Contained Platform

PostHog's architecture is built around a different concept: collect, store, and analyze in one place.

Sources → PostHog (ClickHouse) → Analysis + Action
(SDKs, API, imports)           (Analytics, Replay, Flags, Experiments)

Events enter PostHog through its JavaScript snippet, SDKs, or API. They are stored in ClickHouse -- a columnar database optimized for analytical queries at scale. Every PostHog feature -- funnels, retention charts, session replays, feature flag evaluations, experiment results -- queries the same underlying data store. There is no identity sync problem because there is only one system.

PostHog's built-in data warehouse extends this by pulling external data in. Stripe payment events, Zendesk support tickets, and Hubspot CRM records can be imported and joined with product analytics data directly inside PostHog. The CDP layer handles event transformation and export to 30+ downstream destinations -- fewer than Segment's 300+, but sufficient when primary analytics happen inside PostHog itself.

Integration Philosophy

The fundamental difference between Segment and PostHog is architectural philosophy, not feature count.

Segment's philosophy: best-of-breed composition. Choose the best analytics tool, the best experimentation platform, the best session replay, the best CRM. Segment connects them with clean, identity-resolved data. Each tool does one thing well. Segment ensures they all share the same user model and event stream. This works when the organization already operates 5-10 specialized tools, different teams own different vendors, and data governance across a large engineering org justifies dedicated pipeline infrastructure.

PostHog's philosophy: integrated platform. Why route data between five tools when one tool can do what all five do? PostHog's bet is that 80% of teams do not need best-of-breed for every category. They need good-enough analytics, good-enough replay, good-enough flags -- all sharing data natively with zero integration work. This works when speed of implementation matters, budget constraints make 5+ vendor subscriptions impractical, and the team is technical enough to prefer open-source infrastructure.

When to Use Each

Choose Segment when:

  • Routing to many specialized tools is the core requirement. If the data stack includes Amplitude, Braze, BigQuery, Salesforce, and Iterable -- and all of them need the same event stream -- Segment is purpose-built for that problem.
  • Data governance at scale matters. Protocols, schema enforcement, event blocking, and consent management. Organizations with 50+ engineers instrumenting events need this.
  • Identity resolution across many touchpoints is critical. Cross-device, cross-session, deterministic and probabilistic matching. Segment Unify is a dedicated identity product.
  • The organization already operates a best-of-breed stack. Adding Segment to connect existing tools is cheaper than replacing all of them with PostHog.
  • Reverse ETL is needed. Pushing warehouse-computed segments back into marketing and sales tools. Segment Unify handles this natively.

Choose PostHog when:

  • The team needs analytics, not just a pipeline. PostHog provides the analysis itself -- funnels, retention, trends, paths, SQL queries. Segment requires a separate analytics tool.
  • Budget is a constraint. Free tiers cover most small-to-mid products entirely. No per-seat pricing. No sales calls for pricing.
  • Multiple tools should be consolidated. Replacing Amplitude + LaunchDarkly + Hotjar + a survey tool with one product eliminates vendor coordination, identity sync, and billing complexity.
  • Open-source and self-hosting matter. PostHog's MIT-licensed core can be deployed on-premises. Segment has no self-hosted option.
  • The team is building a product, not operating a data platform. Product engineers who want to ship features, run experiments, and watch replays in one interface without configuring a multi-tool data stack.
  • Session replay is needed alongside analytics. PostHog links replays directly to analytics events, funnels, and error traces. With Segment, replay requires a separate vendor and a separate integration.

Recommendations

The decision framework

For most teams in 2026, the decision reduces to two questions:

  1. Does the organization already operate 5+ specialized data tools that need a unified event stream? If yes, Segment. Its pipeline value scales with the number of downstream tools it connects.
  2. Is the primary need product analytics, experimentation, and user understanding -- not data routing? If yes, PostHog. It provides the analytics directly instead of routing data to tools that provide them.

For startups and product-led teams: PostHog. The free tiers cover early-stage usage entirely. One product replaces what would otherwise be 5-7 vendor subscriptions. Time-to-value is measured in minutes, not weeks of integration work.

For enterprise data teams with established stacks: Segment. Ripping out Amplitude, Braze, BigQuery integrations, and Salesforce syncs to replace them with PostHog is expensive and risky. Segment adds value by improving the data quality flowing into tools the organization already depends on.

For teams that need both: PostHog as the analytics and experimentation platform, with Segment handling data routing to non-analytics destinations (CRM, marketing automation, warehouses). This pattern works when PostHog covers product analytics but the organization still needs Segment's 300+ destination breadth for marketing and sales tools.

The trajectory

The trend in 2026 is consolidation. Teams that adopted Segment in 2018-2022 are evaluating whether PostHog can replace 3-4 of the tools Segment routes data to. If PostHog handles analytics, replay, flags, and experiments, the number of destinations Segment needs to serve shrinks. At some point, the pipeline becomes unnecessary.

For new products, PostHog is the default starting point. Segment enters the conversation when the organization's data routing needs outgrow what any single platform provides.

Methodology

  • Sources: PostHog and Segment (Twilio) official pricing pages, documentation, and product changelogs
  • Pricing data: Official published rates as of March 2026. Segment Business pricing reflects typical ranges -- actual costs vary by negotiation and volume commitments
  • Feature data: Official documentation and product pages from both platforms, supplemented by developer community reviews and migration guides
  • Limitations: PostHog ships features rapidly; product scope may expand further. Segment Business pricing is not public and varies by contract. Both platforms offer enterprise plans with custom terms not reflected in published pricing

Evaluating customer data platforms for your stack? Compare Segment, PostHog, and more on APIScout -- pricing, features, and architecture across every major data and analytics API.

Comments