Browser Monitoring
Sessions
Each sampled browser gets an anonymous id and a public session id. Timelines are structured beacons — not video replay.
Identity
anonymousId— durable inlocalStorage(mydle_rum_aid). Not an account identity.sessionId— public session id insessionStorage(mydle_rum_sid), sanitized for outbound headers.
View timelines in /app/browser → Sessions.
Lifecycle beacons
On init the SDK emits session and pageview. SPA navigations emit route_change (history pushState / popstate). visibility and unload close the loop on background / pagehide. Optional click atoms are event beacons when clicks: true.
Correlation
When network instrumentation is on and tracePropagation is enabled (default), same-origin fetch / XHR receive:
- W3C
traceparent X-Mydle-Session-ID— public session id only
Use these to join RUM with traces and backend logs — never timestamps alone.
Sampling
sampleRate < 1 may skip the entire session (no-op client). Reloads are independent draws.
Limitations
- No session replay / DOM recording.
- Clearing site storage rotates anonymous and session ids.
- Cross-origin requests do not receive Mydle propagation headers.