Skip to content

VitalRix guide

What is real user monitoring (RUM)?

Real user monitoring measures how your website performs for the people actually using it, on their phones, laptops and networks. Learn what it captures, what good numbers look like and how to act on them.

15 min read18 sectionsUpdated

On this page

Key takeaways

  • RUM measures real visits. A small script in the page records load speed, responsiveness, layout stability and JavaScript errors for each visitor.
  • Core Web Vitals are the headline. Good at the 75th percentile means LCP under 2.5 s, INP under 200 ms and CLS under 0.1.
  • Averages mislead. Look at p75 for Web Vitals, and break results down by page, device and country.
  • RUM complements synthetic tests. Synthetic checks catch outages at 3 a.m.; RUM shows how the site feels on real devices.
  • Privacy is a design choice. Good RUM sets no cookies, ignores form values and groups page paths so IDs never leave the browser.

RUM in plain words

You test your website on a fast laptop, on office Wi-Fi, in a freshly opened browser. It loads in a second. Meanwhile a visitor on a mid-range Android phone, on a train, with twelve tabs open and a cold cache, waits six seconds and leaves.

Real user monitoring (RUM) closes that gap. A small script on your pages watches each real visit through the browser's own performance APIs, then reports the measurements to a dashboard. You stop guessing how the site feels and start seeing it, sliced by the page, the device, the browser and the country that produced each number.

It is sometimes called field data, as opposed to lab data from a scripted test. The two answer different questions, and the strongest setups use both. The lab tells you what could be fast; the field tells you what visitors actually got.

What RUM measures

  • Largest Contentful Paint (LCP)

    How long until the biggest visible element, usually a hero image or a heading block, has rendered. It is the closest single number to "when did the page feel loaded". Good is 2.5 seconds or less; over 4 seconds is poor.

  • Interaction to Next Paint (INP)

    How quickly the page responds when someone clicks, taps or types. INP looks at the slow interactions across the whole visit and reports one of the worst. Good is 200 ms or less; over 500 ms is poor. It replaced First Input Delay as a Core Web Vital.

  • Cumulative Layout Shift (CLS)

    How much visible content jumps around while the page loads: the button that moves just as you tap it. It is a unitless score. Good is 0.1 or less; over 0.25 is poor. Images without dimensions and late-loading banners are the usual causes.

  • FCP and TTFB

    First Contentful Paint is when anything first appears. Time to First Byte is how long the server took to start answering. TTFB is the floor under every other loading metric, so a slow server shows up here first.

  • Total blocking time

    How long the main thread was busy and unable to respond during loading. It explains many slow-INP problems: the page looked ready, but JavaScript was still running.

  • JavaScript errors

    Exceptions your visitors hit, with the page and browser. Errors are invisible to server monitoring, because from the server’s point of view the request succeeded.

What it looks like in practice

The overview below is from VitalRix real user monitoring: the three Web Vitals, page views and the split between mobile and desktop. The split matters more than it looks, because mobile numbers are almost always worse and often decide your search ranking.

Real user monitoring: LCP, INP and CLS from real visits, page views and the mobile versus desktop split.

How it works under the hood

The script and the browser APIs

A RUM script is a small piece of JavaScript loaded on every page. Browsers expose performance data through the PerformanceObserver API: entries for paint timing, largest contentful paint, layout shifts, long tasks and the event timing used for INP. The script subscribes to these, waits for the right moment, and collects the final values.

Each metric has its own "when is it done" rule. LCP can change until the first user input or until the page is hidden. CLS accumulates in windows while the page is open. INP is only known when the visitor leaves. So the script sends its report when the page is hidden or closed, using navigator.sendBeacon, which is built for exactly this: it delivers a small payload without blocking navigation.

Why the 75th percentile

Web Vitals are judged at p75: the value that 75% of visits are at or better than. It is a deliberate compromise. The median (p50) ignores the quarter of visitors having the worst time. p95 is dominated by outliers such as a phone in a tunnel. p75 captures a large, genuinely affected group while staying stable from day to day. A page "passes" a Web Vital when its p75 is in the good range.

