Stop renting software.

← All tools · Categories

Best self-hosted analytics tools

7 self-hostable analytics tools that replace Google Analytics, Mixpanel and Hotjar. The most-starred is posthog (★ 40.6k, MIT (+ separate enterprise/EE license for some dirs)). Ranked by GitHub stars from our last data refresh.

All analytics alternatives, ranked

ProjectReplacesStarsLicenseLast push
posthogMixpanel, Hotjar40.6kMIT (+ separate enterprise/EE license for some dirs)2026-11-02
umamiGoogle Analytics39.9kMIT2026-11-01
analyticsGoogle Analytics29.7kAGPL-3.02026-11-02
matomoGoogle Analytics22.0kGPL-3.02026-11-02
rybbitGoogle Analytics13.2kAGPL-3.02026-11-02
openreplayHotjar13.1kAGPL-3.0 (+ separate enterprise/EE license for some dirs)2026-11-02
openpanelMixpanel7.2kAGPL-3.02026-11-01

By paid tool

Google Analytics alternatives

analytics, umami, matomo, rybbit
self-host: easy

Mixpanel alternatives

posthog, openpanel
self-host: hard

Hotjar alternatives

posthog, openreplay
self-host: hard

Head-to-head comparisons

Plausible vs Umami

★ 29.7kvs★ 39.9k

FAQ

What is the most popular self-hosted analytics tool?

By GitHub stars, posthog (★ 40.6k, MIT (+ separate enterprise/EE license for some dirs)) is the most popular self-hostable option in this list. It replaces Mixpanel and Hotjar. Next are umami (★ 39.9k) and analytics (★ 29.7k).

Which paid tools can these self-hosted analytics tools replace?

This page covers open-source alternatives to Google Analytics, Mixpanel and Hotjar. Each has its own page with all alternatives and verified pricing where we have it.

Are all of these fully open source?

All listed projects publish their source on GitHub. Some are open-core (paid enterprise features in a separate license), so check the license column before you run one commercially.

More categories

Project management · AI · CRM · Helpdesk & customer support · Team chat & video · Monitoring · Workflow automation · Auth & passwords · Notes, wiki & docs · Marketing & newsletters · Developer tools & hosting · Design · Business & commerce · Files, photos & media · Office, PDF & remote desktop

Recommended hosting

Disclosure: some links are affiliate links. If you sign up through them we may earn a commission at no extra cost to you. It never affects which tools we list. Details

One self-hosted swap per week

A new SaaS teardown and its open-source replacement, every week. No spam.

We only use your email to send the SelfHostThis newsletter (stored with our email provider Resend, EU). Every email has a one-click unsubscribe link, and you can ask us to delete your data anytime. We use double opt-in. Datenschutz · Privacy policy