
@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.
@vercel/analytics package to your project<Analytics /> component to inject the script into your app.inject function.Find more details about this package in our documentation.