1.0.6 • Published 9 months ago

@gradianio/web-sdk v1.0.6

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

Install with NPM/Yarn

Use the following command to install Gradian in your javascript apps.

npm install --save @gradianio/web-sdk

Usage

import Gradian from "@gradianio/web-sdk";
Gradian("init", API_TOKEN);

APIs

Set User (Recommended)

Gradian("setUser", USER_ID);

Logout User

Do not forget to log out user from Gradian when they log out from your application. This is to avoid assigning their user id to some other user.

Gradian("logoutUser");

Manually trigger a specific survey

Gradian("showSurvey", SURVEY_CODE);

Look for survey code in the survey creation page.

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago