Glossary

Real user monitoring (RUM)

What is real user monitoring (RUM)?

Real user monitoring (RUM) measures how a website performs for the people who visit it, in their own browsers, on their own devices and networks. web.dev calls the result field data and treats the two terms as interchangeable. The opposite is lab data: a page loaded in a controlled environment with a set device and network, as in synthetic monitoring.

How it works

A script on every page records metrics such as the Core Web Vitals for each visit and sends them to a collector. web.dev names the web-vitals JavaScript library as the easiest way to collect them. Because every visit reports, you get a distribution rather than one number.

Google also publishes field data of its own. The Chrome User Experience Report (CrUX) shows a distribution of metrics from real Chrome users over a 28-day period, and Chrome tools that report field data, such as PageSpeed Insights, generally take it from there.

Why it matters

A lab test uses a single device, network and location. Your visitors do not, so lab and field numbers for the same page can differ a lot, for reasons that include the back/forward cache and other caches, personalised content, and a Largest Contentful Paint element that changes with the device.

Some things only real visits can show. Interaction to Next Paint depends on when and how people interact: some lab tools measure it for scripted interactions, not for the ones people make. Cumulative Layout Shift in the field includes shifts that happen as people scroll and use the page, which a page load in a lab never reaches.

What can go wrong

  • A page scores well in a Lighthouse run while visitors on slower phones and connections wait much longer, because the lab run reflects one device and one network.
  • CrUX-based tools report with a granularity of about a month, so a regression you shipped yesterday is a small part of the figure and takes up to four weeks to show in full.
  • CrUX only holds data from Chrome users, so visitors in other browsers are not in it.
  • Content personalised for each visitor shifts the layout in ways a lab test, which loads a generic page, does not see, so the field CLS can be worse.

Check it

PageSpeed Insights shows the CrUX field data for a page or a whole origin over the past 28 days. For numbers per visit from your own site, add the web-vitals library and send what it reports to a collector you own. Ranetrace does not measure performance in visitors' browsers; its error monitoring captures JavaScript errors from them, which is a different signal.

Start monitoring today

Websites go down and code throws errors. Ranetrace tells you when it happens to yours, why it matters and what to do next.

Start your 30-day free trial From $9 a month. No credit card required.