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.

AppHealthStarsLicenseDockerRAM (est.)From
PostHog directActive40.6kMIT–2 GB$10/mo
HitKeepActive105MIT✓2 GB$10/mo
SwetrixActive76AGPL-3.0✓2 GB$10/mo
ANALOGActive51MIT✓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?

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

Analytics

Other alternatives guides

Google Analytics alternativesMixpanel alternativesHotjar alternativesAmplitude alternativesFathom Analytics alternativesDatadog alternativesTableau alternativesPower BI alternativesLooker Studio alternativesSentry alternativesLaunchDarkly alternativesConfigCat alternatives

Heap is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.