Umami is a simple, easy-to-use, self-hosted web analytics tool that provides valuable insights into user behavior on your website. By integrating Umami with, you can track page views, user interactions, and other events to optimize your application and improve user experience.

Enabling Umami

In apps/web/modules/analytics/index.tsx, you can enable Umami by changing the export statement to the following:

export { AnalyticsScript, useAnalytics } from './umami'

Set Required Environment Variables

To enable Umami in your application, you need to set the following environment variables in your .env.local file:


Replace UMAMI_ID with your Umami website ID.

If you are self-hosting Umami, you will also need to set the following environment variable:

Replace with the URL of your Umami instance.

Google Analytics