Programmatic Triggers

Open and close the widget from your own UI without a data-sf click.

JavaScript
window.SupaFeedback.identify({
  name: currentUser.name,
  email: currentUser.email,
});

// Open the widget (optionally pass a trigger element)
window.SupaFeedback.open();

// Close the widget
window.SupaFeedback.close();