#Vercel Speed Insights not working
1 messages · Page 1 of 1 (latest)
There are a few common reasons why Vercel Speed Insights may show a score but still report that they don't have data, even when Vercel Analytics is working and the Speed Insights component is present in your code:
-
Speed Insights Data Collection Timing
Speed Insights only sends data on certain browser events, specifically when the window is blurred or unloaded (e.g., when navigating away from the page or switching tabs). If you are checking for data immediately after loading the page, it may not have been sent yet. Try navigating between pages or switching tabs, then check the dashboard again to see if data appears Speed Insights Troubleshooting. -
Adblockers or Browser Extensions
Adblockers or privacy-focused browser extensions can block the Speed Insights script or its outgoing requests, preventing data from being sent. Try disabling these extensions and reloading your site Speed Insights Troubleshooting. -
Speed Insights Not Fully Enabled
Ensure that Speed Insights is enabled for your project in the Vercel dashboard. If it is enabled but no data points have been collected, the dashboard will indicate this with an empty circle. Only after data is collected will the circle be filled and show a number Identifying if Speed Insights is enabled.
-
Deployment Issues
If you enabled Speed Insights after deploying your app, you may need to redeploy for the tracking routes and scripts to be correctly injected. Make sure you have redeployed after enabling Speed Insights Speed Insights Quickstart. -
Proxy or Custom Domain Configuration
If you are using a reverse proxy or custom domain setup, ensure that all requests to/_vercel/speed-insights/*are correctly forwarded to your Vercel deployment. Otherwise, the script or data requests may not reach Vercel Speed Insights Troubleshooting. -
Correct Package Installation
Make sure that@vercel/speed-insightsis listed as a dependency in yourpackage.json. If it is only installed globally or not referenced, Speed Insights may not function properly Globally installed @vercel/speed-insights.
Next Steps:
- Double-check that Speed Insights is enabled in your Vercel dashboard and that you have redeployed after enabling it.
- Disable adblockers and test again.
- Navigate between pages or switch tabs to trigger data sending.
- Ensure the
@vercel/speed-insightspackage is in yourpackage.json. - If using a proxy, forward all
/_vercel/speed-insights/*requests to Vercel.
If you have done all of the above and still see no data, it may take some time (a few days of real user visits) before data appears in the dashboard Speed Insights Quickstart.