Railway

Deploy swetrix

Open source, privacy-first web analytics

Deploy swetrix

Just deployed

/data

Just deployed

Just deployed

Just deployed

Just deployed

Deploy and Host swetrix on Railway

Swetrix is an open-source, privacy-first web analytics platform — a cookieless Google Analytics alternative with built-in error tracking, performance monitoring, funnels, and custom events. Community Edition is self-hostable so you keep full ownership of your traffic data.

About Hosting swetrix

This template deploys Swetrix Community Edition as five services: a public nginx gateway, the web UI, the analytics API, Redis for caching, and ClickHouse for analytics storage. Only the gateway is exposed; UI and API share one origin via /backend/ routing (Swetrix v5). You get a working dashboard after deploy — register the first admin account, then further sign-ups stay blocked when registration is disabled. Optional SMTP unlocks password resets and invites; Google/OIDC integrations can be added later via env vars.

Common Use Cases

  • Self-host privacy-friendly analytics for marketing sites and product apps without cookies or consent banners
  • Replace Google Analytics with cookieless traffic, funnels, custom events, and real-user performance metrics you control
  • Run GDPR-oriented analytics on your own infrastructure with exportable data and no third-party tracking vendor

Dependencies for swetrix Hosting

  • Redis — session/caching layer for the API
  • ClickHouse — analytics and transactional store for events and dashboard queries

Deployment Dependencies

Why Deploy swetrix 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 and horizontally scale it.

By deploying swetrix on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Matomo Analytics + MariaDB
Privacy-friendly analytics with MariaDB and persistent volumes.

leodev
0
View Template
Bugsink
Self-hosted Error Tracking. Sentry-SDK compatible

zǝʇɹoɔ oɓıɹpoɹ
18
View Template
SubTrackr
Self-hosted Subscription Tracker

amnesia
3