Integrate with Enhance - Unity
Analytics
The connector library allows you to send custom events to the hooked analytics networks.
Example Usage
Enhance.LogEvent("game_over", "level", "1"); Enhance.LogEvent("user_exit");
Methods
Enhance.LogEvent
void Enhance.LogEvent(
string eventType
)
Parameters:
string eventType
- Type (name) of the event.
Enhance.LogEvent
void Enhance.LogEvent(
string eventType,
string paramKey,
string paramValue
)
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
)
Parameters:
string eventType
- Type (name) of the event.
Dictionary<string, string> parameters
- A collection of key - value pairs.