Customization
How to customize the logaflow widget
General
To customize your widget you must access your project’s widget page
Log Collection
In this section you can configure which levels of console logs logaflow can capture, by default we capture them all.
Replay
In this section you can enable and disable the function of recording the user session for replay. By default it is active.
Networks
In this section you can configure the requests that can be captured by logaflow. By default all requests made are captured, you can limit this by adding the specific sources you want to monitor.
Widget customization
Customize widget trigger
You can customize the trigger that opens the feedback popup. To use a customizable trigger you must first disable logaflow’s default trigger:
Pass useCustomTrigger prop
Use widget hook in your custom trigger
Using your custom trigger
Example importing and using custom trigger
Identify user
You can add an identifier to know which user is providing feedback. This identifier will appear in the feedback details on the logaflow dashboard.
User ID will appear on the details screen:
How identify user using react
Use useLogaflowIdentify hook