Skip to content
Forkshelf
Menu

Self-hosted alternatives

Open source alternatives to Hotjar

Hotjar is a hosted tool for heatmaps, recordings, and on-site feedback.

How this list is built

Hotjar is made by Contentsquare. The projects below are sorted by GitHub stars. Star counts and last commit dates are read from the public GitHub API. The line under each name is generated from the category, the license, and whether the project can be self-hosted. 3 of 3 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived.

Clear filters

Fetched .

Showing 3 of 3

  1. 1PostHog

    PostHog/posthog

    PostHog stores product analytics together with error data so a team can query both, under an MIT license marked open core.

    GitHub stars
    41,261
    License
    MITOSI
    Last commit
    Self-host
    Yes

    Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.

    Repository

    Also listed as an alternative to Google Analytics, Mixpanel.

    Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.

  2. 2Matomo

    matomo-org/matomo

    Matomo is a GPL-3.0 analytics project with its own self-hosted edition, also listed on the Google Analytics and Mixpanel pages.

    GitHub stars
    22,078
    License
    GPL-3.0OSI
    Last commit
    Self-host
    Yes

    Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.

    Repository

    Also listed as an alternative to Google Analytics, Mixpanel.

    Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.

  3. 3Openreplay

    openreplay/openreplay

    Analytics. License: AGPL-3.0-only. Self-hosted: yes.

    GitHub stars
    13,209
    License
    AGPL-3.0-onlyOSI
    Last commit
    Self-host
    Yes

    Counts as open source: OSI-approved license, commit within 12 months, and the repository is not archived.

    Repository

    Also listed as an alternative to Mixpanel.

    Maintain this project? Email corrections to sponsors@forkshelf.com. To list another tool, submit it for free review, or request priority review. Paying never changes whether a tool is listed or how it ranks.

What it is and who should self-host

Hotjar, made by Contentsquare, is a hosted tool for heatmaps, recordings and on-site feedback. Teams that would rather keep visitor data on their own servers can run one of the three tools here. All three have an OSI-approved license and a recent commit.

GitHub stats

  • PostHog (PostHog/posthog): 41,261 GitHub stars; license MIT (OSI-approved); last commit (fetched )
  • Matomo (matomo-org/matomo): 22,078 GitHub stars; license GPL-3.0 (OSI-approved); last commit (fetched )
  • Openreplay (openreplay/openreplay): 13,209 GitHub stars; license AGPL-3.0-only (OSI-approved); last commit (fetched )
  • Page count: 3 of 3 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived. (fetched 1 Dec 2026)

From the projects

  • Matomo README: "Matomo is a full-featured PHP MySQL software program that you download and install on your own webserver." (source, captured 19 Oct 2026)
  • OpenReplay README: "OpenReplay can be deployed anywhere." (source, captured 19 Oct 2026)

FAQ

What is Hotjar?
Hotjar is a hosted tool for heatmaps, recordings, and on-site feedback.
What are the open-source alternatives to Hotjar?
This page lists PostHog, Matomo and Openreplay, sorted by GitHub stars. 3 of 3 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived.
Which Hotjar alternative has the most GitHub stars?
PostHog, with 41,261 stars as of 1 Dec 2026.
Can these Hotjar alternatives be self-hosted?
Yes. Each of the 3 projects on this page is marked Self-host: Yes.
Who makes Hotjar?
Hotjar is made by Contentsquare.
Which licenses do the Hotjar alternatives here use?
PostHog is MIT, Matomo is GPL-3.0 and Openreplay is AGPL-3.0-only. All three are OSI-approved.

Compare

Self-host guides

Related comparisons

Also in Analytics