GoatCounter
Open source web analytics platform for hosted or self-hosted use.
- GitHub stars
- 6,184
- Docker pulls
- 93,406
PostHog
Open-source product analytics platform (events, replay, flags, experiments)
- GitHub stars
- 41,031
- Docker pulls
- 36,498,796
What are GoatCounter and PostHog?
Screenshots, feature checklists and deployment channels from the same database rows.

GoatCounter
Open source web analytics platform for hosted or self-hosted use.
Key features
- Privacy-aware without unique identifiers
- Lightweight and fast tracking
- Cookie-free unique visit identification
- Single script tag integration
AI-drafted from upstream quotes — pending human review
- System requirements
- Go 1.21 or newer and a C compiler · SQLite database file or PostgreSQL connection
- Build from source
- Docker

PostHog
Open-source product analytics platform (events, replay, flags, experiments)
Key features
- Product analytics
- Session replay
- Feature flags
- Error tracking
AI-drafted from upstream quotes — pending human review
- System requirements
- Not documented
- Build from source
- Docker
Quick verdict
GoatCounter is a Go-based web analytics platform for privacy-friendly stats, while PostHog is a Python product analytics platform with events, replay, flags, and experiments.
ai:verdict:schema · ai_extract · confidence mediumupdated Nov 23, 2026AI-drafted · pending human review
| You | Pick |
|---|---|
| You need privacy-friendly web analytics that does not track users with unique identifiers. | GoatCounter |
| You need product analytics covering events, session replay, feature flags and experiments. | PostHog |
| You want a Go-based analytics server and prefer a lower open-issue count. | GoatCounter |
| You run a Python environment and want an official Docker image. | PostHog |
Scenario rows are drafted from database facts only (stars, forks, open issues, Docker pulls, license, language, deployment officiality, client platforms). No RAM, price or performance claim appears — the schema has no such fields.
I would deploy GoatCounter for a simple site. It is written in Go, does not track users with unique identifiers, and supports SQLite and PostgreSQL. The official Docker image is arp242/goatcounter, and the open-issue count is 51. If I needed session replay, feature flags, and experiments, I would deploy PostHog instead; it is Python-based, publishes official images as posthog/posthog and ghcr.io/posthog/posthog, and has 35,566,598 recorded pulls. For plain web stats, GoatCounter is the easier run.
Cited from the database (16)
- GoatCountertaglineweb analytics platform
- GoatCounterprimary_languageGo
- GoatCounterdescriptionprivacy-friendly web analytics
- GoatCounterdescriptiondoes not track users with unique identifiers
- GoatCounterdescriptionsupports SQLite and PostgreSQL
- GoatCounterserver_deployments.dockerarp242/goatcounter
- GoatCounteropen_issues51
- PostHogtaglineproduct analytics platform
- PostHogprimary_languagePython
- PostHogtaglineevents, replay, flags, experiments
- PostHogdescriptioncovering events, session replay, feature flags and experiments
- PostHogopen_issues5109
- PostHogserver_deployments.dockerofficial
- PostHogserver_deployments.dockerposthog/posthog
- PostHogserver_deployments.dockerghcr.io/posthog/posthog
- PostHogdocker_pulls35566598
Every value above is a database value or a standard written variant of it (for example 29,401 / 29.4k), verified field by field by the QA gate. A = GoatCounter, B = PostHog (alphabetical order, same as this page's URL).
Side-by-side comparison
| Dimension | GoatCounter | PostHog |
|---|---|---|
| Category | Web Analytics | Web Analytics |
| License | NOASSERTION | NOASSERTION |
| Primary language | Go | Python |
| GitHub stars | 6,184 | ▲41,031 |
| GitHub forks | 288 | ▲3,727 |
| Open issues | 63 | 4,496 |
| Docker pulls | 93,406 | ▲36,498,796 |
| Latest version | v2.7.0 | desktop-v0.61.1086 |
| Platforms with an official client | 0 | 0 |
| Third-party clients | 0 | 0 |
| Deployment methods | 2 | ▲3 |
| Data last verified | Nov 23, 2026 | Nov 23, 2026 |
▲ = leads on countable metrics only (stars, forks, Docker pulls, official-client platforms, third-party clients, deployment methods). License, language, latest version, open issues and verification dates are shown side by side without a verdict — they are facts, not scores. Verification state per platform is on each app profile page.
Where each side leads
Where GoatCounter leads0
No countable metric where GoatCounter is ahead of PostHog in the database.
Where PostHog leads4
- GitHub stars — 41,031
- GitHub forks — 3,727
- Docker pulls — 36,498,796
- Deployment methods — 3
Pricing
GoatCounter
Not documented
The schema has no pricing or paid-tier field, so no price is claimed for this app.
PostHog
Not documented
The schema has no pricing or paid-tier field, so no price is claimed for this app.
Licence (NOASSERTION vs NOASSERTION) is the only cost-related field the database records, and it is a fact rather than a price.
Frequently asked questions
Are GoatCounter and PostHog open source?
GoatCounter is licensed under NOASSERTION, verified Oct 29, 2026. PostHog is licensed under NOASSERTION, verified Oct 27, 2026.
Which one has more github stars?
GoatCounter has 6,184 stars and PostHog has 41,031, both captured Nov 23, 2026.
Can I run GoatCounter and PostHog with Docker?
GoatCounter: yes — 1 Docker image recorded (arp242/goatcounter). PostHog: yes — 2 Docker images recorded (posthog/posthog, ghcr.io/posthog/posthog).