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 FunctionsSecondary FunctionsSpecific Functions / Descriptions
User IdentificationAutomatically identify anonymous usersAutomatically use device ID to identify anonymous users
Support replacing with custom anonymous ID
Identify logged-in usersUse login ID to identify logged-in users
Set user attributes
Data CollectionAutomatically collect device informationAutomatically collect default device information such as screen width and height, system version number, etc.
Full-dockingApp Launch
App Exit
Public PropertiesStatic Public Properties
Clear Public Properties
Custom TrackingTrack Activation (Installation) Event
Track Event Duration
Custom Code Tracking
Store DataSet LimitSet Local Cache Limit Value
Delete Local CacheDelete all events cached locally
Report DataAutomatically Report DataSDK automatically sends event data after meeting certain conditions
Manually Report DataSDK supports manual reporting of event data
Debugging FunctionalityDebug ModeEnable/Disable Debug Mode
Debug LogsShow/Hide Debug Logs
Advanced FeaturesData EncryptionStore and send data after encryption
ComplianceSupport compliance requirements
Track Push Click EventsSDK 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

PlatformAndroidiOS
Support


App SDK Predefined Events and Properties

Refer to App SDK Predefined Events and Properties Documentation