GoatCounter
Open source, privacy-friendly web analytics that counts visits without cookies or personal identifiers. Lightweight script, free hosted service and self-hosting.
Verified
About GoatCounter
GoatCounter is an open source web analytics platform that can be used as a hosted service or self-hosted. It is positioned as an easier, privacy-friendly alternative to Google Analytics and Matomo, and it focuses on the statistics most sites need rather than a large set of reports.
Visits are counted without unique identifiers, cookies or persistent storage of personal data, so a GDPR consent notice is not needed. The JavaScript script adds about 3.5 KB and is added with one script tag. A JavaScript-free tracking pixel is also available, and data can be sent from application middleware or imported from log files.
Reports include browser information, location, screen size, referring sites and campaigns, with a text view and filtering of paths. Accessibility is a stated priority, and the interface works with screen readers. The code is public on GitHub, and all data can be exported at any time, with the option to cancel whenever a user wants.
GoatCounter suits personal websites, blogs, small businesses and open source project sites that want basic traffic figures without a complex dashboard. The hosted service is free for reasonable public usage, and donations cover server costs. Sites with very high traffic are expected to self-host instead, which keeps the hosted service available for the many smaller sites that rely on it. Self-hosting is also the route for anyone who needs full control over where analytics data is kept.
Key features of GoatCounter
- Cookie-free counting
- Unique visits are counted without cookies or persistent personal identifiers.
- Lightweight script
- The tracking script adds about 3.5 KB to each page.
- Referrers and campaigns
- Traffic sources and campaign tags show where visitors arrive from.
- Log file import
- Historical data can be imported from server log files.
- Tracking pixel
- A JavaScript-free option records visits for pages without scripts.
- Accessible interface
- The dashboard is designed to work well with assistive technology.
- Data export
- All collected data can be exported at any time.
What GoatCounter is used for
- Tracking traffic on a personal blog without a consent banner
- Counting visits on a static site with a tracking pixel
- Importing server logs to recover historical statistics
- Running analytics for an open source project's documentation site
Who it suits
- Bloggers and owners of personal websites
- Small businesses with modest traffic
- Privacy-minded developers who want simple metrics
GoatCounter pros and cons
Strengths
- No cookies or unique identifiers, so no GDPR notice is needed
- Script adds only about 3.5 KB
- Data can be exported and the account cancelled at any time
- Public source code that can be self-hosted
Limitations
- The hosted service is intended for reasonable public usage, not millions of daily pageviews
- The project deliberately ignores Do Not Track signals
Editorial summary based on the product's official information.
Alternatives to GoatCounter
The closest matches by category, features and platforms.
FreeWebFreeGoogle AnalyticsWeb Analytics
Google Analytics is a web and app analytics platform that tracks traffic, user behavior, acquisition sources, and conversions with customizable reports and dashboards.
Frequently asked questions about GoatCounter
Does GoatCounter need a cookie banner?
No. GoatCounter does not track users with unique identifiers, so the GDPR notice normally needed for analytics cookies does not apply.
How do I install GoatCounter?
Add a single script tag that points to your GoatCounter site, or use the image-based tracker if JavaScript is not available.
Can I host GoatCounter myself?
Yes. It can be self-hosted for any purpose, and its source code is available on GitHub.
What are the best alternatives to GoatCounter?
The top-ranked alternative to GoatCounter is Google Analytics.
What kind of software is GoatCounter?
GoatCounter is listed under Web Analytics. Open source, privacy-friendly web analytics that counts visits without cookies or personal identifiers. Lightweight script, free hosted service and self-hosting.
Reviews
Used GoatCounter? Share what worked and what didn't to help others decide.
GoatCounter is an alternative to
FreeWebFreeGoogle AnalyticsWeb Analytics
Google Analytics is a web and app analytics platform that tracks traffic, user behavior, acquisition sources, and conversions with customizable reports and dashboards.
Similar software
- Open sourceWeb, Self-hosted, DockerOpen source
Plausible AnalyticsWeb Analytics
Plausible is a lightweight, open-source web analytics tool that tracks visits without cookies and offers a simple dashboard as an alternative to Google Analytics.
Open sourceWeb, Self-hosted, DockerOpen sourceMatomoWeb Analytics
Matomo is a self-hostable web analytics platform that tracks website traffic and user behaviour while keeping full control of the collected data.
Open sourceWeb, Self-hosted, DockerOpen sourceUmamiWeb Analytics
Umami is an open-source web and product analytics platform that covers traffic, behaviour, conversions and retention without cookies, self-hosted or in the cloud.

PirschWeb Analytics
Pirsch is a privacy-friendly, cookie-free web analytics tool hosted in Germany, with funnels, goals, events and white-label dashboards.

Simple AnalyticsWeb Analytics
Simple Analytics is cookieless, EU-hosted web analytics that runs alongside GA4 to record the pageviews and events that consent banners leave out.
AckeeWeb Analytics
Ackee is a self-hosted, Node.js website analytics tool with a minimal interface, cookie-free tracking and a GraphQL API.

