Skip to content
Forkshelf
Menu

Self-hosted alternatives

Open source alternatives to Google Analytics

Google Analytics is a hosted website analytics product from Google.

Original introduction

Google Analytics is a hosted analytics product from Google. Self-hosting keeps visitor data on a server you control, so your team holds that record. The five projects here vary a lot in size and scope, from small single-purpose counters to larger suites. All of them use OSI licenses, and PostHog is labelled open core, so check which parts you need.

How this list is built

Google Analytics is made by Google. The projects below are sorted by GitHub stars. Star counts and last commit dates are read from the public GitHub API. 5 of 5 have an OSI-approved SPDX license, a commit in the last 12 months, and a repository GitHub has not archived.

Clear filters

Fetched .

Showing 5 of 5

  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 Mixpanel, Hotjar.

    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. 2Umami

    umami-software/umami

    Umami is an MIT-licensed analytics platform with the second most stars here.

    GitHub stars
    40,497
    License
    MITOSI
    Last commit
    Self-host
    Yes

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

    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. 3Plausible

    plausible/analytics

    Plausible is a web analytics tool whose self-hosted community edition is licensed AGPL-3.0.

    GitHub stars
    29,979
    License
    AGPL-3.0OSI
    Last commit
    Self-host
    Yes

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

    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.

  4. 4Matomo

    matomo-org/matomo

    Matomo is a GPL-3.0 analytics project with its own self-hosted edition, also listed on the Mixpanel and Hotjar 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 Mixpanel, Hotjar.

    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.

  5. 5Goatcounter

    arp242/goatcounter

    GoatCounter runs as a self-hosted app or a free hosted service, and it is the only EUPL-1.2 project on this page.

    GitHub stars
    6,207
    License
    EUPL-1.2OSI
    Last commit
    Self-host
    Yes

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

    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.

Compare

Self-host guides

Related comparisons

Also in Analytics