Umami Analytics Widget
Shows website analytics from a Umami instance: pageviews, visitors, sessions, bounce rate, and top pages.
Requirements
- A running Umami instance (self-hosted)
- Your Umami website ID
- Umami login credentials
Getting your website ID
- Log into your Umami instance
- Go to Settings → Websites
- Click your website and copy the Website ID from the URL or settings panel
Configuration
| Key | Type | Default | Description |
|---|---|---|---|
umamiUrl | string | — | Base URL, e.g. http://umami:3000 |
websiteId | string | — | Umami website ID (UUID) |
username | string | — | Umami login username |
password | string | — | Umami login password |
timeframe | string | "30d" | Stats period: "24h", "7d", "30d", "90d", "1y" |
Displayed data
- Pageviews, Visitors, Sessions, Bounce rate, Total time
- Change percentage vs the previous equivalent period
- Top pages table with view counts
Notes
This widget uses Umami's v3 API. If you are running an older version of Umami, some endpoints may behave differently.