Documentation

Vemetric

Learn how to use Vemetric Analytics with supastarter.

To use Vemetric with supastarter, you need to have your application deployed on Vemetric.

To activate the Vemetric Analytics feature, we need to install the package first:

pnpm add --filter web @vemetric/react

Then we need to activate Vemetric as the analytics provider in your supastarter app. To do this, open apps/web/modules/analytics/index.tsx and change the content to:

export * from "./provider/vemetric";

Lastly, get the public token from the Vemetric settings page and add it to your environment variables.

NEXT_PUBLIC_VEMETRIC_TOKEN=your-public-token

To customize the Vemetric configuration, edit the apps/web/modules/analytics/provider/vemetric/index.tsx.

Learn more about analytics with Vemetric in the official documentation.

For further instructions, follow the general analytics instructions.

On this page

No Headings