JSPM

  • Created
  • Published
  • Downloads 1050864
  • Score
    100M100P100Q202529F
  • License MPL-2.0

Speed Insights is a tool for measuring web performance and providing suggestions for improvement.

Package Exports

  • @vercel/speed-insights
  • @vercel/speed-insights/next
  • @vercel/speed-insights/package.json
  • @vercel/speed-insights/remix
  • @vercel/speed-insights/sveltekit

Readme

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.

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 the Analytics script to your app

    • If you are using Next.js or React, you can use the <SpeedInsights /> component to inject the script into your app.
    • 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.