How to monitor Core Web Vitals for a whole site every week (real-user data + history)
Disclosure: we (Meltemi Labs) built the tool used in this tutorial. It is free during its public trial, until 25 December 2026. This post was drafted by an AI assistant and reviewed and edited by us; every number in it c
Disclosure: we (Meltemi Labs) built the tool used in this tutorial. It is free during its public trial, until 25 December 2026. This post was drafted by an AI assistant and reviewed and edited by us; every number in it comes from real runs.
PageSpeed Insights is great for checking one page once. It's less helpful when you need to know whether a site is getting slower week by week, or whether real visitors are having a worse experience than last month.
In this tutorial we'll set up a weekly Core Web Vitals check for a whole site, using:
- Google's free PageSpeed Insights API (Lighthouse lab data),
- Google's free Chrome UX Report (CrUX) API (what real Chrome users experienced, with up to 40 weekly data points of history),
- the PageSpeed & Core Web Vitals Monitor Actor on Apify, which runs the checks, keeps the history and flags regressions.
Lab data vs field data in 30 seconds
| Lab (Lighthouse) | Field (CrUX) | |
|---|---|---|
| Where it comes from | One simulated page load on Google's servers | Real Chrome users, 28-day rolling window |
| Good for | Finding why a page is slow | Knowing what users actually experience |
| Noise | High | Low, but a page needs enough traffic |
| Used in Google's Core Web Vitals assessment | No | Yes (LCP, INP and CLS at the 75th percentile) |
That noise is real. In our own tests over two days, the Lighthouse performance score of one unchanged page ranged from 30 to 79. That's why this tool alerts on real-user data by default, and Lighthouse alerts are an opt-in, experimental option.
Step 1: Get a free Google API key
- In Google Cloud Console, create a project. You don't need to enable billing or start a free trial.
- Enable PageSpeed Insights API and Chrome UX Report API.
- Create an API key and restrict it to those two APIs.
The key uses your own Google project's quota. The limits depend on the project and can change: check them under APIs & Services → Quotas (for our project they were 30 PageSpeed checks per minute and 25,000 per day).
Step 2: Run a first check on one or two of your pages
Open the Actor page, click Try for free (you need a free Apify account), paste the key and enter your own pages, for example:
{
"urls": [
{ "url": "https://www.your-site.com/" },
{ "url": "https://www.your-site.com/blog/" }
],
"devices": ["mobile"],
"historyWeeks": 25
}
Two pages take about a minute. You get a dataset (one row per URL and device), a per-domain REPORT.md and a spreadsheet-safe RESULTS.csv.
Step 3: Read the result (a real example)
Here is what a check of a public government website, https://www.gov.gr/ (mobile), returned in late November 2026:
-
The URL redirects to
https://www.gov.gr/el. The tool measures the final address, so the real-user data belongs to the page people actually land on. CrUX doesn't follow redirects: querying the original URL only returned whole-site data. - Real users (75th percentile): LCP 2.94 s (needs improvement), INP 111 ms (good), CLS 0.03 (good). Core Web Vitals assessment: failed, because of LCP.
- History: between early August and late November 2026 (17 weekly data points over 16 weeks), real-user LCP went from 2.05 s to 2.94 s, which is 43% worse. A single PageSpeed check would not show this trend.
- Top Lighthouse suggestion: "Avoid multiple page redirects", worth about 1 second.
That's the kind of finding a weekly check is for: a slow, steady change that is easy to miss when you only look at single tests.
Step 4: Repeat it every week
- Add a Monitor name, for example
client-acme. Each run is compared with earlier runs of the same name. - Add the site's sitemap and set Max URLs (for example 100). The tool picks pages across page types (
/blog/,/product/, and so on) and checks the same pages on every run, so comparisons stay meaningful. - Start it once a week, manually or with an Apify Schedule.
From the second run on, the results and the report mark a regression when a Core Web Vital drops to a worse rating, or worsens by at least 15%, in both cases only above a minimum change (so CLS 0.01 → 0.02 is not reported as news). This logic is covered by automated tests. We haven't seen it fire on a real site yet, because real-user data changes slowly.
What it costs
- The Actor itself is free during the trial (until 25 December 2026). Runs use normal Apify platform usage: in our tests about $0.01 per 100 checks, so the monthly credit of Apify's free plan covers small sites.
- Both Google APIs are free.
Limits worth knowing
- Pages with little traffic have no CrUX data of their own. The tool then uses whole-site data and labels it as such.
- Lighthouse scores are noisy. Use them to diagnose, not to alert.
- Sending alerts to a webhook is not available during the trial.
Try it
PageSpeed & Core Web Vitals Monitor on Apify
Questions, bugs or ideas: use the Issues tab of the Actor. We'd especially like to hear what would make this useful for your weekly reporting.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.