1.0.2 • Published 5 months ago

feedbackspark v1.0.2

Weekly downloads
-
License
SEE LICENSE IN Li...
Repository
github
Last release
5 months ago

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 »

1.0.2

5 months ago

1.0.1

1 year ago

1.0.0

1 year ago