Core Web Vitals are a set of speed metrics that are part of Google’s Page Experience signals used to measure user experience. We retrieve them using Google’s PageSpeed Insights API externally and internally.
- Get a free API key from Google
- Enter the received code as the env var
PAGESPEED_API_KEYor through the settings panel.
After you sign on go to the top-right menu and go to the settings tab.
You can then insert your code in the text input.