{"id":13630102,"url":"https://github.com/bejamas/gatsby-plugin-web-vitals","last_synced_at":"2025-04-30T18:40:35.133Z","repository":{"id":46154761,"uuid":"263283375","full_name":"bejamas/gatsby-plugin-web-vitals","owner":"bejamas","description":"Gatsby plugin that sends Web Vitals metrics to Google Analytics.","archived":false,"fork":false,"pushed_at":"2021-11-10T18:21:11.000Z","size":78,"stargazers_count":26,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-08T21:38:25.363Z","etag":null,"topics":["gatsby-plugin","performance-metrics","web-vitals"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bejamas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-12T08:51:38.000Z","updated_at":"2023-06-22T20:19:17.000Z","dependencies_parsed_at":"2022-09-01T06:12:06.478Z","dependency_job_id":null,"html_url":"https://github.com/bejamas/gatsby-plugin-web-vitals","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fgatsby-plugin-web-vitals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fgatsby-plugin-web-vitals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fgatsby-plugin-web-vitals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bejamas%2Fgatsby-plugin-web-vitals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bejamas","download_url":"https://codeload.github.com/bejamas/gatsby-plugin-web-vitals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225040556,"owners_count":17411510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gatsby-plugin","performance-metrics","web-vitals"],"created_at":"2024-08-01T22:01:30.307Z","updated_at":"2024-11-17T13:17:48.974Z","avatar_url":"https://github.com/bejamas.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# gatsby-plugin-web-vitals\n\n\u003e [Web Vitals](https://web.dev/vitals/) is an initiative by Google to provide unified guidance for quality signals that are essential to delivering a great user experience on the web.\n\nThis plugin sends Web Vitals metrics to Google Analytics.\n\n## Install\n\n`npm i gatsby-plugin-web-vitals`\n\nor\n\n`yarn add gatsby-plugin-web-vitals`\n\n## Usage\n\n```js\n// gatsby-config.js\n{\n  resolve: 'gatsby-plugin-web-vitals',\n  options: {\n    // The Google Analytics property ID; the reporting code won't be generated without it\n    trackingId: 'YOUR_GOOGLE_ANALYTICS_TRACKING_ID',\n    // An array with metrics you want to track and send to analytics\n    metrics: [`FID`, `TTFB`, `LCP`, `CLS`, `FCP`],\n    // Event Category (optional) { string }, default 'Web Vitals'\n    eventCategory: 'Performance',\n    // Include Web Vitals tracking in development\n    // Defaults to false meaning Vitals will only be tracked in production.\n    includeInDevelopment: false,\n    // Prints metrics in the console when true\n    debug: false,\n  }\n}\n```\n\n---\n\nPlugin based on [`nuxt-vitals`](https://github.com/daliborgogic/nuxt-vitals).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbejamas%2Fgatsby-plugin-web-vitals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbejamas%2Fgatsby-plugin-web-vitals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbejamas%2Fgatsby-plugin-web-vitals/lists"}