@kkbot/analytics-sdk
v0.1.3
Published
A lightweight JavaScript analytics SDK for tracking user events and sending them to a custom analytics backend.
Readme
@kkbot/analytics-sdk
A lightweight JavaScript analytics SDK for tracking user events and sending them to a custom analytics backend.
Designed for modern web apps (React, Next.js, Vanilla JS).
Features
- Simple API:
init,identify,track - Anonymous + identified user tracking
- Browser-safe and SSR-safe (no server crashes)
- Works with any backend that accepts HTTP events
- Minimal footprint, zero dependencies
Installation
npm install @kkbot/analytics-sdk
