@lateral-ai/telemetry
v0.0.50
Published
Seamlessly relay user interactions in your application to Lateral for analysis.
Downloads
25
Readme
Telemetry 📡
Seamlessly relay user interactions in your application to Lateral for analysis.
Installation
npm install @lateral-ai/telemetry
Initialization
Before using Telemetry, you need to initialize the library with your API key:
import { initTelemetry } from "@lateral-ai/telemetry";
initTelemetry({
apiKey: "YOUR_API_KEY",
userId: "CURRENT_USER_ID",
});
This initialization sets up event listeners to monitor user actions and reports them back to Lateral.
Usage
Once initialized, the telemetry client will automatically monitor user actions. You don't need to manually record events.
Support
For any issues or questions, please contact support or open an issue in this repository.