Skip to content

Connect your iOS apps to Heap Analytics for app event tracking in a Titanium Appcelerator Application

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

benjaminpeters/TiHeapAnalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiHeapAnalytics

Heap is a modern take on analytics. There's no need to ship event tracking code, no need to wait days or weeks for data to accumulate, no need to muddle your codebase, and no need to fumble with rigid reports.

For the first time, meaningful product questions can be answered just as soon as they're asked.

This module connects your iOS apps to Heap Analytics for app event tracking in a Titanium Appcelerator Application.

Usage

  1. Register your account with Heap Analytics, once done retrieve your 10 digit Heap app ID.

  2. Follow these instructions to install the module.

  3. To access this module from JavaScript, you need to do the following:

var heap = require('com.benjamin.heap');
heap.setHeapAppId("0123456789"); // <--- Add your Heap ID here
heap.enableHeapVisualizer();

TEST HARNESS EXAMPLE FOR YOUR MODULE

The example directory contains a skeleton application test harness that can be used for testing and provides an example of usage

BUILDING YOUR MODULE

Simply run titanium build --platform <name of platform> --build-type production --dir /path/to/module. You can omit the --dir option if your working directory is in the module's project directory.

TESTING YOUR MODULE

To test with the script, execute:

titanium run --dir=YOURMODULEDIR

This will execute the app.js in the example folder as a Titanium application.

About

Connect your iOS apps to Heap Analytics for app event tracking in a Titanium Appcelerator Application

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages