Privacy-friendly analytics on Railway: Plausible or Umami
Short answer: to get web analytics without Google Analytics, self-host Plausible or Umami. Both are open-source, cookie-free dashboards that count visits, referrers and events from a small script on your site. On Railway you deploy either one from a template that includes its database, and you keep the data in your own project. Umami is the smaller of the two; Plausible adds ClickHouse for event storage.
Deploy Plausible on RailwayWhen this makes sense
Self-hosted analytics fits when you want a simple dashboard instead of Google Analytics, want to keep visitor data in infrastructure you control, or have GDPR and data-residency requirements. Typical uses from the template documentation:
- marketing sites, blogs and documentation,
- goals, custom events and UTM campaign tracking for landing pages,
- one instance serving dashboards for several sites or client sites.
Neither tool is a full product-analytics suite. If you need session replay, feature flags or deep funnels, see the PostHog guide instead.
Analytics templates people deploy on Railway
| Template | Creator | Deployments | Services |
|---|---|---|---|
| Umami | Brody's Projects | 4,236 | 3 |
| Metabase | Brody's Projects | 2,642 | 2 |
| Plausible Analytics | Tinybox Software | 915 | 3 |
| Langfuse v3 | Langfuse's Projects | 688 | 6 |
| Elasticsearch | Lasso Moderation | 264 | 1 |
| OmniRoute | A3A | 208 | 1 |
| PostHog Product Analytics Suite | Tracklayer | 14 | 23 |
| Plausible v3 Privacy-First Analytics | Tracklayer | 3 | 3 |
Railway marketplace data as of 2026-11-19. Full ranking: Best privacy-friendly web analytics templates on Railway.
Plausible or Umami
| Plausible v3 | Umami v3 | |
|---|---|---|
| Version in the template | Plausible CE v3.2.1 | Umami v3.5.0 |
| Services | Plausible, ClickHouse, Postgres 18 | Umami, Postgres 18 |
| First login | First person to register becomes the owner | Generated admin password in Variables |
| Optional, needed for invites and reports | Not described by the template | |
| Estimated or measured cost | About $8 idle and $12 to $25 typical (author’s estimate) | About $2 to $4 for a small site (estimate based on measured RAM) |
| Minimum plan | Hobby | Free works |
| Licence | AGPL-3.0 | MIT |
Pick Umami if you want the smallest footprint. Pick Plausible if you prefer its one-page dashboard or want ClickHouse as the event store.
Deploy Plausible, step by step
These steps use Tracklayer’s Plausible v3 Privacy-First Analytics template.
- Deploy the template. It creates
plausible,clickhouseandPostgres, with pinned versions and generated secrets. The first start creates and migrates both databases, so allow a few minutes. - Register straight away. When
plausibleis healthy, open its domain. Plausible CE has no admin bootstrap variable, so the first person to register becomes the owner. After that, registration is invite-only. - Add your site and paste the tracking snippet into your pages.
- Attach a custom domain if you want one, then update
BASE_URL, because the snippet and links use it. - Set up email if you need invites or weekly reports. Use
MAILER_ADAPTERwith a provider API key andMAILER_EMAIL.
Both Postgres and ClickHouse have volumes, so accounts, sites and stats survive redeploys. The plausible service itself has no volume.
Deploy Umami, step by step
These steps use Tracklayer’s Umami v3 Privacy-First Web Analytics template.
- Deploy the template. It creates Umami and Postgres. The first deploy builds a thin image on top of Umami’s official one and runs migrations, which takes a few minutes.
- Copy the admin password. Open the Umami service, go to Variables and copy
UMAMI_ADMIN_PASSWORD. - Sign in as
adminat the public domain. Umami’s seeded default password is replaced before the server starts, soumamidoes not work. - Add a website under Settings, Websites, then paste the tracking code into the head of your site. It loads
/script.jsand sends page views to/api/send. - Change your password in Umami if you like. Redeploys keep it. If you forget it, set a new
UMAMI_ADMIN_PASSWORDandUMAMI_ADMIN_PASSWORD_SYNC=true, then redeploy.
Keep APP_SECRET. Changing it logs everyone out and counts returning visitors as new.
What it costs
Railway bills usage, so cost follows memory, CPU and volume size. For Umami, the template reports measured figures from Railway: about 0.1 to 0.16 GB of RAM at idle and up to about 0.3 GB under load, with Postgres at roughly 0.06 to 0.1 GB. Its own estimate for a small site is $2 to $4 a month. For Plausible, the template gives estimates rather than measurements: about $8 idle and $12 to $25 a month up to roughly one million pageviews. Larger sites mostly add ClickHouse memory, CPU and volume. Database size grows with traffic for both.
Limitations and licence notes
- Plausible email. SMTP relays need Railway’s Pro plan. HTTP-API providers work on every plan.
- Plausible and ClickHouse versions. Upgrade Plausible by changing its image tag after reading the release notes. Keep ClickHouse on the version Plausible’s own compose file uses for that release.
- Umami database. Umami v3 supports Postgres only. For very large sites it can also use ClickHouse and Redis, which this template does not include.
- Licences. Plausible CE is AGPL-3.0 and Umami is MIT. Both templates are community templates, not affiliated with the upstream projects.
- Ad blockers. The Umami template notes that a custom domain on your own site’s domain is less likely to be blocked.
Other options
- PostHog covers product analytics beyond page views. See the PostHog guide.
- Compare more tools in the full ranking of web analytics templates on Railway, or browse all guides.
FAQ
Do Plausible and Umami need a cookie banner?
Both templates describe cookie-free analytics, so the analytics script itself does not set cookies. Whether you need a consent banner depends on your jurisdiction and on any other scripts on your site. Ask a lawyer if you are unsure.
Which one is cheaper to run on Railway?
Umami is lighter. Its template reports about 0.1 to 0.3 GB of RAM for Umami and under 0.1 GB for Postgres, measured on Railway, and runs on every plan including Free. Plausible also runs ClickHouse, and the Plausible template author estimates about $12 to $25 a month for a site with up to roughly one million pageviews a month. That figure is an estimate, not a measurement.
How do I log in to each one?
Plausible has no admin variable: open the domain right after the first deploy and register, and the first account becomes the owner. Umami generates UMAMI_ADMIN_PASSWORD; copy it from the Umami service Variables tab and sign in as admin. The default password umami does not work.
Can Plausible send invitation emails on the Hobby plan?
Yes, through an HTTP-API provider such as Postmark, Mailgun, SendGrid or Mandrill. Set MAILER_ADAPTER, the provider's API key and MAILER_EMAIL. Plain SMTP relays work only on Railway's Pro plan.
What are the licences?
Umami is MIT-licensed. Plausible Community Edition is AGPL-3.0 and is used unmodified by the template, with ClickHouse under Apache-2.0. Both templates are community templates and are not affiliated with the upstream projects. If you plan to modify or resell the software, read the licences or ask a lawyer.