---
title: "Self-host Umami Analytics on Edge | Lightweight, cookie-free"
description: "Run Umami Analytics on Edge — Node.js + Postgres on a tiny VM, tracking script on the global CDN, no cookies. Privacy-first analytics with zero per-pageview bills."
url: https://edge.network/solutions/umami/
---

# Self-host Umami Analytics on Edge | Lightweight, cookie-free

For Umami

# Umami on Edge, analytics for $5/mo

Self-host the lightweight, cookie-free analytics platform on a
tiny VM with the tracking script on a global CDN. Unlimited
sites, unlimited events, one fixed monthly fee.

[Start free](https://edge.network/account) [For agencies](https://edge.network/solutions/agencies)

# Provision a tiny Umami VM

$ edge compute create \

--image ubuntu-24-04 --plan tiny \

--script ./bootstrap-umami.sh

# In each site <head>

<script defer

data-website-id="abc-123"

src="https://umami.example.com/script.js"></script>

# Front it with the CDN

$ edge cdn create umami.example.com \

--origin https://<vm-ip>

✓ Tracking globally, ~$5/month

## Why teams self-host Umami

The lightest analytics stack that still does the job.

### Tiny script, tiny footprint

Sub-2KB tracking script and a Node.js + Postgres backend that runs comfortably on the smallest Edge VM. Almost free to operate.

### No cookies, no PII

Umami doesn't use cookies or collect personal data. GDPR / CCPA / PECR friendly without a consent banner.

### Script on the global CDN

Serve `script.js` from the Edge CDN globally — fast for visitors anywhere, no third-party domain in your network requests.

### Multi-site by default

One Umami instance tracks unlimited websites. Perfect for agencies running analytics across many client sites.

### Dashboards + custom events

Real-time dashboard, page-level analytics, custom event tracking and goal conversion — everything most teams need from analytics.

### Free instead of per-event

Umami Cloud is ~$20+ for 100k events. Self-hosted on Edge is one $5–10 VM serving unlimited events across unlimited sites.

Reference architecture

## How Umami maps to Edge

Umami + Postgres on the smallest Edge VM, tracking script on the global CDN.

Compute Umami (Node.js) + Postgres on a small VM

CDN Serves the tracking script globally

Storage Optional: nightly Postgres dumps to a bucket

DNS Anycast DNS for `umami.example.com`

# Track a custom event

window.umami.track('signup', { plan: 'pro' })

# Or via the API

POST https://umami.example.com/api/send

{

"website": "abc-123",

"name": "checkout_complete",

"data": { "value": 49.99 }

}

## Common questions

### How does this compare to Umami Cloud?

Same software, you control the host. Self-hosting on Edge is a flat fee with no per-event bills, and data stays on your infrastructure.

### Umami or Plausible?

Umami is lighter and simpler (Node + Postgres). Plausible is richer (Elixir + ClickHouse, more advanced reports). For most small-to-medium sites Umami is plenty.

### Can I run it for clients?

Absolutely — multi-site is built in. Add each client domain to one Umami instance, share dashboard access, send branded weekly reports. Agency-friendly out of the box.

### How small can the VM be?

For under ~500k events/month, the smallest Edge VM is fine. Postgres tuning matters more than raw CPU at that scale.

By Stack

## Other stacks on Edge

[View all stacks →](https://edge.network/solutions/stacks)
[n8n Self-hosted workflow automation](https://edge.network/solutions/n8n)[Vaultwarden Bitwarden-compatible password manager](https://edge.network/solutions/vaultwarden)[Ollama Run open LLMs on your own GPUs](https://edge.network/solutions/ollama)[vLLM Production-grade LLM serving](https://edge.network/solutions/vllm)

## Stand up Umami

Start free. Run analytics for unlimited sites on a $5 VM.

[Start free](https://edge.network/account) [Talk to an engineer](https://edge.network/contact)
