FitSignal Widget SDK
Embed product-market fit and NPS surveys directly into your application. Collect feedback from your users at the right moment.
Easy Integration
Add a single script tag or install via npm. Works with any framework.
Smart Targeting
Show surveys to the right users based on segments and eligibility rules.
Full Control
Programmatic API for showing, hiding, and listening to survey events.
Quick Start
Get up and running in 3 steps:
1Get your API key from the dashboard
2Add the SDK to your page
3Identify your users
<!-- 1. Add the SDK script -->
<script src="https://www.fitsignal.com/sdk/fitsignal.umd.js"></script>
<script>
// 2. Initialize with your API key
FitSignal.init({
apiKey: 'fs_live_your_api_key'
});
// 3. Identify your user (when they log in)
FitSignal.identify({
email: 'user@example.com',
name: 'John Doe'
});
</script>How It Works
- 1.The SDK initializes and connects to FitSignal servers with your API key.
- 2.When you call
identify(), the SDK checks if the user is eligible for any surveys. - 3.If eligible, the survey widget appears automatically (or you can trigger it manually).
- 4.Responses are sent to FitSignal for analysis and reporting.