Cocos2d-x Sensory Module encapsulates the Sensors Analytics data statistics Android & iOS SDK. With this module, user behavior data can be collected.
Document Directory
SDK Function List
Primary Functions | Secondary Functions | Specific Functions / Descriptions |
---|---|---|
User Identification | Automatically identify anonymous users | Automatically use device ID to identify anonymous users |
Support replacing with custom anonymous ID | ||
Identify logged-in users | Use login ID to identify logged-in users | |
Set user attributes | ||
Data Collection | Automatically collect device information | Automatically collect default device information such as screen width and height, system version number, etc. |
Full-docking | App Launch | |
App Exit | ||
Public Properties | Static Public Properties | |
Clear Public Properties | ||
Custom Tracking | Track Activation (Installation) Event | |
Track Event Duration | ||
Custom Code Tracking | ||
Store Data | Set Limit | Set Local Cache Limit Value |
Delete Local Cache | Delete all events cached locally | |
Report Data | Automatically Report Data | SDK automatically sends event data after meeting certain conditions |
Manually Report Data | SDK supports manual reporting of event data | |
Debugging Functionality | Debug Mode | Enable/Disable Debug Mode |
Debug Logs | Show/Hide Debug Logs | |
Advanced Features | Data Encryption | Store and send data after encryption |
Compliance | Support compliance requirements | |
Track Push Click Events | SDK automatically track push click events[1] | |
SDK Tracking Control | Online control to enable or disable SDK, or disable the collection of certain events |
Note[1]: For enabling iOS, please refer to the document.
Platform Support
Platform | Android | iOS |
---|---|---|
Support |
App SDK Predefined Events and Properties
Refer to App SDK Predefined Events and Properties Documentation