Menu

Event Reporting

  • After the SDK initialization is complete, you can call "track" to report data.
  • By default, data is reported when the device is on 3G/4G/5G/WiFi, not when it's on 2G. You can change the setting through enable2GReporting.
  • Only when 30 pieces of event data is cached, event reporting will be triggered, and the reporting interval should be within 30 seconds.
  • Event reporting can be triggered immediately in the following cases:

   1) When user switches into app background or switches back, events "_appStart" "_appEnd" will be generated and reported immediately after checking the cached events.

   2) When the developer calls the "SDK reportEventImmediately" plug-in, event reporting starts immediately after checking the cached events.

Function

SolarEngine.reportEventimmediately();

 

The reported data can be categorized into the following four types:

1. Preset Events: These events are triggered and reported automatically by the SDK according to preset rules. They have specific _event_name such as installation, launch, exit, etc.

2. Predefined Events: These events have predefined meanings and event names in the system. They require developers to report data when the corresponding events occur, such as ad impressions, in-app purchases, etc.

3. Custom Events: These events can be custom defined by developers who need to instrument the code to trigger and report these events.

4. Duration Events: These events track the duration of a specific event.

Note:

       Please do not report custom properties starting with "_", otherwise SDK will abandon its value by default.


Last modified: 2024-12-05Powered by