Installation
Add the SeggWat feedback button to your WordPress site using our official plugin or by manually adding the widget script.
Method 1: Official Plugin (Recommended)
Install the SeggWat Feedback plugin from the WordPress plugin directory for the easiest setup.
Quick Setup:
- In WordPress, go to Plugins → Add New
- Search for "SeggWat Feedback"
- Click Install Now → Activate
- Go to Settings → SeggWat Feedback
- Enter your Project Key from the SeggWat dashboard
Plugin Settings (1.7.0):
Basic Configuration:
- Project Key (required) - Your unique project identifier from the SeggWat dashboard
- Appearance Settings - Keep WordPress styling or use your SeggWat dashboard appearance
- Button Label, Theme, Font, Screenshots - Customize these in WordPress mode
- Button Color (optional) - Hex color code (e.g.,
#10b981) - Button Position (optional) - Choose from
bottom-right,right-side, oricon-only - Language (optional) - Language code (
en,de,sv,fr,da,pt,it,es) - Site Version (optional) - Attach a release label to feedback, or use the
seggwat/versionfilter - Show Powered By (optional) - Show or hide "Powered by SeggWat" branding (default: disabled)
Dashboard appearance mode inherits color, position, label, language, theme, font, and screenshots. WordPress still controls page visibility, branding, and site version. Existing installations keep WordPress appearance settings until you switch modes.
The plugin installs the feedback hub. Configure its modules in the SeggWat dashboard. Live chat requires a verified visitor identity integration; WordPress users are not linked automatically. Standalone ratings, NPS, and surveys need their own embed scripts.
Method 2: Manual Installation
Add the script to your theme's header.php or footer.php file:
<script src="https://seggwat.com/static/widgets/v1/seggwat-feedback.js"
data-project-key="your-project-key"
data-button-color="#10b981"
data-button-position="bottom-right"
data-show-powered-by="true"></script>To hide the branding (white-label):
<script src="https://seggwat.com/static/widgets/v1/seggwat-feedback.js"
data-project-key="your-project-key"
data-show-powered-by="false"></script>Method 3: Using WordPress Hooks
Add the following code to your theme's functions.php:
function seggwat_feedback_widget() {
$project_key = 'your-project-key'; // Get this from SeggWat dashboard
$button_color = '#10b981';
$show_powered_by = 'true'; // Set to 'false' for white-label
?>
<script src="https://seggwat.com/static/widgets/v1/seggwat-feedback.js"
data-project-key="<?php echo esc_attr($project_key); ?>"
data-button-color="<?php echo esc_attr($button_color); ?>"
data-show-powered-by="<?php echo esc_attr($show_powered_by); ?>"></script>
<?php
}
add_action('wp_footer', 'seggwat_feedback_widget');For theme developers or agencies building WordPress sites for clients, setting data-show-powered-by="false" creates a seamless branded experience.
Configuration Options
All options can be configured via data attributes:
| Attribute | Type | Default | Description |
|---|---|---|---|
data-project-key |
string | required | Your unique project identifier |
data-button-color |
string | #3b7299 |
Hex color code for the button |
data-button-position |
string | bottom-right |
Position: bottom-right, right-side, or icon-only |
data-language |
string | auto-detect | Language code: en, de, sv, fr, da, pt, it, es |
data-button-text |
string | localized label | Custom button label |
data-theme |
string | default | light or dark |
data-font-family |
string | default | A font family already loaded on the page |
data-enable-screenshots |
boolean | dashboard setting | Desktop screenshot capture for bug reports |
data-version |
string | - | Track feedback by version (e.g., your theme version) |
data-show-powered-by |
boolean | true |
Show/hide "Powered by SeggWat" footer |
White-Label WordPress Solutions
For agencies and developers building WordPress solutions:
<?php
/**
* Add SeggWat feedback widget with white-label configuration
*/
function my_agency_feedback_widget() {
$config = array(
'project_key' => get_option('seggwat_project_key'),
'button_color' => get_theme_mod('brand_primary_color', '#3b7299'),
'show_powered_by' => false, // Hide branding for white-label
);
?>
<script src="https://seggwat.com/static/widgets/v1/seggwat-feedback.js"
data-project-key="<?php echo esc_attr($config['project_key']); ?>"
data-button-color="<?php echo esc_attr($config['button_color']); ?>"
data-show-powered-by="false"></script>
<?php
}
add_action('wp_footer', 'my_agency_feedback_widget');Make sure to sanitize all user inputs when building custom plugins to prevent XSS vulnerabilities.
Best Practices
Use Theme Colors
Match your WordPress theme's color scheme for a cohesive experience.
Consider Mobile
The icon-only position works great for mobile-responsive WordPress themes.
Version Tracking
Use data-version with your theme or plugin version to track feedback by release.
White-Label
For client projects, set data-show-powered-by="false" to maintain your brand.
