+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Instrumenting your app to capture custom analytics

Custom analytics can be captured by using the WLAnalytics API. The MobileFirst Analytics API provides a log method with which arbitrary key/value pairs can be recorded and sent to the MobileFirst Analytics Server.

Custom analytics can include any data you collect. For example:

As an example to collect page transitions, follow these steps.


What to do next

As with all analytic data that is collected from the mobile app, the send() method must be called for the data to appear in the MobileFirst Analytics Console.

Parent topic: Custom analytics