The hassle-free way to integrate analytics into any node application.
JavaScript
Latest commit 6c7aaf7 Dec 6, 2017 @f2prateek f2prateek 3.2.0

readme.md

analytics-node CircleCI

A Node.js client for Segment — The hassle-free way to integrate analytics into any application.

Installation

$ npm install analytics-node

Usage

const Analytics = require('analytics-node');

const client = new Analytics('write key');

client.track({
  event: 'event name',
  userId: 'user id'
});

Documentation

Documentation is available at https://segment.com/libraries/node.

License

Copyright © 2017 Segment Inc. <friends@segment.com>