Self-hosted alternatives
Open source alternatives to Google Analytics
Google Analytics is the hosted website analytics product most sites start with.
Original introduction
Google Analytics is the hosted analytics product most sites start with. Self-hosting keeps visitor data on a server you control, which suits teams that want to own 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 licences, and PostHog is labelled open core, so check which parts you need.
Published by Google. 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 licence, and whether the project can be self-hosted. Fetched . 5 of 5 have an OSI-approved SPDX licence, a commit in the last 12 months, and a repository GitHub has not archived.
1PostHog
PostHog/posthog
Analytics. Licence: MIT. Self-hosted: yes.
- Licence
- MITOpen core
- GitHub stars
- 40,287
- Last commit
Counts as open source: OSI-approved licence, commit within 12 months, and the repository is not archived.
2Umami
umami-software/umami
Analytics. Licence: MIT. Self-hosted: yes.
- Licence
- MIT
- GitHub stars
- 39,381
- Last commit
Counts as open source: OSI-approved licence, commit within 12 months, and the repository is not archived.
3Plausible
plausible/analytics
Analytics. Licence: AGPL-3.0. Self-hosted: yes.
- Licence
- AGPL-3.0
- GitHub stars
- 29,409
- Last commit
Counts as open source: OSI-approved licence, commit within 12 months, and the repository is not archived.
4Matomo
matomo-org/matomo
Analytics. Licence: GPL-3.0. Self-hosted: yes.
- Licence
- GPL-3.0
- GitHub stars
- 21,955
- Last commit
Counts as open source: OSI-approved licence, commit within 12 months, and the repository is not archived.
5Goatcounter
arp242/goatcounter
Analytics. Licence: EUPL-1.2. Self-hosted: yes.
- Licence
- EUPL-1.2
- GitHub stars
- 6,059
- Last commit
Counts as open source: OSI-approved licence, commit within 12 months, and the repository is not archived.