Feedgent Docs
Guides

Embed the widget

One script tag puts your feedback portal on any site.

Grab your snippet from Dashboard → Widget (it fills in your workspace and origin), or write it by hand:

<script async src="https://yourdomain.com/widget/v1.js" data-workspace="acme"></script>

That gives you a floating launcher button that opens a chat-style panel with your portal inside. Sessions work cross-site, so visitors can vote without leaving your page.

Options

Attributes on the script tag:

AttributeValuesDefault
data-workspaceyour workspace slugrequired
data-positionright, leftright
data-viewfeedback, roadmap, changelogfeedback
data-themeauto, light, darkauto

Wire up your own elements

Once the script is loaded, these attributes work anywhere on the page:

<!-- open the panel from your own button -->
<button data-feedgent-open>Give feedback</button>

<!-- "what's new" link with an unread badge -->
<a data-feedgent-changelog>What's new</a>

<!-- render the feedback view inline instead of floating -->
<div data-feedgent-embed="feedback"></div>

The widget is MIT-licensed, dependency-free, and renders in shadow DOM, so your site's CSS and the widget never fight.

On this page