Real user monitoring (RUM) is a web performance technique that collects timing and experience data from the browsers of actual visitors while they use a site, then aggregates it to show how fast and stable pages are under real conditions. Because each sample comes from a genuine device, network and location, RUM produces field data, as opposed to the lab data generated by scripted tests.
In web performance practice, RUM answers questions that no test machine can: how the 75th percentile of mobile users experiences a checkout page, whether a release slowed down visitors in one country, or which device class suffers the worst interaction delays.
How real user monitoring collects data
Real user monitoring works by running a small JavaScript beacon on every page. The script reads browser performance interfaces, waits until the page has produced its key metrics, and sends a compact payload to a collection endpoint, usually with navigator.sendBeacon or fetch with keepalive so the data survives page unload.
The raw signals come from standardized browser APIs defined by the W3C Web Performance Working Group. The Navigation Timing and Resource Timing interfaces describe network phases, while PerformanceObserver exposes paint, layout shift and event timing entries. The backend then enriches each sample with device, browser, country and connection type and stores it for aggregation.
| Browser API | What it measures | Derived metrics |
|---|---|---|
| Navigation Timing | DNS, connection, request and response phases | TTFB, DOM content loaded |
| Resource Timing | Timing of each image, script and stylesheet | Slow third-party resources |
| Paint Timing | First paint and first contentful paint | FCP |
| Largest Contentful Paint API | Render time of the largest visible element | LCP |
| Layout Instability API | Unexpected element shifts | CLS |
| Event Timing API | Delay from input to next paint | INP |
| Long Tasks API | Main-thread tasks longer than 50 ms | Script blocking hot spots |
Metrics and percentiles in RUM reporting
RUM reports distributions, not single numbers, because field performance varies widely between a new flagship phone on fiber and an older device on a congested mobile network. The industry convention, adopted by Core Web Vitals, is to judge a page by its 75th percentile (p75), which covers most visitors without letting a few extreme sessions dominate.
| Metric | Good | Needs improvement | Poor |
|---|---|---|---|
| LCP | 2.5 s or less | 2.5 to 4.0 s | Over 4.0 s |
| INP | 200 ms or less | 200 to 500 ms | Over 500 ms |
| CLS | 0.1 or less | 0.1 to 0.25 | Over 0.25 |
Mature teams also watch p95 or p99 to detect long-tail problems and segment results by page template, device class and geography. An average hides these patterns, so means are rarely meaningful for latency data, which is typically right-skewed.
Real user monitoring compared with synthetic monitoring
RUM and synthetic monitoring are complementary rather than competing. Synthetic tools load pages from controlled machines on a schedule, which gives repeatable, comparable results and works before any user arrives. RUM reflects reality but needs traffic and cannot isolate a single variable as cleanly.
| Aspect | Real user monitoring | Synthetic monitoring |
|---|---|---|
| Data source | Actual visitor sessions | Scripted test agents |
| Conditions | Every real device and network | Fixed, chosen profiles |
| Needs traffic | Yes, results scale with visits | No, runs on a schedule |
| Interaction metrics | Measures real INP | Approximates with Total Blocking Time |
| Diagnostic detail | Broad but shallow per session | Deep traces, waterfalls, filmstrips |
| Best use | Measuring true user impact | Regression testing and alerting |
A practical workflow uses RUM to find the problem and synthetic tests or browser profiling to diagnose and verify the fix. Lab tools also serve in CI pipelines, where a performance budget can block a slow build before it reaches users.
Implementing RUM in practice
Teams implement RUM either with a commercial or open-source service or with a self-built beacon based on a library such as the web-vitals package. The choice depends on required segmentation, data retention and how much engineering time is available for dashboards and storage.
- Load the beacon asynchronously and late, so the measurement itself does not become a render-blocking resource.
- Report metrics on
visibilitychange, because LCP, CLS and INP can only be final when the page is hidden or closed. - Attach attribution data, such as the LCP element selector or the slow interaction target, to make findings actionable.
- Tag each sample with the release version to correlate regressions with deployments.
- Apply sampling on high-traffic sites, often 1 to 10 percent of sessions, to control cost while keeping statistical power.
Single-page applications need extra care. Soft navigations do not trigger a new page load, so the script must mark route changes explicitly, or the metrics will describe only the first view of a long session.
Limitations, privacy and common pitfalls
RUM data is only as good as its coverage. Visitors who leave before the beacon fires, browsers that lack certain APIs and users with content blockers are underrepresented, which can make performance look better than it really is. Some metrics, including LCP and INP, are not exposed by every browser engine, so cross-browser comparisons need caution.
Because RUM collects data from people, it falls under privacy law such as the GDPR. Responsible setups avoid personal data in URLs, truncate IP addresses, respect consent choices where required and keep retention periods short.
| Pitfall | Consequence | Remedy |
|---|---|---|
| Reporting averages | Slow users hidden in the mean | Report p75 and p95 |
| No segmentation | Mobile issues diluted by desktop traffic | Split by device, country, template |
| Ignoring SPA routes | Only the first view is measured | Instrument soft navigations |
| Low traffic pages | Noisy, unstable percentiles | Aggregate over longer windows |
| Personal data in payloads | Privacy and compliance risk | Strip query strings and identifiers |
The short version
Real user monitoring means measuring a website’s speed on the devices of the people who actually use it. A tiny script quietly notes how long each page took to appear and respond, then reports those numbers back.
It is like asking every customer how long they waited in line, instead of timing the line once yourself on a quiet morning. The answers show the real experience, including the slow days and the crowded hours.
Where it makes a difference
An online furniture retailer sees conversion rates fall on mobile, yet its lab tests on a fast office connection show an LCP of 1.8 seconds, comfortably within the good range. The team adds a RUM beacon based on the web-vitals library and samples 10 percent of sessions.
After two weeks, the field data tells a different story. Product pages reach a p75 LCP of 4.6 seconds on mid-range Android phones, and the attribution data points to an oversized hero image loaded through a slow third-party carousel script.
The developers preload a correctly sized image and defer the carousel. Within a release cycle, mobile p75 LCP drops to 2.3 seconds, and the product pages pass the Core Web Vitals assessment for most visitors.