Overview
The feedback button widget is a floating button that opens a modal form for collecting detailed feedback from users. It’s perfect for gathering bug reports, feature requests, and general comments.Quick Start
Add the SeggWat feedback button to your website with a single script tag:your-project-key with your project’s unique key from the dashboard.
Configuration Options
Customize the feedback button’s appearance and behavior using data attributes:Required Attributes
Your unique project identifier from the SeggWat dashboard
Optional Attributes
Hex color code for the button (e.g.,
#10b981)Button position and layout on the page. Options:
bottom-right- Horizontal button with icon and text in bottom-right cornerright-side- Vertical text-only button on right edge of screenicon-only- Compact round icon-only button in bottom-right corner
Language code for the widget UI. See Internationalization for details.Supported languages:
en, de, svOverride the API endpoint (useful for self-hosted or staging environments)
Track feedback against specific application versions (e.g.,
1.2.3, v2.0.0-beta)This helps correlate user feedback with specific releases, making it easier to:- Identify version-specific bugs
- Track feature adoption across releases
- Prioritize fixes based on affected versions
Show or hide the “Powered by SeggWat” branding in the modal footer.Set to
false, 0, or no to hide the branding label. Useful for:- White-label implementations
- Custom branding requirements
- Maintaining a cohesive brand experience
Enable screenshot capture and annotation functionality.When enabled, users can:
- Capture a screenshot of the current viewport
- Annotate with arrows, rectangles, pen, text, and blackout tools
- Attach the annotated screenshot to their feedback
Privacy Compliance: Before collecting feedback, ensure you’ve updated your privacy policy to inform users about data collection. See our Privacy & Compliance Guide for detailed guidance on GDPR and CCPA requirements.
Examples
Custom Color
Vertical Position
German Language
Icon-Only (Compact)
Version Tracking
White-Label (Hide Branding)
Hide the “Powered by SeggWat” footer for a seamless brand experience.
Enable Screenshots
Full Configuration
Dynamic Updates
You can update the button’s appearance after initialization using JavaScript:The
updateAppearance method is asynchronous when changing language, as it needs to fetch translation files. All UI text updates instantly without page reload.User Tracking
Associate feedback with specific users by setting a user identifier:- Correlate multiple feedback submissions from the same user
- Reach out to specific users about their feedback
- Track feedback patterns by user
- Max 255 characters
- Alphanumeric characters, hyphens, and underscores only
- Examples:
user_12345,cust-abc-123,USR_98765
How It Works
- The script tag loads the feedback button widget asynchronously
- The widget auto-detects your site’s base URL for API requests
- CSS is loaded dynamically from the same domain
- The button appears fixed on your page based on the configured position
- Clicking opens a modal form for users to submit feedback
- Feedback is sent directly to your SeggWat project
Multiple Widgets
You can combine the feedback button with the helpful rating widget on the same page. They share a common core library for efficient loading:data-show-comment-link="true" is set on the helpful widget, clicking “Add a comment” opens the feedback modal.
Next Steps
Privacy & Compliance
Update your privacy policy and ensure GDPR compliance
Helpful Rating Widget
Add simple thumbs up/down ratings for quick feedback
Internationalization
Configure multi-language support for your widgets
Version Tracking
Track feedback across application versions
Customization
Customize colors, positioning, and behavior