For optimal analytics, we recommend first creating threads using the SDKs, then referencing them
in the feedback widget. This ensures all conversations are tracked, even those without feedback.
Installation Options
Basic Setup
- Get a publishable API key from your Melodi settings (see API Access).
- Add the MelodiAuthProvider with your API key:
Usage
Only threads that contain feedback will be displayed in the Melodi dashboard. To unlock analytics for all sessions, we recommend creating threads via the SDK then referencing them in the widget.
Component Props
ID of an existing thread created via the SDK (recommended)
Alternative: Direct thread configuration object. See Thread format for details.
Information about the current user
Your company name to display in the feedback popover
Set the feedback widget variant
Options:
Options:
thumbs
(default): Thumbs up/down buttonsflag
: Flag button