gatsby-plugin-vercel
gatsby-plugin-vercel copied to clipboard
Track Core Web Vitals in Gatsby projects with Vercel Analytics.
gatsby-plugin-vercel
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.
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,
},
},
],
};