Note: This plugin has been deprecated and replaced by
@vercel/gatsby-plugin-vercel-analytics
.
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.
npm i gatsby-plugin-vercel
or
yarn add gatsby-plugin-vercel
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: "gatsby-plugin-vercel",
options: {
// (optional) Prints metrics in the console when true
debug: false,
},
},
],
};