包详细信息

@vercel/gatsby-plugin-vercel-analytics

vercel3mApache-2.01.0.11

Track Core Web Vitals in Gatsby projects with Vercel Speed Insights.

gatsby, gatsby-plugin, gatsby-plugin-vercel, web vitals

自述文件

@vercel/gatsby-plugin-vercel-analytics


⚠️ This repo was migrated from https://github.com/vercel/gatsby-plugin-vercel


This plugin sends Core Web Vitals to Vercel Speed Insights. 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 @vercel/gatsby-plugin-vercel-analytics

Usage

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "@vercel/gatsby-plugin-vercel-analytics",
      options: {
        // (optional) Prints metrics in the console when true
        debug: false,
      },
    },
  ],
};

Inspiration