rans>Skip to main content
Community Plugin
View plugin on GitHub
See starters using this

gatsby-plugin-performance-metrics

A Gatsby plugin to measure First (Contentful) Paint (FP/FCP) and First Input Delay (FID)

Install

npm install --save gatsby-plugin-performance-metrics

How to use

Edit gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: `gatsby-plugin-performance-metrics`,
      options: {
        //firstPaint: false,
        //firstContentfulPaint: true,
        //firstInputDelay: true,
        //useLogging: true,
        //useGoogleAnalytics: false
      }
    }
  ]
};
Docs
Tutorials
Plugins
Blog
Showcase