Analytics with Umami
To use Umami with nextstarter, 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:
NEXT_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.tsx
and change the content to:
export * from './provider/umami';
To customize the Umami configuration, edit the apps/web/modules/analytics/provider/umami/index.tsx
.
Learn more about analytics with Umami in the official documentation (opens in a new tab).
For further instructions, follow the general analytics instructions.