Next.js
Analytics
Vercel

Analytics with Vercel

To use Vercel with supastarter, you need to have your application deployed on Vercel (opens in a new tab).

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

pnpm add --filter web @vercel/analytics

Then we need to activate Vercel 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/vercel';

To customize the Vercel configuration, edit the apps/web/modules/analytics/provider/vercel/index.tsx.

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

For further instructions, follow the general analytics instructions.