Home


Analytics

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

Enhance.LogEvent("game_over", "level", "1");
Enhance.LogEvent("user_exit");

Methods

Enhance.LogEvent

void Enhance.LogEvent(
    string eventType
)

Send a custom analytics event.

Parameters:

string  eventType - Type (name) of the event.

Enhance.LogEvent

void Enhance.LogEvent(
    string eventType,
    string paramKey,
    string paramValue
)

Send a custom analytics event.

Parameters:

string  eventType - Type (name) of the event.

string  paramKey - Key of the event's parameter.

string  paramValue - Value of the event's parameter.

Enhance.LogEventWithParameters

void Enhance.LogEventWithParameters(
    string eventType,
    Dictionary<string, string> parameters
)

Send a custom analytics event.

Parameters:

string  eventType - Type (name) of the event.

Dictionary<string, string>  parameters - A collection of key - value pairs.