Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vercel/gatsby-plugin-vercel
Track Core Web Vitals in Gatsby projects with Vercel Analytics.
https://github.com/vercel/gatsby-plugin-vercel
Last synced: 3 months ago
JSON representation
Track Core Web Vitals in Gatsby projects with Vercel Analytics.
- Host: GitHub
- URL: https://github.com/vercel/gatsby-plugin-vercel
- Owner: vercel
- License: mit
- Archived: true
- Created: 2020-10-30T22:03:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-19T17:24:13.000Z (almost 2 years ago)
- Last Synced: 2024-09-23T02:32:09.922Z (3 months ago)
- Language: JavaScript
- Size: 193 KB
- Stars: 21
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-plugin-vercel
> **Note:** This plugin has been deprecated and replaced by [`@vercel/gatsby-plugin-vercel-analytics`](https://www.npmjs.com/package/@vercel/gatsby-plugin-vercel-analytics).
This plugin sends [Core Web Vitals](https://web.dev/vitals/) to Vercel Analytics. This plugin is configured by default on Vercel. You **do not** need to install it manually. For more information, [read this post](https://vercel.com/blog/gatsby-analytics).
## Install
```bash
npm i gatsby-plugin-vercel
```or
```bash
yarn add gatsby-plugin-vercel
```## Usage
```js
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: "gatsby-plugin-vercel",
options: {
// (optional) Prints metrics in the console when true
debug: false,
},
},
],
};
```## Inspiration
- [gatsby-plugin-web-vitals](https://github.com/bejamas/gatsby-plugin-web-vitals)