@vercel/speed-insights

Speed Insights is a tool for measuring web performance and providing suggestions for improvement.
62,046,195 117
Install
npm install @vercel/speed-insights
Latest Version:2.0.0
Vue:3
License:Apache-2.0
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: matheuss

Speed Insights

Vercel Speed Insights
Performance insights for your website

Overview

@vercel/speed-insights automatically tracks web vitals and other performance metrics for your website.

This package does not track data in development mode.

It has 1st class integration with:

Framework Package
Next.js @vercel/speed-insights/next
Nuxt @vercel/speed-insights/nuxt
SvelteKit @vercel/speed-insights/sveltekit
Remix @vercel/speed-insights/remix
React @vercel/speed-insights/react
Astro @vercel/speed-insights/astro
Vue @vercel/speed-insights/vue

It also supports other frameworks, vanilla JS and static websites.

Quickstart

  1. Enable Vercel Speed Insights for a project in the Vercel Dashboard.

  2. Add the @vercel/speed-insights package to your project

  3. Inject Speed Insights to your app

    • If you are using Next.js, React, Nuxt or Vue you can use the framework-specific <SpeedInsights /> component to inject the script into your app.
    • If you are using SvelteKit, you can use the injectSpeedInsights() function @vercel/speed-insights/sveltekit in your top-level +layout.js/ts file.
    • For other frameworks, you can use the inject function add the tracking script to your app.
    • If you want to use Vercel Speed Insights on a static site without npm, follow the instructions in the documentation.
  4. Deploy your app to Vercel and see data flowing in.

Documentation

Find more details about this package in our documentation.

Related Packages

mcp-handler

Framework-agnostic HTTP adapter for Model Context Protocol servers

20,509,130 687
nitro-test-utils

Testing toolkit for Nitro full-stack servers

211,117 112
nuxt-vercel-analytics

Nuxt module to integrate Vercel Analytics

12,952 22
twikoo-govin

A simple comment system.

698 1
@nuxthub/core

Build full-stack Nuxt applications, with zero configuration.

754,140 1,298

Version History

Version Released Vue License
2.0.0 ^3 Apache-2.0
1.3.1 ^3 Apache-2.0
1.3.0 ^3 Apache-2.0
1.2.0 ^3 Apache-2.0
1.1.0 ^3 Apache-2.0
Pre-releases (16)
Version Released Vue License
2.1.0-canary ^3 Apache-2.0
2.0.1-canary ^3 Apache-2.0
2.0.0-canary.1 ^3 Apache-2.0
1.2.0-canary.4 ^3 Apache-2.0
1.2.0-canary.3 ^3 Apache-2.0