Socket
Socket
Sign inDemoInstall

analytics-node

Package Overview
Dependencies
18
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    analytics-node

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


Version published
Weekly downloads
515K
increased by3.99%
Maintainers
5
Created
Weekly downloads
 

Changelog

Source

v3.3.0-beta.1 / 2018-01-18

  • Improvement: Replace crypto-token with uuid package. This also reduces the total size of the package in the browser by 80%. Note that this will change the structure of the generated messageId values.
  • Improvement: Improve retry logic to better handle server failures.
  • Improvement: Update the user agent format to be RFC 7231 compliant.

Readme

Source

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>

Keywords

FAQs

Last updated on 18 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc