Next.js Discord

Discord Forum

Vercel - Analytics and SpeedInsights

Unanswered
Schneider’s Smooth-fronted Caima… posted this in #help-forum
Open in Discord
Schneider’s Smooth-fronted CaimanOP
Reddit having issue today so I will post in here:

Any performance impact by having this on /app/layout.tsx in Nextjs? Just wondering if we should only enable SpeedInsights for dev, but disable it for production?
Also, would you recommend using Google Analytics on top of this? Cloudflare also offers analytics, but there is no need to install anything to use theirs
import { Analytics } from "@vercel/analytics/react" import { SpeedInsights } from "@vercel/speed-insights/next"

0 Replies