GoatCounter is anopen sourceweb analytics platform available as a free donation-supported hostedservice orself-hosted app. It aims to offer easy to useand meaningful privacy-friendly web analytics as an alternative toGoogle Analytics or Matomo.
Why I made GoatCounter
Privacy-aware; doesn’t track users with uniqueidentifiers and doesn't need a GDPR notice. Fine-grainedcontrol overwhich data is collected. Also see theprivacypolicy andGDPR consent notices.
Lightweight andfast; adds just~3.5KB of extra data to your site. Also has JavaScript-free"tracking pixel" option, or you can use it from your application'smiddleware orimport from logfiles.
Identifyunique visits without cookies orpersistently storing any personal data(details).
Keeps useful statistics such asbrowser information,location, andscreen size. Keeptrack ofreferring sites andcampaigns.
Easy; if you've been confused by the myriad ofoptions and flexibility of Google Analytics and Matomo that youdon't need then GoatCounter will be a breath of fresh air.
Accessibility is a high-priority feature, and theinterface works well with assistive technology such as screenreaders.
100% committed toopen source; you can see exactlywhat the code does and make improvements, orself-hostit for any purpose. Seethe GitHub page.
Own your data; you can always export all data andcancel at any time.
Integrate on your site with justa single script tag:<script data-goatcounter="https://yoursite.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
The JavaScript integration is a good option for most, but you canalso use ano-JavaScript image-based tracker,integrate in yourbackend middleware, orparse log files.
Some documents about GoatCounter that don’t fit thedocumentation page:
GoatCounter.com is currently offered for free for reasonable publicusage. Running your personal website or small-to-medium business on it isfine, but sending millions of pageviews/day isn’t.
You canself-host GoatCountereasily if you want to use it for more serious purposes.
Donations are accepted viaGithub Sponsorsto cover server costs.