📈 Setup Umami — Simple Privacy-Focused Analytics

Deploy Umami on Ubuntu with Docker — a clean, fast, and privacy-respecting web analytics platform. Track pageviews, sessions, and events across multiple websites from one dashboard, without storing any personal data.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — Umami with MySQL backend in one command.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/analytics/umami/umami-ubuntu.sh
chmod +x umami-ubuntu.sh
sudo bash umami-ubuntu.sh

Tutorial Steps

1 Download & Run the Script

The script installs Docker, starts Umami with a MySQL database, and auto-generates secure DB credentials.

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/analytics/umami/umami-ubuntu.sh
chmod +x umami-ubuntu.sh
sudo bash umami-ubuntu.sh

2 Access the Web UI & Login

Open your browser and navigate to Umami. Login with the default credentials — change them immediately after first login:

http://<your-server-ip>:3002

Username: admin
Password: umami
⚠️ Change your credentials immediately after first login!

3 Add a Website

Go to Settings → Websites → Add website. Enter your site's name and domain. Umami will generate a unique tracking ID and script snippet for your site.

4 Embed the Tracking Code

Copy the generated <script> tag from the website settings and add it to your site's <head> section. Traffic will start appearing in your dashboard immediately. Umami works without cookies and is fully GDPR-compliant.

Ports Used

PortPurpose
3002Umami Web Dashboard