@motadata365/browser-rum
v6.21.18
Published
Motadata Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.
Readme
RUM Browser Monitoring
Motadata Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.
See the dedicated motadata documentation for more details.
Usage
To start collecting events, add @motadata365/browser-rum to your package.json file, then initialize it with:
import { motadataRum } from '@motadata365/browser-rum'
motadataRum.init({
applicationId: '<MOTADATA_APPLICATION_ID>',
clientToken: '<MOTADATA_CLIENT_TOKEN>',
site: '<MOTADATA_SITE>',
// service: 'my-web-application',
// env: 'production',
// version: '1.0.0',
sessionSampleRate: 100,
trackResources: true,
trackLongTasks: true,
trackUserInteractions: true,
})Note: The trackUserInteractions parameter enables the automatic collection of user clicks in your application. Sensitive and private data contained in your pages may be included to identify the elements interacted with.
