Analytics

Self-hosted Mixpanel alternatives

2 open-source apps you can run on your own server instead of Mixpanel, whose paid plans start at usage-based (checked 2026-10-01). The install method for each one is taken from its own docs.
Short answer: self-host PostHog or OpenPanel instead of Mixpanel. The software is free to run and you pay for the server. Licenses checked 2026-10-01, install docs read 2026-11-30.
  1. 1
    PostHog

    Product analytics, session replay and feature flags

    Product analytics, session replay and flags; self-hostable.

    Open source (MIT (core)) · ★ 40k · Install script

    The hobby deploy script asks for a release tag and a domain, then runs the Docker Compose stack. The docs suggest an Ubuntu VM with about 4 vCPU and 16 GB RAM. Install docs.

  2. 2
    OpenPanel

    Open-source product and web analytics

    Open-source Mixpanel alternative.

    Open source (AGPL-3.0) · ★ 7.1k · Install script

    The install script sets up the openpanel CLI, which runs the stack with Docker. It needs at least 4 GB RAM, and Postgres, ClickHouse and Redis can be bundled or your own. Install docs.

All free Mixpanel alternatives. All self-hosted alternatives.

Open source: OSI-approved license. Free to self-host: the code is public and free to run yourself, with limits in the license. The install line is left out when I have not read it on the project's own docs.