SensorsAnalyticsSDK supports macOS starting from v3.0.3
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 anonymous ID with custom ID |
Identify Logged-in Users | Identify logged-in users using login ID |
Set User Properties |
|
Collect Data | Automatically collect device information | Automatically collect default device information such as screen width and height, system version, etc. |
Support automatic collection of screen orientation |
Support automatic collection of latitude and longitude information |
Public Properties | Static Common Properties |
Dynamic Common Properties |
Clear Common Properties |
Custom Tracking | Collect Activation (Installation) Events |
Calculate Event Duration |
Custom Code Tracking |
Store Data | Set Upper Limit | Set Local Cache Upper Limit Value |
Delete Local Cache | Delete all events cached locally |
Report Data | Automatic Data Reporting | SDK automatically sends event data under certain conditions |
Manual Data Reporting | SDK supports manual event data reporting |
Debugging Functionality | Debug Mode | Enable / Disable Debug Mode |
Debug logs | Show / Hide debug logs |
Advanced features | App and H5 integration | Event data of H5 after integration is stored and sent by the App SDK |
Compliance | Support compliance requirements |
Predefined properties in macOS SDK
Field name | Type | Display name | Description |
---|
$app_version | String | App version | Version of the app |
$lib | String | SDK type | For example, macOS |
$lib_version | String | SDK version |
|
$manufacturer | String | Device Manufacturer | For example, Apple |
$model | String | Device Model | For example, MacBookPro14,1 |
$os | String | Operating System | For example, macOS |
$os_version | String | Operating System Version | For example, 10.15.2 |
$screen_height | Numeric | Screen Height | For example, 1440 |
$screen_width | Numeric | Screen Width | For example, 2560 |
$wifi | BOOL | Whether WiFi |
|
$network_type | String | Network Type | For example, WiFi |
$is_first_day | Boolean | Whether First Day Visit |
|
$device_id | string | device ID | Default: get serial number, if not available, use UUID |
anonymous_id | string | anonymous ID | Default: get serial number, if not available, use UUID |
login_id | string | login ID | Value passed in the login interface |
$app_id | string | unique identifier of the application | Identifier of the App |
$app_name | string | application name | Name of the application |
$lib_method | String | Event Tracking Method | Triggering method for event tracking |
Previous
User Relationship Mapping (IDM 2.0-C++)
Next
Integrated document(macOS)
Last modified: 2024-12-27