OSS Alts.

Search alternatives

User Behavior Analytics 3 alternatives tracked

Open-source alternatives to Hotjar

Hotjar is a user behavior analytics tool providing session recordings, heatmaps, and user surveys to help product teams understand how visitors interact with their sites. It is used by UX designers and product managers to identify friction points in user journeys, supplement quantitative analytics with qualitative recordings, and collect in-page feedback.

Last reviewed

Share: X Reddit HN LinkedIn

The alternatives

posthog

★ 34,313 Python NOASSERTION

🦔 PostHog is an all-in-one developer platform for building successful products. We offer product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.

PostHog/posthog Updated 2026-05-06

rrweb

★ 19,514 TypeScript MIT

record and replay the web

rrweb-io/rrweb Updated 2026-03-19

openreplay

★ 12,008 TypeScript NOASSERTION

Session replay, cobrowsing and product analytics you can self-host. Best for reproducing issues and iterating on your product.

openreplay/openreplay Updated 2026-05-05

Comparison notes

PostHog provides session recordings, heatmaps, and product analytics in a self-hosted OSS package (source-available core, AGPL). OpenReplay is an OSS session recording and co-browsing platform with self-hosting support, providing comprehensive recording with DevTools-level detail. rrweb is the underlying OSS library that powers many session recorders. The main gap: Hotjar's in-session feedback widgets (polls, surveys embedded in recordings) are available in PostHog but less mature in OpenReplay. Self-hosting session recordings requires significant storage and retention policy planning for high-traffic sites.

Migration tips

  • Download existing Hotjar recordings before migrating — recordings cannot be transferred but key clips can be saved
  • Install PostHog or OpenReplay alongside Hotjar before full migration to collect parallel recordings for comparison
  • Recreate Hotjar feedback widgets and surveys in your OSS tool's equivalent feature
  • Configure session recording sampling rate in your OSS tool — recording 100% of sessions is storage-intensive for high-traffic sites
  • Update your privacy policy to reflect the new session recording provider and any differences in data handling

FAQ

Can I fully replace Hotjar with an OSS tool?

Feature parity varies. Most OSS alternatives cover 70-90% of core workflows, but may lack polish, integrations, or specialized features. Pilot the alternative with a subset of your team before fully committing.

What's the cost of self-hosting?

Plan for ~$5-50/month in VPS costs (DigitalOcean, Hetzner, etc.) plus 2-8 hours/month in maintenance. For a team of 20+, self-hosting usually breaks even against SaaS pricing within 6-12 months.

Which alternative should I pick?

Sort by GitHub stars (a proxy for community health), check the last-pushed date (avoid unmaintained projects), and read recent issues to gauge responsiveness.