Privacy-friendly analytics on Railway: Plausible or Umami

By Tracklayer · Updated 2026-11-20

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 Railway

When 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:

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

TemplateCreatorDeploymentsServices
UmamiBrody's Projects4,2363
MetabaseBrody's Projects2,6422
Plausible AnalyticsTinybox Software9153
Langfuse v3Langfuse's Projects6886
ElasticsearchLasso Moderation2641
OmniRouteA3A2081
PostHog Product Analytics SuiteTracklayer1423
Plausible v3 Privacy-First AnalyticsTracklayer33

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
Email 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.

  1. Deploy the template. It creates plausible, clickhouse and Postgres, with pinned versions and generated secrets. The first start creates and migrates both databases, so allow a few minutes.
  2. Register straight away. When plausible is 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.
  3. Add your site and paste the tracking snippet into your pages.
  4. Attach a custom domain if you want one, then update BASE_URL, because the snippet and links use it.
  5. Set up email if you need invites or weekly reports. Use MAILER_ADAPTER with a provider API key and MAILER_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.

  1. 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.
  2. Copy the admin password. Open the Umami service, go to Variables and copy UMAMI_ADMIN_PASSWORD.
  3. Sign in as admin at the public domain. Umami’s seeded default password is replaced before the server starts, so umami does not work.
  4. Add a website under Settings, Websites, then paste the tracking code into the head of your site. It loads /script.js and sends page views to /api/send.
  5. Change your password in Umami if you like. Redeploys keep it. If you forget it, set a new UMAMI_ADMIN_PASSWORD and UMAMI_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

Other options

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.