Skip to content
← All packages

Telemetry Browser

A deep browser RUM SDK for Telemetry for Laravel: page load, Web Vitals, fetch/XHR, uncaught errors and SPA route changes, correlated with the backend trace. One trace id from click to browser span to request to query to job.

Telemetry Browser is the frontend companion to Telemetry for Laravel: page load, Web Vitals, fetch and XHR, uncaught errors and SPA route changes, shipped to your app ingest endpoint and joined to the backend trace via W3C traceparent. One trace id gives you one waterfall, from the click through the browser span, the request span, the queries and the jobs.

Real User Monitoring

Correlated with the backend

Emits the same dimensions as the backend and roots on the server trace via traceparent, so the Telemetry UI cross-links frontend and backend out of the box.

Small and zero-config

About 6 KB gzipped with Web Vitals included, and no OpenTelemetry SDK. A lean SDK tailored to the ingest endpoint, working with zero config to start.

Web Vitals & errors

Page load, LCP, CLS, INP and friends, plus fetch/XHR timings and uncaught errors, with SPA route changes tracked as their own spans.

Never throws

Best-effort by design: a failure in the SDK degrades to nothing, never into your app.

Drop-in from the Laravel directive

Install from npm as @cboxdk/telemetry-browser, or drop the standalone build in a script tag. It auto-inits from its own data attributes, the exact contract the Laravel package @telemetryBrowser directive emits.