Why identify users?
When you pass user info to the widget, every feedback submission in your dashboard is attributed to a real account — name, email, and any custom fields you include. Without it, submissions are anonymous.
UserConfig
id is the only required field. Use the user’s ID from your own database so you can match submissions back to accounts.
Pass user info at init
Set the user option when initializing the widget:
Update user info at runtime
If the user logs in after the widget has already loaded, call setUserInfo:
Clear user info on logout
Call clearUserInfo when the user logs out so subsequent feedback is anonymous:
Custom fields
Pass any additional fields — they are stored with the submission and visible in your dashboard:
Framework examples