# Umami

> Umami: simple, cookie-free website analytics with PostgreSQL, on your server.

Umami is open-source web analytics: page views, referrers, devices and custom events, without cookies. We run the compose setup from Umami's repository (Umami's image and postgres:15-alpine) in /opt/umami with generated secrets, and change the default admin password through Umami's API; the new one is in /root/umami-admin.txt.

## Details

- Installs on: Ubuntu and Debian; AlmaLinux, Rocky Linux and Fedora
- Smallest plan: Budget (1 vCPU, 2 GB RAM)
- Public ports: 80/tcp, 443/tcp
- Project site: https://umami.is/

## After the server is ready

1. From your computer, run `ssh -L 3000:127.0.0.1:3000 root@<your IPv4>`, open `http://localhost:3000` and log in as admin with the password from `cat /root/umami-admin.txt`.
2. Point a domain such as stats.example.com at the server, allow ports 80 and 443 in the panel firewall, and run `vps9-https stats.example.com`.
3. Add your website in Umami and paste its tracking script into your pages.

## Questions

### Umami or Plausible?

Both count visits without cookies. Umami runs on PostgreSQL alone and fits the Budget plan; Plausible CE adds ClickHouse for its events, needs Standard, and has more reports built in. Pick Umami for a few small sites, Plausible for heavier traffic or its reports.

### Do ad blockers block Umami?

Some block the default script name. Umami can serve its script and collection endpoint under other names with its TRACKER_SCRIPT_NAME and COLLECT_API_ENDPOINT settings; add them to the umami service in /opt/umami/compose.yaml.

### Can one Umami track several sites?

Yes. Add each website in Umami's settings; each gets its own tracking script and dashboard, and you can share a read-only link to any of them.

## Order it

Pick Umami in the order form, or use `"app": "umami"` in the API or `vps9 servers create --app umami`. See [all one-click apps](https://vpsnine.com/apps) and [plans](https://vpsnine.com/plans).
