See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
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
      }
    }
  ]
};
© 2022 Gatsby, Inc.