|Table of Contents|
AMPLIFY Appcelerator Analytics collects real-time data about your application's usage, which can then be viewed in the Analytics dashboard. By default, the Analytics dashboard provides information about app installs, the number of sessions, and average app session length (organized by app name, platform, and geography). Your app can also utilize custom analytic events and event funnels.
For platform-specific details about how analytics captured, see Analytics Architecture.
For information about viewing analytics data, see Managing Client Applications.
Analytics refers to data about how your application has been used, as well as information about how users interact with your application. Analytics data is transmitted in the form of events.
Events are operational milestones in the application. Some events are generated automatically, such as those that mark an installation, or the beginning and end of a session. Others may be custom events, which have a meaning specific to an application, such as tapping a specific button or opening a certain window.
A feature event represents an action a user could take in an application, such as 'liking an item' or launching a video'. Applications use the Titanium or APSAnalytics API to create custom events.
Event funnels let you define custom, ordered event sequences that let you track a specific user process, such as finding a product and making a purchase.
The Analytics dashboard organizes, analyzes, and presents analytics data captured for your applications. You also use the Analytics dashboard to create and view event funnels.
Getting started with Analytics
Enabling analytics is enabled by default when creating a project using using Axway Appcelerator Studio (Studio). If for some reason, it's not enabled, you can enable Axway Appcelerator Platform Services in the project's
tiapp.xml and deploy your application.
- Once deployed, you can begin to view data captured for your application in the Analytics dashboard
- Use custom events to track basic usage and navigation patterns
- Create event funnels to analyze a specific process better
Enabling Appcelerator Services modifies your project's
Creating custom events
The Titanium.Analytics API can be used to send custom events and data, called feature events.
Titanium.Analytics.featureEvent(name, data) is used to send a feature event. A feature event can be used to represent a user action, application state, or send a data payload.
We can then create a custom query in Dashboard to calculate the average number of items users had in their basket upon backgrounding the application.
Creating and viewing event funnels
Creating an event funnel
When you create an event funnel in Dashboard, you select the events you want to track, in the order that defines the process you want to track and analyze. For instance, in the following example, the user has created an event funnel named "Product Purchase" that tracks the progress of a retail customer through five basic phases: logging into the site, searching for products, reviewing product information, making a purchase, and confirming the purchase.
To create an event funnel
Viewing event funnels
Once you've created an event funnel, you can begin analyzing the funnel results. The screenshot below shows the current results of the "Product Purchase" event funnel created above. As you can see, of all visitors to the home page, 83% of those searching for products, 67% of those who searched for products reviewed additional product information, and 10% of those who reviewed additional product information made a purchase.
To view an event funnel
To edit an event funnel
To remove an event funnel