Documentation
Nuxt 3
Analytics
Umami

Analytics with Umami

To use Umami with supastarter, first create a Umami account (opens in a new tab) and get your tracking id.

Then, add the tracking id to your .env.local file and your deployment environment:

NUXT_PUBLIC_UMAMI_TRACKING_ID=your_id_here

Next, we need to activate Umami as the analytics provider. To do this, open apps/web/modules/analytics/index.ts and change this line:

const providerPath = './provider/umami';

To customize the Umami configuration, edit the apps/web/modules/analytics/provider/umami/index.ts.

Learn more about analytics with Umami in the official documentation (opens in a new tab).

For further instructions, follow the general analytics instructions.