sendAnalyticEvent

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Generates new analytics events with given values, acceptable value types are string, scalar and bool.
Multiplayer:
Analytics are reserved to official server instances (server or client).
Groups:
Argo

Syntax

Syntax:
sendAnalyticEvent [eventName, keyValuePairs]
Parameters:
eventName: String - unknown possible values
keyValuePairs: Array - format [key, value] where:
Return Value:
Boolean - true when done (not if the analytics were sent), false if the provided array is wrong

Examples

Example 1:
if (onOfficialServer) then { sendAnalyticEvent ["EventName", ["key1", false], ["key2", 1], ["key3", "two"]]; };

Additional Information

See also:
onOfficialServer sendCloudRequest sendCloudRequestClient sendCloudRequestServer

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note