Add a feedback widget to your website in under 2 minutes
FeedbackBar adds a small thumbs-up/down bar to your site. When a visitor clicks, a short survey modal appears, captures their sentiment and optional comments, and sends everything to your dashboard in real time. The widget is under 15 KB gzipped, loads asynchronously, and never blocks your page.
Create a free account
Sign up — no credit card required.
Create a project & widget
Name your project, customise colours and text in the dashboard, and copy the embed snippet.
Paste the script tag
Add one line before your closing </body> tag — done.
<script src="https://cdn.feedbackbar.io/widget.js" data-widget="your-widget-id"></script>Perfect for most use cases. All settings are managed through the FeedbackBar dashboard with instant updates.
<script src="https://cdn.feedbackbar.io/widget.js" data-widget="your-widget-id"></script>theme: {
primaryColor: "#007244",
textColor: "#FFFFFF",
borderRadius: 8,
fontSize: "medium"
}position: {
placement: "bottom-right",
offsetX: 20,
offsetY: 20
}text: {
question: "Was this helpful?",
positivePrompt: "What did you like?",
negativePrompt: "What could we improve?",
thankYouMessage: "Thank you!"
}behavior: {
showAfterSeconds: 5,
hideAfterDismiss: true,
showOnMobile: true,
collectRating: true,
collectEmail: true,
pattern: "/products/*"
}Control display timing, data collection, and page targeting
Control which pages display your widget using URL patterns. Perfect for targeting specific sections of your site.
behavior: {
pattern: "/products/*" // Show only on product pages
}"/products/*"All product pages"/blog/*/comments"Blog comment sections"/checkout"Exact checkout page"*/help"Any help page* as wildcard for any characterswindow.location.pathnameControl what information you collect from users to balance data richness with form simplicity.
When enabled, users who provide negative feedback will be asked to rate their experience on a 1-5 star scale.
collectRating: true(default)When enabled, users can optionally provide their email address for follow-up communication.
collectEmail: true(default)For high-traffic pages or mobile users, consider disabling email collection to reduce friction and increase completion rates. You can configure these settings per widget in your dashboard under "Customize Experience" → "When & Where to Show".
<script>
const variant = Math.random() > 0.5 ? 'emerald' : 'teal';
window.FeedbackBarConfig = {
widgetId: "wgt_abc123",
theme: {
primaryColor: variant === 'emerald' ? '#007244' : '#10B981'
}
};
</script>
<script src="https://cdn.feedbackbar.io/widget.js"></script><script>
const isCheckoutPage = window.location.pathname.includes('/checkout');
window.FeedbackBarConfig = {
widgetId: "wgt_abc123",
position: {
placement: isCheckoutPage ? "top-right" : "bottom-right"
},
behavior: {
showAfterSeconds: isCheckoutPage ? 10 : 5,
pattern: "/checkout/*" // Only show on checkout pages
}
};
</script>Widgets will not display and feedback submissions will be rejected if:
This ensures you have full control over when widgets collect feedback. To resume collection, activate the widget and ensure the project is active in your dashboard.
Create your free account, set up a widget, and start hearing from your users in under 2 minutes.
Start Free — No Credit CardHere are the questions we hear most — answered honestly.