Integrate with Enhance - Defold
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,
optional string paramKey = nil,
optional string paramValue = nil
)
Send a custom analytics event.
Parameters:
string eventType
- Type (name) of the event.
optional string paramKey
- Key of the event's parameter.
optional string paramValue
- Value of the event's parameter.