Integrate with Enhance - OpenFL
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 = null,
optional String paramValue = null
)
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.