SessionRecordingOptions
Properties
Name | Type |
---|---|
__mutationThrottlerBucketSize | number |
ADVANCED: alters the bucket size for the token bucket mutation throttling Normally only altered alongside posthog support guidance. Accepts values between 0 and 100 100 | |
__mutationThrottlerRefillRate | number |
ADVANCED: alters the refill rate for the token bucket mutation throttling Normally only altered alongside posthog support guidance. Accepts values between 0 and 100 10 | |
blockClass | string | RegExp |
Derived from | |
blockSelector | string | null |
Derived from | |
captureCanvas | SessionRecordingCanvasOptions |
Allows local config to override remote canvas recording settings from the flags response | |
collectFonts | boolean |
Derived from | |
compress_events | boolean |
ADVANCED: whether to partially compress rrweb events before sending them to the server, defaults to true, can be set to false to disable partial compression NB requests are still compressed when sent to the server regardless of this setting true | |
full_snapshot_interval_millis | number |
ADVANCED: while a user is active we take a full snapshot of the browser every interval. For very few sites playback performance might be better with different interval. Set to 0 to disable 1000 * 60 * 5 (5 minutes) | |
ignoreClass | string | RegExp |
Derived from | |
inlineStylesheet | boolean |
Derived from | |
maskAllInputs | boolean |
Derived from | |
maskCapturedNetworkRequestFn | ((data: CapturedNetworkRequest) => CapturedNetworkRequest | null | undefined) | null |
Modify the network request before it is captured. Returning null or undefined stops it being captured | |
maskInputFn | ((text: string, element?: HTMLElement) => string) | null |
Derived from | |
maskInputOptions | recordOptions['maskInputOptions'] |
Derived from | |
maskNetworkRequestFn | ((data: NetworkRequest) => NetworkRequest | null | undefined) | null |
maskTextClass | string | RegExp |
Derived from | |
maskTextFn | ((text: string, element?: HTMLElement) => string) | null |
Derived from | |
maskTextSelector | string | null |
Derived from | |
recordBody | boolean |
Derived from | |
recordCrossOriginIframes | boolean |
Derived from | |
recordHeaders | boolean |
Derived from | |
session_idle_threshold_ms | number |
ADVANCED: alters the threshold before a recording considers a user has become idle. Normally only altered alongside changes to session_idle_timeout_ms. 1000 * 60 * 5 (5 minutes) | |
slimDOMOptions | recordOptions['slimDOMOptions'] |
Derived from |