Documentation
Bugfeed helps you collect visual feedback from your users. Add a feedback widget to your website in minutes and start receiving bug reports with screenshots, browser info, and device diagnostics.
New to Bugfeed? Start with the Quick Start guide below to get up and running in under 5 minutes.
Quick Start
- Create an account and add your first site in the dashboard.
- Copy your site key from the dashboard.
- Add the widget script to your website (see Installation below).
- Start receiving feedback in your dashboard!
Installation
Add the following script tag to your website, just before the closing </body> tag:
<script>
window.BugFeedConfig = {
siteKey: 'YOUR_SITE_KEY',
// Optional settings
position: 'bottom-right',
theme: 'light',
};
</script>
<script src="https://cdn.bugfeed.co.uk/widget.js" defer></script>Replace YOUR_SITE_KEY with the site key from your dashboard.
Configuration
Configure the widget behavior using the BugFeedConfig object:
window.BugFeedConfig = {
// Required
siteKey: 'YOUR_SITE_KEY',
// Widget position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'
position: 'bottom-right',
// Theme: 'light' | 'dark' | 'auto'
theme: 'light',
// Primary color (hex)
primaryColor: '#6366f1',
// Show floating button (default: true)
showButton: true,
// Button text
buttonText: 'Feedback',
// Enable screenshot capture (default: true)
enableScreenshot: true,
// Enable device diagnostics (default: true)
enableDiagnostics: true,
// Callback after successful submission
onSubmit: (feedback) => {
// Handle feedback submission (e.g., show toast, track analytics)
},
};Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
siteKey | string | - | Required. Your site key from the dashboard. |
position | string | 'bottom-right' | Widget position on screen. |
theme | string | 'light' | Color theme for the widget. |
primaryColor | string | '#6366f1' | Primary accent color (hex). |
showButton | boolean | true | Show the floating feedback button. |
enableScreenshot | boolean | true | Allow users to capture screenshots. |
onSubmit | function | - | Callback after successful submission. |
Feedback Types
Bugfeed supports three types of feedback, each styled differently to help you quickly identify and prioritize incoming reports:
| Type | Use Case | Color |
|---|---|---|
| Bug | Something is broken or not working as expected. High priority issues that need immediate attention. | Red |
| Feedback | General feedback, suggestions for improvement, or comments about the user experience. | Orange |
| Request | Feature requests or new functionality users would like to see added. | Blue |
How Users Select a Type
When users open the feedback widget, they can select the type of feedback before submitting. The widget displays clear icons and labels for each type, making it easy for users to categorize their report.
Filtering by Type
In your dashboard inbox, you can filter feedback by type to focus on specific categories. This helps you prioritize bugs while still tracking feature requests and general feedback.
Customization
Customize the widget appearance to match your brand. You can adjust colors, position, and text from your dashboard settings or via the configuration object.
Custom CSS
Override widget styles with custom CSS using the .bugfeed- prefix:
/* Custom button style */
.bugfeed-button {
border-radius: 100px !important;
}
/* Custom modal style */
.bugfeed-modal {
font-family: 'Your Font', sans-serif !important;
}Custom Triggers
Hide the default button and trigger the widget from your own UI elements:
// Disable default button
window.BugFeedConfig = {
siteKey: 'YOUR_SITE_KEY',
showButton: false,
};
// Open widget programmatically
document.querySelector('#my-feedback-btn').addEventListener('click', () => {
window.BugFeed.open();
});
// Or use the CSS class trigger
<button class="bugfeed-trigger">Send Feedback</button>Integrations
Send bug reports to Slack, Discord, GitHub, Linear, Trello, or any webhook.
Slack
Get instant notifications in Slack when users submit feedback.
- Go to your site settings in the dashboard
- Click "Connect Slack"
- Select the channel for notifications
- Authorize Bugfeed to post messages
Feedback will be posted with screenshots and diagnostics included.
Discord
Send feedback to a Discord channel via webhooks.
- Create a webhook in your Discord server settings
- Copy the webhook URL
- Paste it in your site's Discord integration settings
Webhooks
Send feedback to any endpoint with custom webhooks.
// Webhook payload format
{
"id": "fb_123abc",
"type": "bug",
"message": "Button doesn't work",
"email": "user@example.com",
"url": "https://yoursite.com/page",
"screenshot_url": "https://cdn.bugfeed.co.uk/screenshots/...",
"diagnostics": {
"browser": "Chrome 120",
"os": "macOS 14",
"screen": "1920x1080"
},
"created_at": "2024-12-20T10:30:00Z"
}GitHub
Automatically create GitHub issues from feedback.
- Connect your GitHub account in site settings
- Select the repository for issues
- Feedback will create issues with labels based on type
Linear
Create Linear issues directly from feedback.
- Connect Linear in your site settings
- Select your team
- New feedback creates issues in your selected team
Trello
Add feedback as cards to your Trello board.
- Connect Trello in your site settings
- Select the board and list for new cards
- Feedback creates cards with attachments
Chrome Extension
Capture feedback from any website without installing the widget.
Installation
- Install the extension from the Chrome Web Store
- Click the extension icon and sign in
- Select a site to capture feedback for
Usage
- Click the extension icon to open the feedback form
- Use Ctrl+Shift+F (or Cmd+Shift+F on Mac) as a shortcut
- Screenshots are captured automatically
- View your feedback history in the extension popup
API Reference
Access your feedback programmatically via our REST API.
Authentication
API requests require an API key passed in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.bugfeed.co.uk/v1/feedbackList Feedback
GET /v1/feedback?site_id=SITE_ID&limit=20&offset=0
Response:
{
"data": [...],
"total": 150,
"limit": 20,
"offset": 0
}Get Single Feedback
GET /v1/feedback/:id
Response:
{
"id": "fb_123abc",
"type": "bug",
"message": "...",
"screenshot_url": "...",
...
}FAQ
Does the widget affect page performance?
The widget script is lightweight (~15KB gzipped) and loads asynchronously, so it won't block your page from loading.
Can I use Bugfeed with React/Vue/etc?
Yes! The widget works with any framework. Just add the script tag to your HTML template or load it dynamically in your app.
How are screenshots captured?
Screenshots are captured client-side using the html2canvas library. The image is then uploaded securely to our servers.
Is feedback data encrypted?
Yes, all data is encrypted in transit (TLS) and at rest (AES-256).
Troubleshooting
Widget not appearing
- Check that the script is loaded (look for network request in DevTools)
- Verify your site key is correct
- Ensure your domain is allowed in site settings
- Check the browser console for errors
Screenshot not working
- Some content (iframes, cross-origin images) may not be captured
- Try adding CORS headers to external images
- Check if html2canvas is blocked by CSP
Integration not working
- Re-authenticate the integration in settings
- Check that the webhook URL is accessible
- Verify the correct channel/repository is selected
Need Help?
Can't find what you're looking for? We're here to help.
Contact Support