gatsby-plugin-vercel

Track Core Web Vitals in Gatsby projects with Vercel Analytics.

Usage no npm install needed!

<script type="module">
  import gatsbyPluginVercel from 'https://cdn.skypack.dev/gatsby-plugin-vercel';
</script>

README

gatsby-plugin-vercel

This plugin sends Core Web Vitals to Vercel Analytics.

Install

npm i gatsby-plugin-vercel

or

yarn add gatsby-plugin-vercel

Usage

// gatsby-config.js
{
  resolve: 'gatsby-plugin-vercel',
  options: {
    // (optional) Prints metrics in the console when true
    debug: false,
  }
}

Inspiration