Home





Analytics

The connector library allows you to send custom events to the hooked analytics networks.

[Enhance logEvent:@"game_over" withParameter:@"level" andValue:@"1"];
[Enhance logEvent:@"user_exit"];

Methods

Enhance logEvent

void [Enhance logEvent:
    (NSString*) eventType
]

Send a custom analytics event. Parameters:

NSString* eventType - Type (name) of the event.

Enhance logEvent

void [Enhance logEvent:
    (NSString*) eventType,
    withParameter:(NSString*) paramKey,
    andValue:(NSString*) paramValue
]

Send a custom analytics event. Parameters:

NSString* eventType - Type (name) of the event.

NSString* paramKey - Key of the event's parameter.

NSString* paramValue - Value of the event's parameter.

Enhance logEvent

void [Enhance logEvent:
    (String) eventType,
    parameters:(NSDictionary*) parameters
]

Send a custom analytics event. Parameters:

String eventType - Type (name) of the event.

NSDictionary* parameters - A collection of key - value pairs.