Skip to content

Monitoring glossary

What is frontend monitoring?

Frontend monitoring watches what happens in the browser: how fast pages load and respond, which JavaScript errors users hit and which requests fail.

3 min read12 sectionsUpdated

On this page

Key points

  • Measure Web Vitals at p75 per page and device.
  • Capture JavaScript errors with source maps.
  • Watch failed and slow API calls from the browser.
  • Add synthetic browser checks for key journeys.

What to monitor

SignalWhy
LCP, INP, CLSLoading, responsiveness and stability as users feel them
JavaScript errorsBroken features, often on one browser or release
Failed fetch/XHR callsAPIs failing from the user’s side, including CORS
Long tasksMain-thread blocking that hurts INP
Resource errorsMissing scripts, images and fonts
Journey checksSign-in and checkout working, even at 3 a.m.

Setting it up

html
<!-- in the <head> of every page -->
<script defer src="https://api.vitalrix.com/api/v1/public/rum/script.js" data-key="rum_your_site_key"></script>

Upload source maps for each release so minified stacks become your original file and line. Add an error boundary (React) or a global error handler (Angular, Vue) that reports caught errors. Then add a browser check for the most important journey.

Framework guides

React, Angular, Vue and Next.js each have their own typical problems and tools.

In VitalRix

The real user monitoring script records Web Vitals, page views and JavaScript errors per page and device, sets no cookies and stores no IP addresses, and session replay masks every form field. It handles single-page app navigation. Errors with uploaded source maps show original stacks in error tracking.

Source maps

Production JavaScript is minified, so stack traces read like a.b is undefined at main.4f2c.js:1:28311. Upload the source maps for each release to your error tracker (and keep them off your public CDN if you prefer), and errors show the original file, function and line.

What frontend monitoring covers

SignalQuestion it answersSource
Core Web Vitals (LCP, INP, CLS)Is the page fast and stable for real visitors?Real-user monitoring script
JavaScript errorsWhat breaks in which browser, on which page?Error capture in the browser
Failed API calls from the pageIs the backend failing for users?Fetch and XHR instrumentation
Session replaysWhat did the user actually see?Recorded, masked sessions
Synthetic page checksDoes the page load from several regions right now?Uptime and browser checks

How to start

  1. Add a real-user script to every page and look at LCP, INP and CLS per page template and device. See real user monitoring.
  2. Group JavaScript errors by message and release, and fix the ones that hit the most sessions first.
  3. Add synthetic checks on the pages that make money, so you also know when nobody is visiting.
  4. Connect frontend and backend: pass the trace context from the browser to the API so one slow click can be followed to the database query behind it.

Frequently asked questions

Does frontend monitoring slow my site?

A well-built script loads with defer and sends data in the background; the effect should be negligible. Check it with your own Web Vitals.

Can I monitor without a script?

Synthetic checks need no script, and CrUX gives aggregated field data for some sites. For errors and per-page detail you need a script.

Check it now, free

  • GraphQL API monitoring: Monitor GraphQL APIs properly: errors hidden inside 200 responses, latency per operation, resolver tracing, query depth, and uptime checks that assert on data.
  • Best synthetic monitoring tools: Choose a synthetic monitoring tool in 2026: API and browser checks, scripting, locations, private networks and CI use, with well-known options compared.
  • Sentry vs Datadog: Sentry vs Datadog compared: developer-focused error tracking against a full observability platform, covering errors, tracing, replay, logs and cost.
  • What is end-to-end testing?: End-to-end testing explained: testing whole user journeys through UI, APIs and data, where E2E fits in the test pyramid, flaky tests.
  • Cloudflare error 523: origin is unreachable: Fix Cloudflare error 523 Origin is Unreachable: wrong DNS IPs, routing problems at the host and firewalls, with tests that confirm where traffic stops.
  • How to monitor a Next.js app: How to monitor a Next.js app in production: uptime checks, Core Web Vitals, server and edge errors, OpenTelemetry traces for SSR and API routes, and alerts.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.