%3C%21-- Saber Feedback button --%3E %3C%21-- End of Saber Feedback button --%3E

Custom feedback data

You can send custom data along with your feedback reports by adding it to the feedback_values javascript hash using the Javascript API.

For example, if you want to include the authenticated user’s ID and name, you could use the following:

Saber.do('set_option', 'feedback_values', {
  user_id: 12345,
  name: "Ash Turner"
});

You can include as much data as you like, and it can be any valid JavaScript data type.

Any data you pass in the feedback_values hash will be included in:

  • the notification emails sent by Saber Feedback.
  • the information sent to your third-party integrations.
  • the feedback report you view in your Saber Feedback control panel.