Skip to content

@astrojs/web-vitals

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.

  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