Aggregating and slicing

The backend stores each visit with its dimensions: page, device type, browser, operating system, country, connection type and referrer. The dashboard turns those into percentiles and lets you filter. The question "is the site slow?" becomes "which page, on which device, since when?".

Sampling

Very busy sites can measure only a share of sessions. A good script samples per session, not per event, so a visit is measured completely or not at all. Otherwise the metrics of one visit would be scattered.

Real browsers have gaps

Not every browser reports every metric. Safari, for example, does not report LCP, and older Firefox versions report fewer measures. A RUM tool should show how many samples each number rests on, and you should expect fewer samples for those browsers.

Web Vitals thresholds at a glance

MetricMeasuresGoodNeeds improvementPoor
LCPLoading2.5 s or less2.5 to 4 sOver 4 s
INPResponsiveness200 ms or less200 to 500 msOver 500 ms
CLSVisual stability0.1 or less0.1 to 0.25Over 0.25
FCPFirst paint1.8 s or less1.8 to 3 sOver 3 s
TTFBServer response0.8 s or less0.8 to 1.8 sOver 1.8 s

The three Core Web Vitals (LCP, INP, CLS) are the ones Google uses in its page experience signals. FCP and TTFB are diagnostic: they help explain a bad LCP but are not ranking metrics themselves. Judge each at the 75th percentile, separately for mobile and desktop.

RUM versus synthetic monitoring

Comparison
FeatureReal user monitoringSynthetic monitoring
Where the traffic comes fromYour actual visitorsA scheduled checker
Works with zero visitorsNoYes, at any hour
Shows real devices and networksYesNo, one fixed environment
Catches an outage at 3 a.m.Only if someone is visitingYes
Measures Core Web VitalsYes, from the fieldIn a lab, as an estimate
Good for comparing releasesNoisy but realStable and repeatable
Tells you who was affectedYesNo

Treat them as two halves of one picture. A synthetic check says the checkout is broken right now. RUM says it has been slow for Android visitors in one country for a week. For the server side of the same story, see what is APM.

Session replay

Numbers say a page is slow or throwing errors. Session replay shows what the visitor saw and did: page changes, clicks, scrolling and typing, rebuilt from recorded events and played back like a video, next to that visit's page views and errors.

It is powerful for the bug you cannot reproduce, and sensitive by nature, so the details matter. In VitalRix, replay is off by default, records a share of sessions (10% by default) up to 5 minutes each, masks every form value in the browser and again on the server, lets you hide elements with data-rum-mask or exclude them with data-rum-block, and deletes recordings after 3 days.

Privacy by design

Good RUM measures experience without profiling people. What to look for:

  • No cookies and no stored IP address. Sessions are measured, visitors are not tracked across sites.
  • No form values. Typed text never leaves the browser.
  • Grouped paths. /orders/123 becomes /orders/:id, so identifiers do not leak into reports.
  • Do Not Track support as an option, for visitors who ask not to be measured.
  • Bots ignored, so crawlers do not distort percentiles.

Tell visitors about monitoring and session recording in your privacy notice, as your local law requires.

A worked example: the slow mobile homepage

The numbers are illustrative, but the pattern is typical.

The symptom. Search traffic to a retail site has slipped. The team opens real user monitoring for the last 28 days. Overall LCP at p75 is 2.9 s, which looks borderline. Filtering by device tells a different story: desktop p75 is 1.9 s, mobile p75 is 3.8 s, and mobile is 71% of page views.

Find the page. Sorting pages by views multiplied by badness, the homepage and the category pages dominate. On the homepage, mobile LCP is 4.1 s, INP is 240 ms and CLS is 0.18. Three metrics, three failures.

Diagnose each one.

  • LCP 4.1 s. The LCP element is a 1.6 MB hero image served at desktop size, loaded after a render-blocking script. TTFB is a healthy 450 ms, so the server is not the problem. The cost is the image.
  • CLS 0.18. A promotional banner is injected after load and pushes content down 120 px. Layout shift score is roughly impact fraction times distance fraction: if the banner affects 50% of the viewport and moves it by 12%, that single shift scores about 0.06, and a second late element makes up the rest.
  • INP 240 ms. Tapping "Add to cart" runs a synchronous script that recalculates the whole cart. On a mid-range phone the main thread is blocked for about 200 ms.

