@plurid/desite-react
v0.0.0-0
Published
React implementation of desite to track user sittings.
Downloads
1
Readme
React implementation of desite
to track user sittings.
Contents
Install
To install run
npm install @plurid/desite-react
or
yarn add @plurid/desite-react
Usage
import Desite, {
INTERACT_TYPES,
} from '@plurid/desite-react';
const main = () => {
const appID = 'obtained-application-id';
const desite = new Desite({
appID,
});
desite.visit(
'/visited/path',
);
desite.interact(
INTERACT_TYPES.click,
'clicked-element',
);
}
main();
Packages
@plurid/desite-react • the React
implementation