# Browser RUM

Vitals and errors from a web snippet.

RUM Available

[Open the Connect card in Epok](https://app.epok.cloud/#/connect?source=rum) [Full setup guide](https://epok.cloud/docs/install/rum)

## What you get

RUM, arriving through Epok web snippet over OTLP.

## Set it up

1. Create a restricted ingest-only key in Epok: Settings, then API keys. Browser keys are public.
2. Install the epok-rum package, or load the SDK from your own origin. For session replay, add the replay artifact as well.
3. Connect it to your consent controller: capture stays off until your consent UI grants it.
4. Load a page and open RUM in Epok.

The commands and configuration for each step are on the [setup guide](https://epok.cloud/docs/install/rum).

## What was tested

- The published setup, run against a local copy of Epok's ingest stack: 1 run.
- No run against the hosted service is recorded yet.

## What you see in Epok

- RUM: page views, Web Vitals and frontend errors per route.

## Troubleshooting

- No data with the SDK installed usually means consent was never granted. The SDK defaults to denied.
- Initialising twice on one page returns the same handle; it does not double-count.
