setCustomLogWithEventName

This method logs custom events in the Hurree platform, which are then used to produce analytics.

Returns true if the log is successfully added, and false in case of failure.

  • Once application events are logged, marketers can view these compiled analytics from the Insights screen.
  • For example, marketers can view, compare, download or print Campaign Performance statistics for individual campaigns, by App and by App Group.

Method Signature

boolean setCustomLogWithEventName(String log, String eventName, String eventType)

Arguments

These are the arguments that define the method.

Name Type Mandatory Description
log String Mandatory The name of the screen.
eventName String Mandatory The name of the event message the business wants on the server.
eventType String Mandatory For now, there are two types of events categorised for withEventType i.e.

Sample Code

Analytics.getInstance(this).setCustomLogWithEventName(
        "MainActivity",
        "Clicked",
        "Image Selected"
);

results matching ""

    No results matching ""