Next.js Discord

Discord Forum

Vercel Analytics for NextJS doesn't record each route change

Unanswered
meenie posted this in #help-forum
Open in Discord
I've enabled Vercel Analytics for my NextJS 14 app (using the app folder) and it sends the page view request on the first time the page is loaded, but not on subsequent route changes. I would assume that since I'm using Vercel software all the way down that importing and adding the <Analytics /> component to my top layout that it would hook into route changes.

0 Replies