Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

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
      }
    }
  ]
};
© 2023 Gatsby, Inc.