Why it is recommended
Visitors, referrers and top pages on a single screen. Far easier to read than GA4, and it uses no . A great first analytics tool for a directory like this one: you can see visits from X and your most-viewed pages at a glance.
Set it up with an AI agent
What you need
- A server reachable from the internet (a , for example). Visitors' browsers must reach it, so your own laptop is not enough
- and a
- The website you want to measure
About 30 minutes
- Paste the prompt below into a (it installs PostgreSQL too, with )
- Log in and change the admin password at once
- Add your site and paste the tracking script into <head>
Paste it into a coding agent such as Claude Code or Cursor. A ChatGPT chat window cannot run the commands.
I want visitor analytics on my website with Umami. - Install it with the Docker Compose method from the official Umami docs (with PostgreSQL), and generate a random APP_SECRET. - When I first log in at http://localhost:3000, make me change the admin password right away. - Add my site and put the tracking script it gives into the <head> of my site's shared layout, loaded from my own Umami server's address. - Tell me how to mention the analytics in my site's privacy policy. Before you start, check for existing installs and port conflicts. Before each command, explain in one line what it does, and ask me first before anything that deletes, overwrites or exposes something publicly.
