supastarter for Nuxtsupastarter for NuxtAnalytics
Plausible
To use Plausible with supastarter, first create a Plausible account and get your Plausible app url.
Then, add the app code to your .env.local file and your deployment environment:
NUXT_PUBLIC_PLAUSIBLE_URL=your_url_hereNext, we need to activate Plausible as the analytics provider. To do this, open the apps/marketing/modules/analytics/index.ts file and set the provider path to "./provider/plausible".
To customize the Plausible configuration, edit the apps/marketing/modules/analytics/provider/plausible/index.ts.
Learn more about analytics with Plausible in the official documentation.
For further instructions, follow the general analytics instructions.