feedbackspark
v1.0.1
Published
Simple in-product surveys for SaaS product teams. Get contextual feedback from the right users with precise targeting.
Downloads
9
Maintainers
Readme
Install with NPM/Yarn
Use the following command to install FeedbackSpark in your javascript apps.
npm install --save feedbackspark
Usage
import spark from feedbackspark;
spark("init", API_TOKEN);
APIs
Set User (Recommended)
spark("setUser", USER_ID);
Logout User
Do not forget to log out user from FeedbackSpark when they log out from your application. This is to avoid assigning their user id to some other user.
spark("logoutUser");
Manually trigger a specific survey
spark("showSurvey", SURVEY_CODE);
Look for survey code in the survey creation page.
Explore FeedbackSpark docs »