applicationId | String | Yes | Application ID, obtained from the application management page |
clientToken | String | Yes | Client Token, obtained from the application management page |
service | String | Yes | Service name, used to distinguish different services |
env | String | No | Environment identifier, such as production, staging, etc. |
version | String | No | Application version |
trackingConsent | "granted" | "not-granted" | No | Set initial user tracking consent status. See user tracking consent. Default: granted |
trackViewsManually | Boolean | No | Allows you to control RUM view creation. See override default RUM view names. Default: false |
trackUserInteractions | Boolean | No | Enable automatic collection of user actions. Default: true |
trackResources | Boolean | No | Enable collection of resource events. Default: true |
trackLongTasks | Boolean | No | Enable collection of long task events. Default: true |
trackAnonymousUser | Boolean | No | Enable cross-session collection of anonymous user IDs. Default: true |
enablePrivacyForActionName | Boolean | No | See mask action names. Default: false |
actionNameAttribute | String | No | Specify your own attribute to use for naming actions. Default: false |
sessionSampleRate | Number | No | Percentage of sessions to track: 100 for all, 0 for none. Only tracked sessions send RUM events. Default: 100 |
silentMultipleInit | Boolean | No | If the RUM browser SDK is already initialized on the page, initialization will silently fail. Default: false |
proxy | String | No | Optional proxy URL, for example: https://www.proxy.com/path |
allowedTracingUrls | Array | No | List of request URLs for injecting tracing headers. For more information, see Connect RUM and Traces |
traceSampleRate | Number | No | Percentage of requests to trace: 100 for all, 0 for none. Default: 100 |
excludedActivityUrls | Array | No | List of request origins to ignore when calculating page activity |
compressIntakeRequests | Boolean | No | Compress requests sent to the FlashDuty intake to reduce bandwidth usage when sending large amounts of data. Compression is done in a Worker thread. Default: false |
storeContextsAcrossPages | Boolean | No | Store global context and user context in localStorage to preserve them across user navigation. Default: false |
allowUntrustedEvents | Boolean | No | Allow capturing [untrusted events][https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted], for example in automated UI tests. Default: false |