Unity User Events

User Events

πŸ“˜

Note

If you are using Unity SDK v2.4.2 or below, use the CleverTapBinding instead of CleverTap method.

Record an Event

// record basic event with no properties
 CleverTap.RecordEvent("testEvent");

Record Charged event

// record event with properties
Dictionary<string, object> Props = new Dictionary<string, object>();
Props.Add("testKey", "testValue");
CleverTap.RecordChargedEvent("testEventWithProps", Props);