iOS SDK
|
Collect
Sensors Data official iOS SDK, a lightweight data collection and tracking SDK for iOS. The Sensors Analytics iOS SDK not only supports code tracking, but also implements full tracking (no tracking, no code tracking, no trace tracking, automatic tracking) for iOS through the use of relevant technologies in the Runtime mechanism, click tracking, and visual tracking.
1. Table of Contents
Note
- For details about iOS A/B Testing, refer to A/B Testing Guide.
- For details about Sensors Data Intelligent Operation (pop-ups and push notifications), refer to the iOS Intelligent Operation Guide.
2. SDK Feature List
Primary Features | Secondary Features | Specific Features / Descriptions |
---|---|---|
User Identification | Automatic identification of anonymous users | Automatic use of device ID to identify anonymous users |
Support for replacing with custom anonymous ID | ||
Identify logged-in users | Identify logged-in users using login ID | |
Set user attributes | ||
Collect Data | Automatically collect device information | Automatically collect default device information, such as screen width and height, system version number, etc. |
Support automatic collection of screen orientation | ||
Support automatic collection of latitude and longitude information | ||
Full in-point | App start | |
App exit | ||
App page view | ||
App element click | ||
Common properties | Static common properties | |
Dynamic common properties | ||
Clear common properties | ||
Custom in-point | Collect activation (installation) events | |
Calculate event duration | ||
Custom code in-point | ||
Store data | Set upper limit | Set local cache upper limit value |
Delete local cache | Delete all events cached locally | |
Data reporting | Automatic data reporting | The SDK automatically sends event data under certain conditions |
Manual data reporting | The SDK supports manual reporting of event data | |
Debugging function | Debugging mode | Enable / disable debugging mode |
Debug logs | Show / hide debug logs | |
Visualization and analysis | Visualized full tracking | Filter out key events in a visual way for further analysis |
App click analysis | Visually display user clicks in the app | |
DeepLink | Create DeepLink for app promotion | |
Advanced Features | Data Encryption | Data storage and transmission after data encryption |
Integration of App and H5 | Event data from H5 after integration is stored and transmitted by App SDK | |
Compliance | Support compliance requirements | |
Collect Push Click Events | SDK automatically collects push click events[1] | |
SDK Collection Control | Control whether the SDK is enabled or disabled |
Note[1]: The method for enabling on the iOS platform can refer to the documentation.
3. iOS SDK Third-party Framework Support
The support information of the full embedding point for the third-party framework is as follows:
Third-party Frameworks | App Launch | App Exit | App Page View | App Element Click |
---|---|---|---|---|
React Native | ||||
mPaaS | ||||
Flutter | ||||
Weex | ||||
Cordova | ||||
APICloud | ||||
Cocos2d-x | ||||
Unity |
4. iOS SDK Predefined Events and Properties
Refer to App SDK Predefined Events and Properties Documentation
Note: The content of this document is a technical document that provides details on how to use the Sensors product and does not include sales terms; the specific content of enterprise procurement products and technical services shall be subject to the commercial procurement contract.