Sending events introduction

  • SDK will send various events related to user and his actions such as custom events and mobile view screen.

  • We've got three event types:

    Custom events can be created by you, and contain any information you provide (quantity of product, it's price, color etc.).

    Mobile view screen events is the set of events that are created when client switches between mobile application activities and it can inform you about current state of displayed activity of your client.

  • Sending an event

    Sending is easy as one line of code, but remember, only flat structures are supported when you invoke.

    UserCom.getInstance().sendEvent(new MyCustomEvent());

    You don't have to worry about offline mode - event will be stored in local DB and sent when network will be available.

    SDK will automatically add your user identifier and date time informations to the event. In web panel your event will appear as MyCustomEvent (based of class or annotation name).