Analytics

Self-hosted Hotjar alternatives

2 open-source apps you can run on your own server instead of Hotjar. The install method for each one is taken from its own docs.
Short answer: self-host OpenReplay or PostHog instead of Hotjar. 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
    OpenReplay

    Open-source session replay and product analytics

    Session replay and product analytics you can self-host.

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

    The Docker Compose install script runs on a single Ubuntu machine with a public IP and a domain, at least 2 vCPU and 8 GB RAM. The docs call this method experimental. Install docs.

  2. 2
    PostHog

    Product analytics, session replay and feature flags

    Product analytics with session replay; ee/ code is separately licensed.

    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.

All free Hotjar 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.