/countly-sdk-nodejs

Countly SDK for NodeJS

Primary LanguageJavaScriptMIT LicenseMIT

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

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?

Light badge Dark badge

Support

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

NPM