Enable Debug Logs
The Recording SDK does not throw setup failures into your application. Use its state and debug messages to diagnose a problem. Pass a logger during initialization:The Recorder Does Not Start
Checkrecorder.isRecording. If it remains false, check these conditions:
- The client secret is valid for the current environment.
- A recording policy exists for the client.
- The policy has an enabled rule for the client-secret environment.
- Required context values and the selected targeting identifier are present.
- Targeting, audience allocation, and per-session sampling select the session.
- Account capacity allows another active recording.
Canvas Content Is Not Shown
At present, Confidence does not support recording or replaying content drawn inside HTML<canvas> elements. Canvas content can include sensitive data
that standard masking controls do not reliably protect.
Other page content remains available, but canvas areas can appear blank or incomplete.
Check Content Security Policy Settings
The SDK uses a Web Worker. Allowdata: or blob: in the worker-src Content
Security Policy directive.
The connect-src directive must allow these endpoints:
data: URL. It automatically tries a blob: URL if the policy
blocks data:.
If your policy blocks both sources, copy the packaged worker to a same-origin URL:
workerUrl:
Manual Mode
Use manual mode when consent or application state must control when initialization starts:start() has no effect in automatic mode.
stop() is permanent for that recorder instance and is safe to call more than once.
Custom Data Is Missing
The SDK does not queue tags and measurements while the recorder connects. Calltag() or measure() only after recorder.isRecording becomes true. Enable debug
logging to find invalid keys or values.
See Custom recording data for limits and examples.
