Countly SDK for Node.js: Report events to be tracked with by API

Recommend this page to a friend!
  Info   View files Documentation   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 27 All time: 526 This week: 6Up
Version License JavaScript version Categories
countly-sdk-nodejs 1.0.14BSD License5Node.js, Web services, Events
Description Author

This package can report events to be tracked with by API.

It sends HTTP requests to the API Web servers to keep track of relevant events of applications.

The types of events that can be reported as customizable.

Innovation Award
JavaScript Programming Innovation award winner
March 2017
Winner is a Web service to keep track of statistics of event happening in Web or mobile apps.

This package uses the API to keep track of server side events tracked using Node.js

Manuel Lemos
Picture of Arturs Sosins
  Performance   Level  
Name: Arturs Sosins <contact>
Classes: 51 packages by
Country: Latvia Latvia
Age: 34
All time rank: 1
Week rank: 6 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 8x

Winner: 6x


Countly NodeJS SDK

Build Status Codacy Badge npm version Inline docs

What's Countly?

Countly is an innovative, real-time, open source mobile & web analytics, rich push notifications and crash reporting platform powering more than 2500 web sites and 14000 mobile applications as of 2017 Q3. It collects data from mobile phones, tablets, Apple Watch and other internet-connected devices, and visualizes this information to analyze application usage and end-user behavior.

With the help of Javascript SDK, Countly is a web analytics platform with features on par with mobile SDKs. For more information about web analytics capabilities, see this link.

There are two parts of Countly: the server that collects and analyzes data, and an SDK (mobile, web or desktop) that sends this data. This repository includes Countly Community Edition (server side). For more information other versions (e.g Enterprise Edition), see comparison of different Countly editions


This repository includes the Countly NodeJS SDK.

Need help? See Countly SDK for NodeJS SDK integration at Countly Resources or Countly NodeJS SDK Documentation

How to get Countly NodeJS SDK?

Currently in testing phase

npm install countly-sdk-nodejs


yarn add countly-sdk-nodejs

How to use Countly NodeJS SDK?

var Countly = require('countly-sdk-nodejs');

    app_key: "{YOUR-API-KEY}",
    url: "",
    debug: true


    "key": "in_app_purchase",
    "count": 3,
    "sum": 2.97,
    "dur": 1000,
    "segmentation": {
        "app_version": "1.0",
        "country": "Turkey"

More information is available at

Other Github resources

Check Countly Server source code here:

There are also other Countly SDK repositories below:

How can I help you with your efforts?

Glad you asked. We need ideas, feedbacks and constructive comments. All your suggestions will be taken care with upmost importance. We are on Twitter and Facebook if you would like to keep up with our fast progress!

If you like Countly, why not use one of our badges and give a link back to us, so others know about this wonderful platform?

Light badge Dark badge


For community support page, see


  Files folder image Files  
File Role Description
Files folder imageexamples (3 files)
Files folder imagelib (3 files)
Files folder imagetest (1 file)
Plain text file .eslintrc.js Class Class source
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file Data Auxiliary data
Plain text file index.js Class Class source
Accessible without login Plain text file jsdoc_conf.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file bulk_import_example.js Example Example script
  Accessible without login Plain text file example.js Aux. Auxiliary script
  Accessible without login Plain text file multi-process.js Aux. Auxiliary script

  Files folder image Files  /  lib  
File Role Description
  Plain text file countly-bulk-user.js Class Class source
  Plain text file countly-bulk.js Class Class source
  Plain text file countly.js Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file test-example.js Test Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:526
This week:6Up