How I self-hosted an analytics platform for my website for free with Umami and Railway

Umami, a self-hosted analytics platform


Google trackers detected on Safari

Start an Umami Project on Railway


Add a website

Next JS app

import Head from ‘next/head’;function MyApp({ Component, pageProps }) {
return (
{process.env.NODE_ENV === ‘production’ &&
<script async defer data-website-id=”4fb7fa4c-5b46–438d-94b3–3a8fb9bc2e8b” src=”"></script>
<Component {…pageProps} />
export default MyApp

No Social Media trackers!

Language Enthusiast. Programmer.