Feedback CollectionWidgets

Widgets

Embed ProductBridge feedback widgets into your website or application. Choose from popup, sidebar, inline, custom trigger, iframe, and direct URL embed types.

Collect Feedback Directly in Your Product

ProductBridge widgets let users submit feedback without leaving your website or application. Choose from multiple embed types to match your UI — a floating button, a sidebar panel, an inline form, or a custom trigger. Each widget is configured in Settings > Widget & Embeds.

Embed Types

Floating Button (Popup)

A floating feedback button appears in the corner of your page. When clicked, it opens a popup form where users can submit feedback.

This is the most popular embed type — it is non-intrusive, always accessible, and requires no changes to your page layout.

<script>
  (function() {
    var s = document.createElement('script');
    s.src = 'https://productbridge.io/sdk/pb-widget.js';
    s.async = true;
    s.onload = function() {
      ProductBridge.init({
        organizationId: 'YOUR_ORGANIZATION_ID',
        position: 'bottom-right',
        theme: 'auto',
        defaultTab: 'feedback',
        buttonColor: '#3B82F6',
        buttonText: 'Feedback',
      });
    };
    document.head.appendChild(s);
  })();
</script>

Configuration options:

OptionTypeDescription
organizationIdstringYour ProductBridge organization ID (required)
positionstringButton position: bottom-right, bottom-left, top-right, top-left
themestringColor theme: auto, light, dark
defaultTabstringDefault tab to show: feedback, roadmap, changelog
buttonColorstringHex color for the floating button
buttonTextstringText displayed on the button

Set theme: 'auto' to match your website's light/dark mode automatically.

Widget Modules

The widget can display multiple modules depending on your configuration:

ModuleDescription
FeedbackThe feedback submission form with categories and file attachments
RoadmapA read-only view of your public roadmap inside the widget
ChangelogLatest product updates and release notes

Set the default module using the defaultTab option, or let users switch between tabs inside the widget.

API Keys

Each widget installation requires an organization ID. You can find your ID and manage API keys in Settings > Widget & Embeds > API Keys. Use different API keys for different environments (development, staging, production).

Your organization ID is public and embedded in client-side code. It is safe to expose — it only grants read/submit access to public-facing features. Sensitive operations require authenticated API keys.

Customization

Customize the widget appearance from Settings > Widget & Embeds:

  • Button color — Match your brand colors
  • Button text — Change the label (e.g., "Feedback", "Ideas", "Help")
  • Position — Place the button in any corner of the screen
  • Theme — Auto, light, or dark mode
  • Language — Localize the widget interface
  • Modules — Choose which tabs to show (Feedback, Roadmap, Changelog)

Preview

Use the Preview tab in Settings > Widget & Embeds to see a live preview of your widget configuration before deploying it to your site.