trackmania
v0.0.1
Published
All your tracking tools in a single library.
Downloads
1
Readme
trackmania
All your tracking tools in a single library.
Use
Install using NPM:
npm install --save trackmania
Initialize and track.
import { Tracker, Adapter } from 'trackmania'
let tracker = new Tracker(config, customAdapters)
tracker.identify(userId, userProperties)
tracker.track(eventName, eventProperties)
tracker.page(category, name, properties)
tracker.alias(userId)
tracker.group(groupId, traits)