setCustomLogWithEventName

This method logs specific application events in the Hurree platform, which then produces analytics.

To add the method

Add this method anywhere you wish to log a custom event.

- (void)setCustomLogWithEventName:(NSString * _Nonnull)log
    eventName:(NSString * _Nonnull)eventName
    withEventType:(NSString * _Nonnull)withEventType;

Example

Objective C
Swift
[instance_object setCustomLogWithEventName:@"HomeViewController"
    eventName:@"User is on the home page of app."
    withEventType:@"Normallog"
];
instance.setCustomLogWithEventName(
    log: "HomeViewController",
    eventName: "User is on the home page of app.",
    withEventType: "Normallog"
)

Arguments

These are the arguments that define the method.

Name Type Mandatory Description
log String Mandatory This is the name of the screen.
eventName String Mandatory This is the name of the event message the business wants on the server.
eventType String Mandatory This is the type of the event. The options are: Normallog and Notificaitionlog.

results matching ""

    No results matching ""