@seedalpha/tracer
v1.1.10
Published
track frontend events
Downloads
4
Readme
seed-tracer
track frontend events
Installation
$ npm install seed-tracer --save
Usage
var Tracer = require('tracer');
var tracer = new Tracer(options);
tracer.use(transport);
var session = tracer.session(params);
session.identify(user);
session.track(event, data);
session.close(function() {
console.log('All events tracked and flushed');
});
Default Tracking
- device id (new/existing)
- user agent
- screen size (eg. 800x600)
- language (default locale)
- timezone (eg. -8)
Development
$ git clone [email protected]:seedalpha/tracer.git
$ cd tracer
$ npm install
$ npm test
$ npm run coverage
Changelog
1.1.0
:
- add session id
1.0.0
:
- project init
Author
Vladimir Popov [email protected]
License
©2016 SeedAlpha