Self-hosted alternatives to Heap
Want product analytics with automatic event capture without handing your data to Heap? These 4 self-hosted apps run on your own server. Cheapest estimated hosting starts at about $10/month.
About Heap: Product analytics tool that automatically captures user interactions.
| App | Health | Stars | License | Docker | RAM (est.) | From |
|---|---|---|---|---|---|---|
| PostHog direct | Active | 40.6k | MIT | – | 2 GB | $10/mo |
| HitKeep | Active | 105 | MIT | ✓ | 2 GB | $10/mo |
| Swetrix | Active | 76 | AGPL-3.0 | ✓ | 2 GB | $10/mo |
| ANALOG | Active | 51 | MIT | ✓ | 2 GB | $10/mo |
The options in detail
1. PostHog
Product analytics, session recording, feature flagging and a/b testing that you can self-host (alternative to Mixpanel, Amplitude, Heap).
Active Last commit 2026-11-05. Latest release desktop-v0.61.943 (2026-11-05). Needs roughly 2 GB RAM. How to run it →
2. HitKeep
Privacy-first web analytics with goals, funnels, ecommerce tracking, and team management in a single binary with embedded DuckDB (alternative to Google Analytics, Plausible, Umami).
Active Last commit 2026-11-04. Latest release snapshot-92a8b9992d001d3bd9599cc95cac8a31795f72f0 (2026-11-04). Needs roughly 2 GB RAM. How to run it →
3. Swetrix
Web analytics which track your site's traffic, monitor your site's speed, analyse user sessions and pageflows, see the user flows and more (alternative to Google Analytics).
Active Last commit 2026-10-31. Needs roughly 2 GB RAM. How to run it →
4. ANALOG
Minimal analytics tool. Tracks events in a span of 10-30 days.
Active Last commit 2026-11-04. Latest release v0.2.3 (2026-09-16). Needs roughly 2 GB RAM. How to run it →
Why self-host instead of Heap?
- Own your data — it lives on a server you control, with backups you decide on.
- Predictable cost — a small VPS often replaces per-seat pricing for a whole team or family.
- No lock-in — open-source licenses let you keep running the software even if a vendor disappears.
The trade-off: you are responsible for updates, backups and security. Pick an app marked Active (a commit in the last 90 days) and with Docker support for the easiest ride.
Browse related categories
Other alternatives guides
Heap is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.