Documentation
Nuxt 3
Analytics
Plausible

Analytics with Plausible

To use Mixpanel with supastarter, first create a Plausible account (opens in a new tab) and get plausible app url.

Then, add the app code to your .env.local file and your deployment environment:

NUXT_PUBLIC_PLAUSIBLE_URL=your_url_here

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

const providerPath = './provider/plausible';

To customize the Plausible configuration, edit the apps/web/modules/analytics/provider/plausible/index.ts.

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

For further instructions, follow the general analytics instructions.