4.Analysis

4.1 Custom statistics

Android

TJNative.event(String eventId);
TJNative.event(String eventId, String label);
TJNative.event(String eventId, HashMap<String, String> attributes);

iOS

[IOSLoader tj_name:@"eventId"];
[IOSLoader tj_name:@"eventId" value:@"label"];
[IOSLoader tj_name:@"eventId" map:@"attributes"];

Unity

Wb.TjManager.Instance.TJCustomEvent(string eventId);
Wb.TjManager.Instance.TJCustomEvent(string eventId, string label);
Wb.TjManager.Instance.TJCustomEvent(string eventId, Dictionary<string, string> attributes);

parameter:

  • eventId: Event ID counted for the current

  • label:Label properties for events

  • attributes:Event multi label properties

Creator

parameter:

  • eventId: Event ID counted for the current

  • label:Label properties for events

  • attributes:Event multi label properties

4.2 Checkpoint statistics

Android

iOS

Unity

parameter:

  • level:Checkpoint name

  • score:Checkpoint score,Transmitt nil

Creator

parameter:

  • level:Checkpoint name

  • score:Checkpoint score,Transmitt nil

4.3 Recharge statistics

4.3.1 Statistics recharge succeeded

Android

iOS

Unity

parameter:

  • money:Amount of money,dollar

  • coin:Number of diamonds bought

  • source:Recharge channel identification(use PayNative.getDefaultPayType get)

Creator

parameter:

  • money:Amount of money,dollar

  • coin:Number of diamonds bought

  • source:Recharge channel identification(use PayNative.getDefaultPayType get)

4.3.2 Add value and buy props

Android

iOS

Unity

parameter:

  • money:Amount of money,dollar

  • item:Item name bought

  • number:Item number bought

  • price:Item price bought

  • source:Recharge channel identification(use PayNative.getDefaultPayType get)

Creator

parameter:

  • money:Amount of money,dollar

  • item:Item name bought

  • number:Item number bought

  • price:Item price bought

  • source:Recharge channel identification(use PayNative.getDefaultPayType get)

最后更新于

这有帮助吗?