Vercel Analytics no data

I want to analyse my website traffic but Analytics tab shows no data.

I followed the simple steps to enable it, but no data at all. In particular these are the steps I tried:

  1. enabled Vercel Analytics
  2. installed “@vercel/analytics/next” pkg
  3. imported in the Nextjs _app.tsx page (still using Vercel 12.x on this project) the component
  4. deployed a new instance

After these changes, I can correctly see the /_vercel/insights/script.js page. In the browser dev console I got no errors, blocked requests nor related warnings. I disabled the ad-blocker as well.

I tried also to disable Analytics, re-enable it and re-deploy but I got the same behaviour.

What’s can be the problem?

Hey there,

It seems like you have to use the @vercel/analytics/react instead of @vercel/analytics/next due to your Next version.

Would you mind trying that?

1 Like

Thank you so much! I was getting crazy about it, now it works as expected

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.