Node
LogSnag client for Node.js applications
Installation
Using npm
Using yarn
Using pnpm
Usage
Disabling Tracking
You can disable tracking for development purposes by using the disableTracking
method:
And enable it back with:
You can check if tracking is disabled with:
Methods
track(options: TrackOptions): Promise<boolean>
: Track custom events.identify(options: IdentifyOptions): Promise<boolean>
: Identify user traits.group(options: GroupOptions): Promise<boolean>
: Group users.insightTrack(options: InsightTrackOptions): Promise<boolean>
: Track insights.insightIncrement(options: InsightIncrementOptions): Promise<boolean>
: Increment insight values.
Last updated