Analytics



Analytics: Unity (C#)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
FGLEnhance.LogEvent("event_type");
2) Send an analytics event with additional parameter:
FGLEnhance.LogEvent("event_type", "event_param_key", "event_param_value");

Analytics: Android (Java)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
FglEnhance.logEvent("event_type");
2) Send an analytics event with additional parameter:
FglEnhance.logEvent("event_type", "event_param_key", "event_param_value");

Analytics: iOS (Objective-C)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
[[FglEnhance sharedInstance] logEvent:@"event_type"];
2) Send an analytics event with additional parameter:
[[FglEnhance sharedInstance] logEvent:@"event_type" withParameter:@"event_param_key"
andValue:@"event_param_value"];

Analytics: OpenFL (Haxe)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
Enhance.logEvent("event_type");
2) Send an analytics event with additional parameter:
Enhance.logEvent("event_type", "event_param_key", "event_param_value");

Analytics: Adobe Air (AS3)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
FglEnhance.logEvent("event_type");
2) Send an analytics event with additional parameter:
FglEnhance.logEvent("event_type", "event_param_key", "event_param_value");

Analytics: Defold (Lua)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
enhance.logCustomEvent("event_type")
2) Send an analytics event with additional parameter:
enhance.logCustomEvent("event_type", "event_param_key", "event_param_value")

Analytics: Construct 2 (Visual)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Actions
[Log Simple Event]
Send a simple analytics event.
[Log Event]
Send an analytics event with additional parameter.

Analytics: Stencyl (Visual)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Action Blocks
[log event: ...]
Send an event to the hooked analytics networks. By default it will take three text
parameters, which are event type, parameter's key and parameter's value, but you can also
use a simplified version of this action, which will take only one parameter: event type.

Analytics: Cordova (JS)




Enhance can hook into various analytics networks. By default it will track sessions, users and retention.

1) Send a simple analytics event:
Enhance.logEvent('event_type');
2) Send a detailed analytics event:
Enhance.logEvent('event_type', 'event_param_key', 'event_param_value');