Titanium.Analytics

Submodule of Titanium.
Platform Since
Android 0.1
iPhone 0.1
iPad 0.1
Mobile Web 1.8

Summary

The top level Analytics module.

Description

The Analytics module is used for transmitting developer-defined Analytics event for your application to the Appcelerator Analytics product. It can be used to augment additional context or application-specific information which can then be accessed during analysis using Analytics.

Code Examples

Custom Feature Event

This examples shows how to send a featureEvent during an application session to indicate some feature was triggered/used by the user that you would like to track.

Titanium.Analytics.featureEvent('app.feature.blah',{product:'killer'});

Methods

Name Summary
addEvent

send a generic event for the application session

addEventListener

Adds the specified callback as an event listener for the named event.

featureEvent

send an analytics feature event for the application session

fireEvent

Fires a synthesized event to any registered listeners.

navEvent

send an analytics nav event for the application session

removeEventListener

Removes the specified callback as an event listener for the named event.

settingsEvent

send a analytics settings event for the application session

timedEvent

send an analytics timed event for the application session

userEvent

send an analytics user event for the application session

Properties

This type has no properties.

Events

This type has no events.