Privacy-friendly, real-time traffic insights
515
stars
82
commits
TypeScript
primary language
Aug 26, 2026
updated

@vercel/analytics allows you to track page views and custom events in your Next.js app or any other website that is deployed to Vercel.
All page views are automatically tracked in your app.
This package does not track data in development mode.
Enable Vercel Web Analytics for a project in the Vercel Dashboard.
Add the @vercel/analytics package to your project
Inject the Analytics script to your app
<Analytics /> component to inject the script into your app.inject function.Deploy your app to Vercel and see data flowing in.
Find more details about this package in our documentation.
TypeScript
80.9%
Vue
7.2%
CSS
6.5%
Astro
2.6%
JavaScript
1.9%
Privacy-friendly, real-time traffic insights
515
stars
82
commits
TypeScript
primary language
Aug 26, 2026
updated

@vercel/analytics allows you to track page views and custom events in your Next.js app or any other website that is deployed to Vercel.
All page views are automatically tracked in your app.
This package does not track data in development mode.
Enable Vercel Web Analytics for a project in the Vercel Dashboard.
Add the @vercel/analytics package to your project
Inject the Analytics script to your app
<Analytics /> component to inject the script into your app.inject function.Deploy your app to Vercel and see data flowing in.
Find more details about this package in our documentation.
TypeScript
80.9%
Vue
7.2%
CSS
6.5%
Astro
2.6%
JavaScript
1.9%