Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chris-pardy/analytics-node

Repository files navigation

analytics-node

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 (c) 2017 Segment Inc. <friends@segment.com>

About

The hassle-free way to integrate analytics into any node application.

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages

  • JavaScript 100.0%