Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-vercel

This plugin sends Core Web Vitals to Vercel Analytics. This plugin is configured by default on Vercel. You do not need to install it manually. For more information, read this post.

Install

npm i gatsby-plugin-vercel

or

yarn add gatsby-plugin-vercel

Usage

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-plugin-vercel",
      options: {
        // (optional) Prints metrics in the console when true
        debug: false,
      },
    },
  ],
};

Inspiration

© 2023 Gatsby, Inc.