RUM Browser Monitoring
Flashcat 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 flashcat documentation for more details.
Usage
To start collecting events, add @flashcatcloud/browser-rum to your package.json file, then initialize it with:
import { flashcatRum } from '@flashcatcloud/browser-rum'
flashcatRum.init({
applicationId: '<FC_APPLICATION_ID>',
clientToken: '<FC_CLIENT_TOKEN>',
site: '<FC_SITE>',
sessionSampleRate: 100,
sessionReplaySampleRate: 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.