An in-app event represents an event or action performed by the end user within your mobile app. LotaData's SDK enables you to define, tag, record, and analyze in-app events for your mobile users. Example of commonly tagged events are: “app launched”, “app moved to foreground”, “app moved to background”, “start button clicked", "game level complete", "transaction start", "payment complete", "packaged picked up", "delivery complete".
To tag an in-app event, you should call the corresponding record function.
//Providing a tag representing an eventmMomentsClient.recordEvent("launched");//Providing a tag associated to a numerical valuemMomentsClient.recordEvent("purchase", 2.99);//Providing multiple tags representing an unique eventList eventsList = Arrays.asList("event A", "event B", "event C");MomentsClient.recordEvent(eventsList);//Providing a map of tags, where each tag has a related object (text description, for example)Map<String, Object> eventsMap;eventsMap = new HashMap<String, Object>();eventsMap.put("user event", "the user is doing task A");eventsMap.put("system event", "the system is doing task B");mMomentsClient.recordEvent(eventsMap);
We are eager to hear from you and happy to share best practices for integrating the SDK. There are many ways for you to reach us:
Slack developer community
But first, please sign up for an account with LOTaDATA so that we may send you the link to download our SDK.