Installation
Learn how to install and configure the Miniback widget on your website.
Basic Installation
The simplest way to add Miniback to your site:
<script
src="https://your-domain.com/widget.js"
data-project="your-project-slug"
></script>Note: Replace
https://your-domain.comwith your actual Miniback instance URL. You can copy the exact script tag from your project dashboard.
Installation Steps
1. Get Your Project Slug
- Sign in to your Miniback dashboard
- Create a new project or select an existing one
- Copy your project slug from the project settings
2. Add the Script Tag
Add the script tag to your HTML, preferably before the closing </body> tag:
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<h1>Welcome to my website</h1>
<p>Your content here...</p>
<!-- Miniback Widget -->
<script
src="https://your-domain.com/widget.js"
data-project="your-project-slug"
></script>
</body>
</html>3. Verify Installation
After adding the script:
- Visual Check: Look for the feedback button on your website
- Test Submission: Try submitting feedback through the widget
- Dashboard Check: Verify feedback appears in your Miniback dashboard
Multiple Projects
You can install multiple widgets for different projects on the same site:
<!-- Widget for main site feedback -->
<script
src="https://your-domain.com/widget.js"
data-project="main-site"
></script>
<!-- Widget for specific feature feedback -->
<script
src="https://your-domain.com/widget.js"
data-project="feature-beta"
></script>Each widget will be independently configured and managed.
Next Steps
- View examples for framework-specific integrations
- Customize your widget appearance and behavior
- Troubleshooting common issues
- API documentation for programmatic access
Last updated on