Configuration
Configure the FeedIndex widget from the dashboard — position, theme, trigger, and allowed origins.
The widget is configured entirely from the dashboard. The script tag only needs the data-widget attribute — all other settings are loaded from the server when the widget initializes.
Configuring the widget
Go to Workspace > Widgets and select your widget. You can configure:
| Setting | Options | Description |
|---|---|---|
| Position | bottom-right, bottom-left, top-right, top-left | Where the floating button appears |
| Trigger label | Any text | Text shown on the floating button (default: "Feedback") |
| Trigger icon | Chat, Lightbulb, Megaphone, Heart, None | Icon shown on the floating button |
| Theme | Light, Dark, System | Widget colour scheme |
| Accent colour | Any hex colour | Brand colour for buttons and highlights |
Embed code
The embed code is always the same minimal snippet:
<script src="https://feedindex.app/widget.js" data-widget="YOUR_WIDGET_KEY" defer></script>No data-* attributes are needed for configuration — changing settings in the dashboard updates the widget everywhere it's embedded, without touching your code.
Allowed origins
For security, the widget only accepts post submissions from domains you've approved.
Configure allowed origins in Workspace > Widgets > Allowed Origins. Add every domain where the widget is embedded (e.g., https://yoursite.com).
If no origins are configured, all submissions are blocked. Add at least one origin to enable feedback submissions.
Voting is always allowed regardless of origin configuration.