Best Analytics repos (2026)
Every free analytics repo we track, ranked, with a short guide on how to use each one.
- 1PostHog / posthog
Product analytics, session replay and feature flags
How to use PostHog
- Sign up free on PostHog Cloud, or run the hobby install below on a Linux server.
- Add the PostHog snippet or SDK to your site or app.
- Open Product analytics to see events and build funnels.
- Turn on session replay to watch how real users move through your pages.
Full guide, license and FAQ →# Self-hosted hobby install (Linux, about 4 GB memory) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)" - 2umami-software / umami
Cookie-free website analytics
How to use Umami
- Install Umami on a VPS with Docker Compose (command below).
- Open http://localhost:3000 and log in with admin / umami, then set a new password.
- Add your website in Settings and copy the tracking script.
- Paste the script into your site header. Visits show up within a minute.
Full guide, license and FAQ →git clone https://github.com/umami-software/umami.git cd umami # create .env with APP_SECRET (generate: openssl rand -hex 32) docker compose up -d - 3plausible / analytics
Lightweight, privacy-first website analytics
How to use Plausible Analytics
- Clone the Community Edition repo (command below).
- Create a .env file with BASE_URL set to your domain and a SECRET_KEY_BASE.
- Start it with Docker Compose.
- Open your domain, create your account, add your site and paste the tracking script.
Full guide, license and FAQ →git clone -b v3.2.2 --single-branch https://github.com/plausible/community-edition plausible-ce cd plausible-ce echo "BASE_URL=https://plausible.example.com" >> .env echo "SECRET_KEY_BASE=$(openssl rand -base64 48)" >> .env docker compose up -d - 4matomo-org / matomo
Full Google Analytics replacement you host yourself
How to use Matomo
- Download Matomo from matomo.org and upload it to your web hosting.
- Open it in your browser and follow the five-minute installer.
- Copy the JavaScript tracking code it gives you.
- Paste the code into your site header and watch visits appear in real time.
- 5allinurl / goaccess
Real-time web log analyzer in your terminal or browser
How to use GoAccess
- Install GoAccess on your server (command below).
- Find your access log, for example /var/log/nginx/access.log.
- Run GoAccess on the log with the COMBINED log format.
- Open the report.html it creates in your browser.
Full guide, license and FAQ →sudo apt-get install goaccess goaccess access.log --log-format=COMBINED -o report.html
