Sensors Data uni-app SDK includes two parts: uni-app-js plugin and uni-app-native (Android & iOS) plugin.
- If Android/iOS is not included in the package, you can only import the uni-app-js plugin.
- If Android/iOS is included in the package, you need to import both the uni-app-js plugin and the uni-app-native (Android & iOS) plugin.
The uni-app-js plugin encapsulates the common API of Sensors Data for Web, Mini Programs, Android, and iOS SDKs. The uni-app-native plugin encapsulates the common API of Sensors Data for Android and iOS SDKs.
Table of Contents
SDK Feature List
| Primary Features | Secondary Features | Specific Features / Descriptions |
|---|---|---|
| Identify Users | Automatically identify anonymous users | Automatically identify anonymous users using device ID |
| Support replacing with custom anonymous ID | ||
| Identify logged-in users | Identify logged-in users using login ID | |
| Set User Properties | ||
| Collecting Data | Automatically Collect Device Information | Automatically collect default device information, such as screen size, system version, etc. |
| Support automatic collection of screen orientation | ||
| Support automatic collection of latitude and longitude information | ||
| Full tracking | Refer to "uni-app SDK support status" | |
| Custom tracking | Collect activation (installation) events | |
Track event duration
| ||
| Custom code tracking | ||
| Store data | Set the upper limit of local cache
| |
| Delete all events cached locally | ||
| Report data | Automatically report data | The SDK automatically sends event data after meeting certain conditions
|
| Manual Data Reporting | SDK supports manual event data reporting | |
| Debugging Function | Debug Mode | Enable/Disable Debug Mode |
| Debug Logs | Show/Hide Debug Logs | |
| Advanced Function | DeepLink | Create DeepLink for App promotion |
| Data Encryption | Store and send data after encryption | |
| Integration of App and H5 | Event data from H5 is stored and sent by the App SDK after integration | |
| Compliance | Support compliance requirements |
uni-app SDK support
| Platform/Mini Program | Support status | Data Collection |
|---|---|---|
| Android&iOS |
| |
| Web |
| |
| WeChat Mini Program |
| |
| Baidu Mini Program |
| |
| AliPay Mini Program |
| |
| TikTok Mini Program |
|
Predefined Events and Properties in App SDK
Refer to the documentation on Predefined Events and Properties in App SDK