Fix and measure. The team serves a 180 KB responsive image with the right dimensions and preloads it, reserves space for the banner with fixed height, and moves the cart recalculation off the interaction path. After a week of data, mobile p75 reads LCP 2.3 s, INP 170 ms, CLS 0.06. All three are in the good range, and the lift appears first in RUM, not in a lab test.

Why RUM was essential. A desktop lab test on fast Wi-Fi had shown 1.2 s and green scores. Only field data exposed that most visitors were on phones and failing.

Common pitfalls

RUM and its neighbours

TopicWhat it adds to RUMRead
APMExplains slow server responses behind a high TTFB and LCP[What is APM](/guides/what-is-apm)
Synthetic monitoringCatches outages and gives a repeatable baseline when nobody is visiting[What is synthetic monitoring](/guides/what-is-synthetic-monitoring)
Uptime monitoringTells you the site is down; RUM tells you how it feels when it is up[What is uptime monitoring](/guides/what-is-uptime-monitoring)
Error trackingGroups JavaScript errors into issues you can assign and resolve[Error tracking](/product/error-tracking)

Getting started with VitalRix real user monitoring

  1. Create a site. Open Real users in the Monitor app and set up a site. You get a site key starting with rum_. It is safe to put in your pages: it can only send data, never read it.
  2. Restrict it to your hostnames. List the hostnames the script may report from, for example example.com, www.example.com. Data from other hosts is refused.
  3. Add one script tag to every page. Use the HTML snippet, the Next.js Script component or a Google Tag Manager Custom HTML tag. If you send a Content Security Policy, allow the VitalRix host in script-src and connect-src.
  4. Open your site and check. Your own visit appears under Real users within seconds.
  5. Wait a day, then split by device. Look at LCP, INP and CLS at p75 for mobile and desktop separately, then sort pages by views.
  6. Fix the worst page first. Use the diagnosis in the worked example: image weight and TTFB for LCP, injected content for CLS, long scripts for INP.
  7. Decide on sampling and replay. On a very busy site, set a sampling rate in the site settings. Turn on session replay only if you need it, with masking configured, and mention it in your privacy notice.
  8. Add the outside view. Create an uptime monitor for the same URLs so you know when the site is down, not only when it is slow.

Full steps and options are in the RUM docs and the session replay docs. Product overview: VitalRix real user monitoring. For a quick single-page check, try the free LCP test and INP test.

Glossary

  • Field data: measurements from real visits. The opposite of lab data from a scripted test.
  • Core Web Vitals: LCP, INP and CLS, the three user-experience metrics Google highlights.
  • LCP: Largest Contentful Paint, when the main content has rendered.
  • INP: Interaction to Next Paint, how quickly the page reacts to input.
  • CLS: Cumulative Layout Shift, how much content moves unexpectedly.
  • FCP: First Contentful Paint, when the first content appears.
  • TTFB: Time to First Byte, how long the server took to start responding.
  • p75: the value 75% of visits meet or beat; the standard way to judge Web Vitals.
  • PerformanceObserver: the browser API a RUM script uses to receive timing entries.
  • sendBeacon: a browser method that sends a small payload reliably as a page closes.
  • Session replay: a reconstruction of a visit from recorded events, with sensitive content masked.
  • Sampling: measuring only a share of sessions on very busy sites.

When you do not need RUM yet

  • Your site has very little traffic. With a few dozen visits a day, percentiles are noisy. Lab tests and an uptime check give more value for now.
  • You run an internal tool with a handful of users on managed hardware. Ask them, and watch server latency.
  • You have no way to change the page. Measuring a slow site you cannot edit only helps if you can influence the host.

Add it before a redesign or a big marketing push: the "before" baseline is what proves the work paid off.

