SDK for Titanium Android
Java Python JavaScript
Switch branches/tags
Nothing to show
Latest commit ec228ee Mar 23, 2015 Sivakumar S New repo link added
Failed to load latest commit information.
assets Initial Commit Oct 13, 2012
documentation Initial Commit Oct 13, 2012
hooks Initial Commit Oct 13, 2012
libs Fixed Security Exception (Changed to latest OpenUDID) Nov 20, 2013
CHANGELOG.txt Changelog updated Nov 7, 2014
LICENSE Initial Commit Oct 13, 2012
LICENSE.txt Initial Commit Oct 13, 2012 Fixed Security Exception (Changed to latest OpenUDID) Nov 20, 2013
build.xml Initial Commit Oct 13, 2012
timodule.xml Added Android Manifest Entries - Allows Automatic Entry Adding into A… Nov 7, 2014 version)

For new version of the module, Please click here

Countly is an innovative, real-time, open source mobile analytics application. It collects data from mobile phones, and visualizes this information to analyze mobile application usage and end-user behavior. There are two parts of Countly: the server that collects and analyzes data, and mobile SDK that sends this data (for iOS & Android).

Countly Server;

Other Countly SDK repositories;

Please note that this Module is under development.


Register your module with your application by editing tiapp.xml and adding your module.

<module platform="android">ly.count</module>



Start Tracking

var countly = require('ly.count');

Record Events


  • name : Name of the event to track
  • (example - Track clicks on the help button "clickedHelp" )
  • count : Number to increment the event in the db
  • (example - User purchases item increment by 1 )
  • segmentation : Categorization of the event
  • (example - User is from USA and uses an iPhone 4S so the segmentation will be {device:"iPhone 4S", country:"USA"} )

Simple Event

//Example: countly.sendEvent(name,count);


Event With Segmentation

// Example: countly.sendAdvancedEvent(name, segmentation, count);

var segmentation = {"buttonName": "HomeButton",
"buttonLocation": "TopBar",

countly.sendAdvancedEvent("HomeScreen", segmentation, 1);