Configuration
Customize the Userloop widget for your application.
|
The Userloop widget can be customized to match your brand and workflow needs.
Widget Options
Configure the widget by adding data attributes to the script tag:
<script
src="https://widget.userloop.run/widget.js"
data-project-id="YOUR_PROJECT_ID"
data-position="bottom-right"
data-color="#29f28c"
async
></script>Available Options
| Option | Default | Description |
|---|---|---|
| `data-project-id` | Required | Your Userloop project ID |
| `data-position` | `bottom-right` | Button position: `bottom-right`, `bottom-left` |
| `data-color` | `#29f28c` | Primary color for the widget |
| `data-text` | `Feedback` | Button label text |
Programmatic Configuration
For more control, use the JavaScript API:
window.userloop?.configure({
projectId: "YOUR_PROJECT_ID",
position: "bottom-right",
color: "#29f28c",
text: "Send Feedback",
// Identify the current user
user: {
email: "user@example.com",
name: "John Doe",
},
// Custom metadata attached to all feedback
metadata: {
plan: "pro",
version: "2.1.0",
},
});Controlling Visibility
Show/Hide Programmatically
// Hide the widget
window.userloop?.hide();
// Show the widget
window.userloop?.show();
// Open the feedback form
window.userloop?.open();
// Close the feedback form
window.userloop?.close();Conditional Display
Only show the widget to certain users:
// Only show to logged-in users
if (currentUser) {
window.userloop?.show();
window.userloop?.identify({
email: currentUser.email,
name: currentUser.name,
});
} else {
window.userloop?.hide();
}[!NOTE] The widget is hidden by default until you call `show()` when using programmatic control.
Custom Trigger
Use your own button to trigger the feedback form:
<button onclick="window.userloop?.open()">Give Feedback</button>Then hide the default button:
window.userloop?.configure({
projectId: "YOUR_PROJECT_ID",
showButton: false, // Hide the default floating button
});Integrations
Linear Integration
Connect Userloop to Linear to create issues directly from feedback:
- Go to Dashboard → Integrations → Linear
- Click Connect Linear
- Authorize Userloop to access your Linear workspace
- Select the default team and status for new issues
Jira Integration
Connect to Jira for issue tracking:
- Go to Dashboard → Integrations → Jira
- Enter your Jira site URL
- Authenticate with Jira
- Configure the default project and issue type
[!TIP] You can change the target project when creating individual issues from feedback.
Workflows
Auto-Tagging
Set up rules to automatically tag feedback based on content:
- Go to Dashboard → Projects → Settings → Workflows
- Click Add Rule
- Define conditions (e.g., "feedback contains 'bug'")
- Set the action (e.g., "add tag 'bug'")
Notifications
Configure how you get notified about new feedback:
- Email: Daily digest or instant notifications
- Slack: Real-time alerts in your Slack channel
Set up notifications in Dashboard → Settings → Notifications.
Next Steps
You're all set! Here are some things to explore:
- Review incoming feedback in your dashboard
- Set up team members to collaborate on feedback
- Explore the API for advanced integrations