To track user events you will use the
BranchEventBuilder to construct an event and then pass the output from this to the
logEvent function. The builder has a range of helper functions to allow you to correctly construct the event data.
You construct a "standard" event by using one of the predefined constant event names in the BranchEventBuilder class:
STANDARD_EVENT_*. These names are matched to standard events in the Branch dashboard.
To construct a custom event you can use your own event name when creating your builder. Events named
referred session are Branch restricted along with the standard event names.