react-captivated
v0.0.2
Published
React wrapper package for the Captivated widget integration.
Readme
React Captivated
React wrapper package for the Captivated widget integration.
Use this guide to learn how to integrate Captivated's feedback widget into your project and start collecting feedback on Captivated.
Please note that we're constantly updating this project, so always be keen on updating this package to the newest release to stay up-to-date with new features.
Installation
npm install react-captivatedUse / Example
import { init, identify } from "react-captivated";
init("[pid]", callback);
identify({
"identifier": 1, // optional
"name": "John Doe", // required
"picture": "https://...", // optional
"properties": { // optional
"email": "[email protected]",
"phone": "123-456-7890"
}
});[pid] represents your Captivated project ID. This can be found in your settings tab or in the tracking code available in the setup page documentation.
