astronomer
v3.2.1
Published
The hassle-free way to integrate analytics into any Node.js application
Downloads
10
Maintainers
Readme
astronomer
A Node.js client for Astronomer — The hassle-free way to integrate analytics into any application.
Based off of Segment's analytics-node
Installation
$ npm install astronomer
Usage
const Analytics = require('astronomer');
const client = new Analytics('write key');
client.track({
event: 'event name',
userId: 'user id'
});
Documentation
Documentation is available at https://docs.astronomer.io/v2/clickstream/sources/nodejs.html.
License
Copyright © 2017 Segment Inc. <[email protected]>