Your app team wants feature flags, funnel charts, session replay when someone rage-clicks checkout, and error spikes in the same place. Buying four SaaS tools means four invoices, four cookie banners, and four subprocessors lists.
PostHog bundles that stack into one open-core platform: ~40k GitHub stars, product analytics, web analytics, session replay, feature flags, A/B experiments, error tracking, logs, surveys, and a growing AI/MCP layer for querying your own data. PostHog Cloud is the default path for most teams; the hobby self-host deploy exists when you need the data on your metal in Canada.
What it actually does
PostHog calls itself a context layer for your product — events, users, groups, recordings, exceptions, and warehouse-style queries in one project.
Highlights teams actually touch:
- Product & web analytics — autocapture or instrumented events, funnels, retention, SQL when the UI is not enough.
- Session replay & heatmaps — watch what happened before a support ticket lands (mind privacy settings and masking).
- Feature flags & experiments — roll out safely, measure impact without a separate experimentation vendor.
- Error tracking & logs — tie exceptions and log lines back to the same user timeline.
- Surveys & workflows — ask users in-app, trigger messages from product data.
- AI tooling — LLM observability, PostHog AI, MCP integration for Cursor/Claude; optional and policy-sensitive.
SDKs cover JavaScript, React, Next.js, mobile, Python, Node, PHP, and more. The setup wizard (npx @posthog/wizard@latest) is the fast on-ramp once your instance URL exists.
Why self-host?
Data residency and reviews. Session replays and event payloads can contain PII. Running PostHog on a Canadian VPS or private cloud keeps ingestion and storage in a footprint you describe to legal — especially if US cloud regions are a non-starter.
One bill, one control plane. Self-hosting the hobby stack avoids per-seat analytics pricing at moderate scale, at the cost of running Docker, Postgres, ClickHouse, Kafka, and friends (the hobby script wires the bundle for you).
Feature depth without vendor lock-in for the core. You can migrate toward PostHog Cloud later if ops outgrow hobby limits; upstream documents that path.
Be honest about limits. PostHog's open hobby deploy is explicitly unsupported and sized for roughly ~100k events/month before they recommend cloud. That is not a flaw — it is the trade for free self-hosting of a heavy platform.
What running it takes
Recommended entry: the one-line hobby installer on Linux with Docker and about 4 GB RAM:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"
Expect multiple containers, disk growth from replay and event volume, and regular updates. Back up volumes before upgrades. Put TLS and auth in front; do not expose an admin UI to the open internet without SSO or VPN.
Privacy configuration matters: mask inputs in replays, tune autocapture, document cookies and consent for Canadian visitors (PIPEDA still applies — software does not replace policy). Some advanced features are cloud-only or paid; read the open-source disclaimer before you promise enterprise SSO on hobby.
Who it's for (and who should skip it)
Good fit: SaaS teams shipping weekly, mobile apps with flags and experiments, startups replacing Mixpanel + LaunchDarkly + Sentry piecemeal, Canadian product shops that outgrew Matomo but need dev-centric tooling.
Maybe skip it: marketing-only sites that need page views (GoatCounter or Offen is lighter). Teams unwilling to run Docker at all should use PostHog Cloud EU/US. If you cannot handle replay privacy, turn replay off — do not self-host and hope nobody notices.
Hosting it in Canada
Hobby PostHog wants a Docker-capable host with headroom — often 8 GB RAM and fast disk once replay starts. We help clients colocate it with app servers in Beauharnois or Toronto, snapshot volumes, and firewall the ingest endpoint.
Share expected monthly events, whether you need replay, and your consent story if you want a go/no-go on self-host vs cloud before you run the installer.
Want product analytics you can steer from one dashboard? Talk with Swift Host — we are in St. Albert and actually answer the phone.