The top level Analytics module. 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.
| Name | Description |
|---|---|
| addEvent | send a generic event for the application session |
| addEventListener | add an event listener for the instance to receive view triggered events |
| featureEvent | send an analytics feature event for the application session |
| fireEvent | fire a synthesized event to the views listener |
| navEvent | send an analytics nav event for the application session |
| removeEventListener | remove a previously added event listener |
| 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 |
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'});