When RUM is not enough

  • You need to know it is down. A site nobody visits sends no RUM data. Use uptime or synthetic checks.
  • The slowness is on the server. RUM shows TTFB is high, not why. Use APM to find the slow query.
  • You need a precise diagnosis of one page. Combine field data with a lab profile to see which script or image to change.

Frequently asked questions

What is real user monitoring in simple terms?

A small script on your pages measures how fast and stable each real visit is, plus any JavaScript errors, and sends the results to a dashboard. You see what real visitors on real devices experience instead of a lab estimate.

What are Core Web Vitals?

LCP (loading), INP (responsiveness) and CLS (visual stability). Good values at the 75th percentile are LCP 2.5 s or less, INP 200 ms or less and CLS 0.1 or less. Google uses them as part of its page experience signals.

Why does RUM use the 75th percentile?

It reflects the experience of a large group of visitors while staying stable. The median ignores the slower quarter of visits, and p95 is too affected by outliers. A page passes a Web Vital when its p75 is in the good range.

Does a RUM script slow my site down?

A good one is small, loads after your content and reports in the background when the page is hidden, so the effect is negligible. Avoid putting any monitoring script in a render-blocking position.

How is RUM different from Google Search Console or the Chrome UX Report?

Those report Chrome users only, aggregated over 28 days, for pages with enough traffic. RUM on your own site gives per-visit data within seconds, for every browser that reports metrics, with your own dimensions. VitalRix follows Google’s definitions but measures with its own script, so numbers can differ slightly.

Is RUM compatible with privacy law?

It can be, if it avoids personal data. VitalRix RUM sets no cookies, stores no IP address, never collects form values and groups page paths. Rules differ by country and by what you add, such as session replay, so check your own obligations and update your privacy notice.

Why do I see fewer samples for Safari?

Safari does not report some metrics, such as LCP, and older Firefox versions report fewer measures. Those browsers contribute fewer data points for those metrics, which is a browser limitation rather than a monitoring fault.

What is session replay and is it safe?

Session replay rebuilds what a visitor saw and did from recorded events. In VitalRix it is off by default, records a share of sessions, masks all form values in the browser and on the server, lets you mask or block elements and deletes recordings after 3 days. Tell visitors about it in your privacy notice.

Can RUM replace uptime monitoring?

No. RUM only has data when someone visits. If the site goes down at 3 a.m., RUM is silent. Use uptime or synthetic checks for availability and RUM for experience.

What should I fix first?

Start with the pages that combine the most traffic with the worst p75, and with mobile before desktop. Fix LCP through image weight, server speed and render-blocking resources, CLS through reserved space, and INP through shorter JavaScript tasks.

How long until I see data?

Your own visit appears within seconds of adding the script. Meaningful percentiles need a few hundred visits per page, which on a typical site means a day or more.

Do I need an API key in the browser?

No, and you should never put one there. RUM uses a site key that starts with rum_, which can only send data and is restricted to the hostnames you list.

  • Best real user monitoring tools: Choose a real user monitoring tool in 2026: Core Web Vitals, errors, session replay, privacy and pricing, with well-known options compared.
  • Core Web Vitals monitoring: Monitor Core Web Vitals from real visitors: LCP, INP and CLS by page, device and country, with JavaScript errors, session replay, source maps and lab tests.
  • What is session replay?: Session replay explained: how recordings are built from DOM changes rather than video, what it is useful for, privacy and masking rules, and its cost.
  • React performance monitoring: Monitor React apps in production: Core Web Vitals from real users, slow renders and INP, bundle size, errors with source maps.
  • Monitoring for publishers and media sites: Monitoring for news and content sites: Core Web Vitals per template, layout shift from ads, breaking-news traffic spikes and crawlability checks.
  • Vue performance monitoring: Monitor Vue and Nuxt apps in production: Core Web Vitals from real users, reactivity and render cost, bundle size.

See your site the way visitors do

Add one script tag and watch Core Web Vitals, errors and the mobile versus desktop split from real visits. Free to start, no credit card needed.