# GoatCounter Privacy-First Web Analytics Platform

> GoatCounter is an open source analytics platform for privacy-friendly pageview tracking, referrer reporting, and lightweight site stats. It can be used as a hosted service or self-hosted, and it supports JavaScript, backend API, and logfile-based ingestion paths.

- Skill: `agentskillexchange/goatcounter-privacy-first-web-analytics-platform` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/goatcounter-privacy-first-web-analytics-platform`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/goatcounter-privacy-first-web-analytics-platform/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/goatcounter-privacy-first-web-analytics-platform

---


# GoatCounter Privacy-First Web Analytics Platform

GoatCounter is an open source analytics platform for privacy-friendly pageview tracking, referrer reporting, and lightweight site stats. It can be used as a hosted service or self-hosted, and it supports JavaScript, backend API, and logfile-based ingestion paths.

## Installation

Use the upstream install or setup path that matches your environment:
- make improvements, or <strong>self-host</strong> it for any purpose.
- database file or a PostgreSQL connection. Alternatively you can use Docker, as

Requirements and caveats from upstream:
- ### Running with Docker
- % docker run \
- % docker exec -it [..] goatcounter db create site -vhost=stats.example.com -user.email=me@example.com

Basic usage or getting-started notes:
- There are two ways to run this: as hosted service on [goatcounter.com][www], or
- run it on your own server. The source code is completely Open Source/Free
- Use the HTTP/REST API, for example from your backend server middleware.

- Source: https://github.com/arp242/goatcounter
- Extracted from upstream docs: https://raw.githubusercontent.com/arp242/goatcounter/HEAD/README.md

## Documentation

- https://www.goatcounter.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/goatcounter-privacy-first-web-analytics-platform/)

