Skip to content

@astrojs/web-vitals

Introduction

This Astro integration enables tracking real-world website performance and storing the data in Astro DB. That data will be used in the StudioCMS dashboard to show the performance metrics of your website from the real world over time.

Installation

  1. Install the package and add to your astro config using the following command:

    Terminal window
    npx astro add @astrojs/web-vitals
  2. Push the new configuration to your remote database:

    Terminal window
    npx astro db push
Web Vitals Page Route Analytics (Dark Mode) Web Vitals Page Route Analytics (Light Mode) Web Vitals Core Web Vitals (Dark Mode) Web Vitals Core Web Vitals (Light Mode) Web Vitals Core Vitals By Route (Dark Mode) Web Vitals Core Vitals By Route (Light Mode) Web Vitals Page Speed (Dark Mode) Web Vitals Page Speed (Light Mode)
Web Vitals Page Route Analytics (Dark Mode) thumbnail Web Vitals Page Route Analytics (Light Mode) thumbnailWeb Vitals Core Web Vitals (Dark Mode) thumbnailWeb Vitals Core Web Vitals (Light Mode) thumbnailWeb Vitals Core Vitals By Route (Dark Mode) thumbnailWeb Vitals Core Vitals By Route (Light Mode) thumbnailWeb Vitals Page Speed (Dark Mode) thumbnailWeb Vitals Page Speed (Light Mode) thumbnail