API Reference
Error Monitoring
Getting Started
Welcome to Highlight
Integrations
Product Features
Session Replay
Tips
Menu
H.addSessionFeedback()
This method is used to add session feedback for the session. You can learn more User Feedback.
If you don't want to implement your own UI to collect feedback, you can use the UI that Highlight provides. See H.toggleSessionFeedbackModal().
H.addSessionFeedback(feedbackOptions: SessionFeedbackOptions) => void;
feedbackOptions
verbatim Required
The feedback string that a user has inputted into your app.
userName
The user's name. This is only required if you have not called H.identify().
userEmail
The user's email. This is only required if you have not called H.identify().
Example
H.addSessionFeedback({ verbatim: 'I L O V E the new feature that shows me cat gifs. Please keep shipping features like this!', })