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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (31)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2022-06-02 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 30 All time: 524 This week: 3Up
Version License JavaScript version Categories
countly-sdk-nodejs 1.0.18BSD License5Node.js, Web services, Events
Description Author

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

It sends HTTP requests to the Count.ly 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
Count.ly is a Web service to keep track of statistics of event happening in Web or mobile apps.

This package uses the Count.ly 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: 35
All time rank: 1
Week rank: 6 Down1 in Latvia Latvia Equal
Innovation award
Innovation award
Nominee: 8x

Winner: 6x

Details

Countly NodeJS SDK

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

About

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

or

yarn add countly-sdk-nodejs

How to use Countly NodeJS SDK?

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

Countly.init({
    app_key: "{YOUR-API-KEY}",
    url: "https://try.count.ly/",
    debug: true
});


Countly.begin_session();

Countly.add_event({
    "key": "in_app_purchase",
    "count": 3,
    "sum": 2.97,
    "dur": 1000,
    "segmentation": {
        "app_version": "1.0",
        "country": "Turkey"
    }
});

More information is available at https://support.count.ly/hc/en-us/articles/360037442892-NodeJS-SDK

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?

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/dark.svg?v2" alt="Countly - Product Analytics" /></a>

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/dark.svg" alt="Countly - Product Analytics" /></a>

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/light.svg?v2" alt="Countly - Product Analytics" /></a>

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/light.svg" alt="Countly - Product Analytics" /></a>

Support

For community support page, see https://support.count.ly/hc/en-us/community/topics.

NPM

  Files folder image Files  
File Role Description
Files folder image.github (1 file, 1 directory)
Files folder imageexamples (4 files)
Files folder imagelib (4 files)
Files folder imagetest (9 files, 1 directory)
Accessible without login Plain text file .eslintignore Data Auxiliary data
Plain text file .eslintrc.js Class Class source
Accessible without login Plain text file CHANGELOG.md Example Example script
Accessible without login Plain text file generateDocs.sh 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 README.md Doc. Documentation
Accessible without login Plain text file SECURITY.md Data Auxiliary data

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (2 files)
  Accessible without login Plain text file dependabot.yml Data Auxiliary data

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file codeql-analysis.yml Data Auxiliary data
  Accessible without login Plain text file node.js.yml Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file apm_example.js Aux. Auxiliary script
  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-common.js Class Class source
  Plain text file countly.js Class Class source

  Files folder image Files  /  test  
File Role Description
Files folder imagehelpers (1 file)
  Accessible without login Plain text file tests_consents.js Aux. Auxiliary script
  Accessible without login Plain text file tests_crashes.js Aux. Auxiliary script
  Accessible without login Plain text file tests_device_id_type.js Example Example script
  Accessible without login Plain text file tests_events.js Aux. Auxiliary script
  Accessible without login Plain text file tests_http_response_success.js Aux. Auxiliary script
  Accessible without login Plain text file tests_internal_limits.js Aux. Auxiliary script
  Accessible without login Plain text file tests_sessions.js Aux. Auxiliary script
  Accessible without login Plain text file tests_user_details.js Aux. Auxiliary script
  Accessible without login Plain text file tests_views.js Aux. Auxiliary script

  Files folder image Files  /  test  /  helpers  
File Role Description
  Plain text file helper_functions.js Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:30
This week:0
All time:524
This week:3Up