pre:receive handlers. First, subscribe to the pre:receive event to inject feedback options. Then, handle submitted feedback through the feedback event.
The following script shows how to configure feedback in the embedded chat:
JavaScript
sendFeedbackToBackend.js

