Umami Analytics
Get clear website analytics without cookies, cross-site tracking, or a heavyweight dashboard. Umami is an open-source, privacy-focused alternative to Google Analytics, available as a managed Cloud service or on your own server. This Publii plugin connects your site in minutes and gives you practical control over tracking, performance data, URLs, domains, and consent.

Useful analytics without the clutter
See how people find and use your Publii site through a clean, focused analytics dashboard. Umami helps you understand traffic and content performance without surrounding the essential numbers with layers of reports you may never use.
Choose Umami Cloud for a managed setup or host the open-source edition on your own infrastructure. The plugin handles the connection to Publii, so there is no need to edit your theme or maintain the tracking script by hand.
Before you start: The Publii plugin is free. Umami offers a managed Cloud service as well as an open-source edition that you can host yourself. Review the current Umami plans and hosting options before choosing your setup.
See what brings visitors to your site
Umami turns everyday site activity into straightforward reports that can help you improve content, navigation, and campaigns.
- Measure page views, visits, referrers, and traffic sources.
- See which pages attract visitors and how your content performs.
- Understand the countries, browsers, operating systems, and devices behind your traffic.
- Track custom events and goals using the tools available in Umami.
- Monitor real-user Core Web Vitals when using Umami 3.1 or newer.
- Keep reports focused with a simple interface designed around essential metrics.
Privacy-focused by design
Umami’s standard tracker does not use cookies and is designed to avoid collecting personal information or following visitors across websites. A self-hosted installation also gives you direct control over where your analytics data is stored.
The plugin adds further controls for respecting the browser’s Do Not Track preference and excluding URL search parameters or fragments from analytics. If your privacy policy or applicable rules require consent before any analytics request, you can hold the complete Umami tracker until the visitor accepts a selected group in Publii’s Cookie Banner.
Plugin features
- Connect Publii to Umami Cloud or a self-hosted Umami installation.
- Use a complete tracker address or a root-relative path when the script is served through a proxy.
- Send analytics to a separate Umami collection address when required.
- Use automatic tracking or manage page views manually while keeping the tracker active.
- Collect Core Web Vitals from real visits with Umami 3.1 or newer.
- Respect the browser’s Do Not Track preference.
- Exclude URL search parameters and hash fragments from collected page addresses.
- Limit tracking to an exact list of allowed domains.
- Group events with tracking tags or process payloads through a before-send function.
- Optionally include the tracker in Publii Preview for testing.
- Integrate with a Cookie Group in Publii’s built-in Cookie Banner when consent is required.
- Validate connection, domain, and consent settings before adding code to your site.
Start tracking in three steps
- Add your website to Umami Cloud or your self-hosted Umami installation.
- Copy its Website ID and tracker script address into the plugin options in Publii.
- Choose your tracking, privacy, and consent settings, then publish the site.
The plugin generates the integration for you. For detailed setup instructions and explanations of every option, read the Umami Analytics plugin documentation.
Connect Umami to Publii and get the numbers you need to improve your site while keeping analytics focused, flexible, and privacy-conscious.
What you get
- Unlimited use - forever, on any number of domains
- Free to use for both personal and commercial projects
- Community support through the forum
Details
- Author:
- Publii Team
- Version:
- Updated:
- Aug 25, 2026
Requirements and compatibility
- Browser:
- Edge, Firefox, Chrome, Safari, Opera
- Requirements:
- Publii 0.45 and up