This is the server-side Node.js library. For browser tracking, use the JavaScript SDK.
Installation
Initialize
Configuration
Track Events
Async/Await
Import Historical Events
For events older than 5 days:User Profiles
- set_once()
- increment()
- append()
- union()
Group Analytics
Send Events
Set Group Properties
- set_once()
- unset()
- union()
- remove()
Privacy Controls
EU Data Residency
India Data Residency
Disable Geolocation
Debug Mode
Platform Considerations
- You manage
distinct_idyourself - No automatic identity management
- Synchronous and asynchronous APIs available
- Use
.import()for historical data (>5 days old) - No client-side features (cookies, localStorage)