-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring Dynamics
Karan Gupta edited this page Apr 14, 2023
·
3 revisions
The Configuration method provides a variety of options that can be accommodated by the system.
configureAnalytics({
applicationName: 'SampleApplication1',
captureEvents: [DynamicEvents.MOUNT, DynamicEvents.ERROR],
apiUrl: 'https://google/com',
devConsole: true,
captureAnonymizedId: true
});Below is a list of all possible parameter which can be configured -
| Parameter | Value |
|---|---|
| applicationName | Unique app name used while capturing telemetry which is required in case multiple applications are using Dynamics |
| captureEvents | Which events should be captured at component level. e.g. Mounting, Unmounting given in the form of an array |
| apiUrl | Backend URL where telemetry data is to be sent |
| devConsole | Allows telemetry data to be printed in Chrome dev console by attaching a printTelemetry method to the global window obbject |
| captureAnonymizedId | Adds a unique encrypted identifier based on user's machine details to Telemetry objects |
Events that are supported by Dynamics -
- DynamicEvents.MOUNT
- DynamicEvents.UNMOUNT
- DynamicEvents.MOUSECLICK
- DynamicEvents.MOUSEOVER
- DynamicEvents.ERROR
- DynamicEvents.REDUX_ACTION
If you like what you see then please consider supporting us by adding a star