SessionRecordingRemoteConfig
Properties
| Name | Type |
|---|---|
recordCanvas | boolean |
If set, records the canvas | |
canvasFps | number |
If set, records the canvas at the given FPS Can be set in the remote configuration Limited between 0 and 12 When canvas recording is enabled, if this is not set locally, then remote config sets this as 4 | |
canvasQuality | string |
If set, records the canvas at the given quality Can be set in the remote configuration Must be a string that is a valid decimal between 0 and 1 When canvas recording is enabled, if this is not set locally, then remote config sets this as "0.4" | |
endpoint | string |
consoleLogRecordingEnabled | boolean |
sampleRate | string |
minimumDurationMilliseconds | number |
linkedFlag | string | FlagVariant |
networkPayloadCapture | Pick<NetworkRecordOptions, "recordBody" | "recordHeaders"> |
masking | Pick<SessionRecordingOptions, "maskAllInputs" | "maskTextSelector" | "blockSelector" | "maskAllElementAttributes"> |
urlTriggers | SessionRecordingUrlTrigger[] |
scriptConfig | { script?: string | undefined; } |
urlBlocklist | SessionRecordingUrlTrigger[] |
eventTriggers | string[] |
triggerMatchType | "any" | "all" |
Controls how event, URL, sampling, and linked flag triggers are combined.
| |
version | 1 | 2 |
Config version - defaults to 1 (legacy). When version is 2, triggerGroups is used instead of individual trigger fields. | |
triggerGroups | SessionRecordingTriggerGroup[] |
V2 Trigger Groups - multiple named trigger groups with their own conditions and sample rates. Only used when version === 2. | |