Documentation
Nuxt 3
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.ts and change this line:

const providerPath = './provider/vercel';

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

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

For further instructions, follow the general analytics instructions.