Conversions

connector.conversions for tracking the effectiveness of user acquisition campaigns. It manages user acquisition channels and logs relevant data for analytics purposes.

Currently, only the "levelup" event is supported for logging.

Example usage:

connector.conversions.logEvent("levelup", 5);

Methods

(static) setChannel(channel)

Sets the user acquisition channel

Parameters:
NameTypeDescription
channelObject

The channel object to be set, which will be used for logging events

(static) logEvent(name)

Logs an event with the specified name and value.

Parameters:
NameTypeDescription
namestring

The name of the event to be logged.

any