Documentation
Analytics

Pirsch

To use Mixpanel with supastarter, first create a Pirsch account and get your app code.

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

PUBLIC_PIRSCH_CODE=your_code_here

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

export * from "./provider/pirsch";

To customize the Pirsch configuration, edit the apps/web/src/lib/modules/analytics/provider/pirsch/index.ts.

Learn more about analytics with Pirsch in the official documentation.

For further instructions, follow the general analytics instructions.

On this page

No Headings