Umami
An open source, privacy-focused alternative to Google Analytics
umami
umamisoftware/umami:postgresql-latest
Just deployed
Valkey
valkey/valkey:latest
Just deployed
/data
Postgres
railwayapp-templates/postgres-ssl:16
Just deployed
/var/lib/postgresql/data
Deploy and Host Umami Analytics on Railway
Umami is a simple, fast, privacy-focused alternative to Google Analytics. It's an open-source web analytics platform that provides essential website metrics without compromising user privacy, tracking users across websites, or collecting personal data. Umami focuses on delivering clean, straightforward analytics while respecting visitor privacy and complying with GDPR, CCPA, and other privacy regulations.
About Hosting Umami Analytics
Hosting Umami gives you access to a complete web analytics solution that tracks website visitors, page views, user behavior, and performance metrics without invasive tracking. Umami offers real-time analytics, custom event tracking, multiple website support, and detailed insights into user interactions. The platform excels at providing essential analytics data while maintaining user privacy, requiring no cookie banners, and storing data securely on your own infrastructure. Umami deployments benefit from Railway's SSL certificates and scalable hosting infrastructure for handling high-traffic websites. Railway provides database backup capabilities and monitoring tools to ensure your analytics data remains secure and accessible.
Common Use Cases
-
Privacy-Compliant Analytics: Implementing website analytics that comply with GDPR, CCPA, and other privacy regulations without requiring cookie consent banners or compromising user privacy.
-
Business Website Monitoring: Tracking website performance, user behavior, and conversion metrics for business websites, e-commerce platforms, and marketing campaigns with clean, actionable insights.
-
Multi-Site Analytics: Managing analytics for multiple websites, domains, or client sites from a single dashboard with user access controls and team collaboration features.
-
Google Analytics Alternative: Replacing Google Analytics with a self-hosted solution that provides essential metrics without data sharing with third parties or dependency on external services.
Dependencies for Umami Hosting
Core Dependencies
-
PostgreSQL - Primary database for storing analytics data, user accounts, and website configurations
-
Valkey - Caching layer for improved performance
Deployment Dependencies
-
Umami Docker Image - https://hub.docker.com/r/ghcr.io/umami-software/umami
-
Umami GitHub Repository - https://github.com/umami-software/umami
-
Railway PostgreSQL Template - https://railway.com/template/postgres
-
Valkey Template - https://railway.com/template/pQYeJx
Implementation Details
-
Your Umami deployment will create a default administrator account with the username admin and the password umami. The first thing you will want to do is login and change your password.
-
Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default, if you want to enable access from outside of the private network you can go to the databases settings to enable TCP proxying and enter the internal port (5432) the TCP proxy can be again removed at any point to close off external access.
-
Upon changing the Railway provided domain or adding a custom domain, a redeploy of the umami service is needed so that it can refresh the domain used in redirects and logins.
Why Deploy Umami on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically scale it.
By deploying Umami on Railway, you get a complete privacy-focused analytics platform with minimal setup. Railway handles the database provisioning, SSL certificates, and environment configuration, letting you focus on analyzing your website performance while maintaining complete control over your analytics data.
Template Content