seges
v1.0.1
Published
1. Install
Downloads
3
Readme
Usage
- Install
npm install seges
- Import
import {SegesClient} from 'seges';
- Configure
const config = {
"baseUrl": "https://dev.seges.app",
"apiToken": "from backend",
"deviceExternalId": "from backend",
"maxQueueSize": 1000,
"sendBatchSize": 50,
"sendIntervalSeconds": 30
}
SegesClient.configure(config)
- Send Events
SegesClient.emit('screen.view', {"screen.name": "home"})