supastarter for Nuxtsupastarter for NuxtAnalytics
Umami
To use Umami with supastarter, first create a Umami account 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_hereNext, we need to activate Umami as the analytics provider. To do this, open the apps/marketing/modules/analytics/index.ts file and set the provider path to "./provider/umami".
To customize the Umami configuration, edit the apps/marketing/modules/analytics/provider/umami/index.ts.
Learn more about analytics with Umami in the official documentation.
For further instructions, follow the general analytics instructions.