Sensors Weex PluginIt encapsulates commonly used APIs of Sensors Analytics Android and iOS SDK, supporting code tracking and automatic collection of application's launch and exit events.
Table of Contents
SDK Function List
Primary Function | Secondary Function | Specific Function / Description |
---|---|---|
Identify Users | 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 Properties | ||
Collect Data | Automatically collect device information | Automatically collect default device information, such as screen width and height, system version, etc. |
Full Tracking | App Launch (Web packaging not supported) | |
App Quit (Web packaging not supported) | ||
Page View (only supports vue-router) | ||
Element Click | ||
Customized Tracking | Tracking Activation (Installation) Event (Web packaging not supported) | |
Track Event Duration (Web packaging not supported) | ||
Custom Code Tracking | ||
Store Data | Set Upper Limit | Set Local Cache Upper Limit Value (Web packaging not supported) |
Delete Local Cache | Delete all events cached locally (Web packaging not supported) | |
Report Data | Automatic Data Reporting | SDK automatically sends event data after meeting certain conditions (Web packaging not supported) |
Manual Data Reporting | SDK supports manual reporting of event data (Web packaging not supported) | |
Debugging Function | Debugging Mode | Enable / Disable Debug Mode |
Debug Log | Show / Hide Debug Log |
Click Element Support
Element | Android | iOS | Web |
---|---|---|---|
<a> | ![]() | ||
<button> | ![]() | ||
<div> | ![]() | ||
<text> | ![]() | ![]() | ![]() |
<image> | ![]() | ![]() | ![]() |
<list> | ![]() | ||
<cell> | ![]() | ![]() | ![]() |
<recycle-list> | ![]() | ||
<scroller> | ![]() | ![]() | ![]() |
<slider> | ![]() | ||
<textarea> | ![]() | ![]() | ![]() |
<input> | ![]() | ![]() | ![]() |
<richtext> | ![]() | ![]() | ![]() |
App SDK Predefined Events and Properties
Refer to the App SDK Predefined Events and Properties documentation