blockClass | 'rr-block' | Use a string or RegExp to configure which elements should be blocked. Refer to the privacy chapter. |
blockSelector | null | Use a string to configure which selector should be blocked. Refer to the privacy chapter. |
ignoreClass | 'rr-ignore' | Use a string or RegExp to configure which elements should be ignored. Refer to the privacy chapter. |
ignoreSelector | null | Use a string to configure which selector should be ignored. Refer to the privacy chapter. |
ignoreCSSAttributes | null | Array of CSS attributes that should be ignored. |
maskTextClass | 'rr-mask' | Use a string or RegExp to configure which elements should be masked: their text, and the values of fields inside them. Refer to the privacy chapter. |
maskTextSelector | null | Use a string to configure which selector should be masked: text, and the values of fields inside matching elements. Refer to the privacy chapter. |
maskAllInputs | false | Mask every input value as *, in replays and (from SDK 18.1.1) screenshots. Off by default; the fields masked automatically stay masked either way. |
maskInputOptions | { password: true } | Mask some kinds of input as *, in replays and (from SDK 18.1.1) screenshots. Refer to the list. From SDK 18.1.1, password fields stay masked whatever you pass. |
maskInputFn | - | (text, element) => string: customize how the values that maskInputOptions or maskAllInputs mask are recorded, in replays and (from SDK 18.1.1) screenshots. Not used for the fields masked automatically, which are always masked as *. |
maskTextFn | - | Customize mask text content recording logic. |
slimDOMOptions | {} | Remove unnecessary parts of the DOM. |
dataURLOptions | {} | Canvas image format and quality. This parameter will be passed to the OffscreenCanvas.convertToBlob(). Using this parameter effectively reduces the size of the recorded data. |
inlineStylesheet | true | Whether to inline the stylesheet in the events. |
hooks | {} | Hooks for events. |
packFn | - | Refer to the storage optimization recipe. |
sampling | - | Refer to the storage optimization recipe. |
recordCanvas | false | Whether to record the canvas element. Available options: false, true. |
recordCrossOriginIframes | false | Whether to record cross origin iframes. rrweb (see the docs below) has to be injected in each child iframe for this to work. Available options: false, true. |
recordAfter | 'load' | If the document is not ready, then the recorder will start recording after the specified event is fired. Available options: DOMContentLoaded, load. |
inlineImages | false | Whether to record the image content. |
collectFonts | false | Whether to collect fonts in the website. |
userTriggeredOnInput | false | Whether to add userTriggered on input events that indicates if this event was triggered directly by the user or not. What is userTriggered? |
plugins | [] | Load plugins to provide extended record functions. What are plugins? |