In the SDK Privacy and Security Statement (hereinafter referred to as this "Statement"), Huawei Software Technologies Co., Ltd. (hereinafter referred to as "Huawei", "we", "us", or "our") clarifies privacy- and security-related information about the Analytics SDK to developers and their users (end users), including the processing of personal data, purpose of processing, permission usage, and how to obtain the latest version of the Analytics SDK. For details about the rights of end users (data subjects) and how other HMS Core services collect and use personal data, please refer to the HMS Core Privacy Statement.
If you are a developer, make sure that before accessing and using the Analytics SDK and its services, your app provides end users with information about the SDK in its privacy policy. The SDK can only be accessed after obtaining end users' consent or other legal bases.
If you are an end user and want to use an app that has integrated the Analytics SDK, first carefully read the app's privacy policy and use the app only after you fully understand and agree to the policy.
The Analytics SDK allows developers' apps to collect, manage, and analyze data in a quick, secure, and convenient manner.
To provide developers and end users with the SDK and its services, we will collect, use, and store necessary personal data, which is listed in the table below. Developers shall notify end users of such data collection.
The collected device information may vary depending on the platform (web, quick apps, quick games, or WeChat mini-programs) and permission that the developers have declared when integrating and using the SDK.
Personal Data Type | Personal Data to Be Collected | Purpose of Use | Retention Period |
|---|---|---|---|
App information | AAID | To collect and analyze statistics (for example, the number of active users) for different apps. A unique AAID is allocated to each app on the same device, and personal data from different apps is isolated to protect user data privacy and security. | Analytics Kit retains statistical reports and some user-level activity data, which do not automatically expire unless:
|
Basic app information | To support statistical analysis based on the app version, Analytics SDK name, Analytics SDK version, and Analytics SDK platform type. | ||
Basic browser information | To support statistical analysis based on the browser type, browser language, and browser version. | ||
Device information | IP address | To obtain the country or region of the web app user, which is determined based on the IP address of the network equipment that connects to the Analytics Kit server | |
OS, OS version, browser type, screen width, screen height, and system language | To support statistical analysis and service improvement. | ||
App usage information | Event information | To support statistical analysis based on event information, for example:
For more information, please refer to Automatically Collected Events. |
If you are a developer, make sure that before accessing and using the Analytics SDK and its services, your app provides end users with the following information about the Analytics SDK in its privacy policy: SDK name, SDK provider name, categories of personal data to be collected, purposes for the use of such data, and a link to this Statement. Your app shall only allow end users to access the SDK after obtaining their consent or other legal bases. You can display the aforementioned SDK information in either of the following forms:
Third-party SDK: HMS Core Analytics SDK (web)
Provider: Huawei Software Technologies Co., Ltd.
Personal data to be collected: app information, device information, and app usage information
Purpose of use: To provide data collection, management, and analysis services for the app.
Privacy policy: SDK Privacy and Security Statement
Third-Party SDK | Provider | Personal Data to Be Collected | Purpose of Use | Privacy Policy |
|---|---|---|---|---|
HMS Core Analytics SDK (web) | Huawei Software Technologies Co., Ltd. | App information, device information, and app usage information | To provide data collection, management, and analysis services for the app. |
The Analytics SDK may be initialized and collect personal data before the end user gives their consent to the app integrated with the SDK. To prevent this from happening, the SDK provides the agconnect.analytics() API, which can be called to initialize the SDK only after the app has obtained the end user's consent.
The data collection server uses the HTTPS protocol and encrypts the reported data during transmission.
To provide developers with the latest and secure services, we will update the Analytics SDK from time to time. We strongly recommend developers to integrate and use the latest version of the SDK, which can be downloaded by clicking here.
The SDK needs to be loaded to your app during app packaging. It starts when the app is launched and stops as soon as the app is closed, without performing any additional operations in the background.
AAIDs are stored on browsers. Most browsers allow users to disable or clear the client storage. If a user disables or clears the client storage, a new AAID will be generated when the user accesses your web app again.
Data Item | Storage Location | Validity Period | Description |
|---|---|---|---|
HW_ha_restrictionEnabled | Local storage | One year | Indicates whether to disable data analysis. |
HW_ha_analyticsEnabled | Local storage | One year | Indicates whether to enable event tracking. |
HW_ha_eventSessionName | Local storage | 30 minutes | Identifies an event session. Events with the same session name belong to the same session. |
HW_ha_isFirstRun | Local storage | One year | Indicates whether the event of first app launch is reported after the Analytics SDK is integrated. |
HW_ha_firstOpenTime | Local storage | One year | Indicates the time of first app launch after the Analytics SDK is integrated. |
HW_ha_isTestDevice | Local storage | One year | Indicates whether a device is a test device. |
HW_ha_existUserId | Local storage | One year | Indicates whether a user has signed in. |
HW_ha_isNewUser | Local storage | One year | Indicates whether a user is new. |
EXITSCREEN event information | IndexedDB | One year | Parameters of the EXITSCREEN event are stored persistently. When the SDK is started again, the EXITSCREEN event that has not been reported will be reported. |
HW_ha_eventUploadPolicy | localStorage | One year | Records the time interval of the policy for reporting an event at the specified interval and the number of cached events of the policy for reporting an event when the specified threshold is reached. |
The table below describes the recorded parameters of the EXITSCREEN event.
Parameter ID | Parameter Name | Sample |
|---|---|---|
$CurActivityId | Current page ID | https://127.0.0.1:5500/testWeb/second.html |
$CurActivityName | Current page name | https://127.0.0.1:5500/testWeb/second.html |
$Duration | Stay duration | 2736884 |
$PrePageId | Previous page ID | https://127.0.0.1:5500/testWeb/first.html |
$CurrPageId | Current page ID | https://127.0.0.1:5500/testWeb/second.html |
eventtime | Event generation time | 1655194318813 |
event_session_name | Unique ID of an event reporting request | 8f130fd704b74fd6******754159b13c_1655209****** |
first_session_event | Event that first records a session | false |