more-trace
v1.0.4
Published
To track the analytics and crash of web apps
Readme
more-trace
To track the events
Installation
npm install more-traceUsage
import Trace from "more-trace";
// Initialise the sdk
Trace.init({
api_key: "",
url: "",
env: "dev",
app_name: "More",
});
// set the user id
Trace.setUserId("12345");
//track events
Trace.trackEvents(eventName, payload);
//Clear the data on logut
Trace.clearData();Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
