How to Target Ads Precisely While Protecting User Privacy - Huawei Developers

Background​
When using an app, if pop-up ads keep appearing when we browse app pages but we are not interested in the advertised content, not only will our browsing experience be negatively affected, but we will also quickly become tired of the advertised content. Unwanted ads are usually annoying. Aimless ad targeting and delivery will result in the wrong ads being sent to users and cause poor ad performance.
So, as publishers, how do we guarantee that we can deliver ads to audiences who will be interested in them and how can we decrease users' resistance to advertising? The answer is to collect information about the user requirements of your target audiences or to really know them, and to do so in a way that causes the least annoyance. But when a user is unwilling to share their personal data, such as age, gender, and interests, with my app, placing an ad based on the page that the user is browsing is a good alternative.
For example, a user is reading an article in a news app about the fast-paced development of electric vehicles, rapidly improving battery technology, and the expansion of charging stations in cities. If the targeted advertising mechanism understands the context of the article, when users continue to read news articles in the app, they may see native ads from nearby car dealerships for test driving electric vehicles or ads about special offers for purchasing electric vehicles of a certain brand. In this way, user interests can be accurately discovered, and publishers can perform advertising based on the keywords and other metadata included in the contextual information of the app page, or any other content users are reading or watching, without having to collect users' personal information.
But I can't integrate these features all by myself, so I started searching for tools to help me request and deliver ads based on the contextual information on an app page. That's when I had the great fortune to discover Ads Kit of HMS Core. Ads Kit supports personalized and non-personalized ads. Personalized ad requests require users to grant the app access to some of their personal information, which may not be palatable for some users. Non-personalized advertising, however, is not constrained by this requirement.
Non-personalized ads are not based on users' past behavior. Instead, they target audiences using contextual information. The contextual information includes the user's rough geographical location (such as city) authorized by the user, basic device information (such as the mobile phone model), and content of the current app or search keyword. When a user browses a piece of content in your app, or searches for a topic or keyword to express a specific interest, the contextual ad system scans a specific word or a combination of words, and pushes an ad based on the page content that the user is browsing.
Today, data security and personal privacy requirements are becoming more and more stringent. Many users are very hesitant to provide personal information, which means that precise ad delivery is becoming harder and harder to achieve. Luckily, Ads Kit requests ads based on contextual information, enabling publishers to perform ad delivery with a high degree of accuracy while protecting user privacy and information.
Now let's take a look at the simple steps we need to perform in order to quickly integrate Ads Kit and perform contextual advertising.
Integration Steps​
1. Ensure that the following prerequisites are met before you integrate the Ads Kit:
HMS Core (APK) 4.0.0.300 or later should be installed on devices. If the APK is not installed or an earlier version has been installed, you will not be able to call the APIs of the Ads Kit.
Before you begin the integration process, make sure that you have registered as a Huawei developer and completed identity verification on HUAWEI Developers.
Create a project and add an app to the project for later SDK integration.
2. Import the Ads SDK.
You can integrate the Ads SDK using the Maven repository.
That is, before you start developing an app, configure the Maven repository address for Ads SDK integration in your Android Studio project.
The procedure for configuring the Maven repository address in Android Studio is different for Gradle plugin versions earlier than 7.0, Gradle plugin 7.0, and Gradle plugin versions 7.1 and later. Configure the Maven repository address accordingly based on your Gadle plugin version.
3. Configure network permissions.
To allow apps to use cleartext HTTP and HTTPS traffic on devices with targetSdkVersion 28 or later, configure the following information in the AndroidManifest.xml file:
Code:
<application
...
android:usesCleartextTraffic="true"
>
...
</application>
4. Configure obfuscation scripts.
Before building the APK, configure the obfuscation configuration file to prevent the SDK from being obfuscated.
Open the obfuscation configuration file proguard-rules.pro in your app's module directory of your Android project, and add configurations to exclude the SDK from obfuscation.
Code:
-keep class com.huawei.openalliance.ad.** { *; }
-keep class com.huawei.hms.ads.** { *; }
5. Initialize the SDK.
You can initialize the SDK in the activity, or initialize the SDK by calling the HwAds.init(Context context) API in the AdSampleApplication class upon app launch. The latter method is recommended, but you have to implement the AdSampleApplication class by yourself.
6. Request ads based on contextual information.
The SDK provides the setContentBundle method in the AdParam.Builder class for you to pass contextual information in an ad request.
The sample code is as follows:
Code:
RewardAd rewardAd = new RewardAd(this, rewardId);
AdParam.Builder adParam = new AdParam.Builder();
String mediaContent = "{\"channelCategoryCode\":[\"TV series\"],\"title\":[\"Game of Thrones\"],\"tags\":[\"fantasy\"],\"relatedPeople\":[\"David Benioff\"],\"content\":[\"Nine noble families fight for control over the lands of Westeros.\"],\"contentID\":[\"123123\"],\"category\":[\"classics\"],\"subcategory\":[\"fantasy drama\"],\"thirdCategory\":[\"mystery\"]}\n";
adParam.setContentBundle(mediaContent);
rewardAd.loadAd(adParam.build(), new RewardAdLoadListener());
Conclusion​Nowadays, advertising is an important way for publishers to monetize their apps and content, and how to deliver the right ads to the right audiences has become a key focus point. In addition to creating high quality ads, significant efforts should be placed on ensuring precise ad delivery. As an app developer and publisher, I was always searching for methods to improve ad performance and content monetization in my app. In this article, I briefly introduced a useful tool, Ads Kit, which helps publishers request ads based on contextual information, without needing to collect users' personal information. What's more, the integration process is quick and easy and only involves a few simple steps. I'm sure you'll find it useful for improving your app's ad performance.
References​Development Guide of Ads Kit

Related

[AppsUP] Collection of Integration Cases for Analytics Kit

AppsUP contest has been launched since June 30. If you missed the optimal chance to participate in, hurry up now. This time I will share the collection of integration cases for Analytics Kit. If you still have no idea about integrating this kit. Hope this can help you know it better.
Huawei Mobile Services (HMS) Analytics Kit Implementation and Usage for Android
In this article, the author tries to explain Huawei Analytics Kit implementation for an Android app. In addition, he will create a demo project and check analysis on AppGallery Connect dashboard.
Analytics Kit – Customize START and END Analytics page events for no activity pages
This articles helps users to know how to track a specific navigation events for start or end pages in fragments or any specific space.
Data Export API of Analytic Kit
Data export functions is very useful for developers who use their own prefer Business intelligence (BI) system for unified data analysis.
Using advanced Analytics events with Kotlin
This post aims to help developers use Kotlin to implement the Advanced Analytics feature in their codebase.
Demystifying Data Binding - Android Jetpack Part 1 – Novice
Using data binding can lead to faster development times, faster execution times and easier to read (and maintain) code. In this article we will learn about Data binding library from Novoice mode to Proficient mode
Demystifying Data Binding - Android Jetpack Part 2 – Advanced
Data Binding allows you to bind data and UI elements so that when the data changes, the pertinent elements are updated on screen.
Demystifying Data Binding - Android Jetpack Part 3 – Proficient
Data Binding can be achieved by using main components of MVVM i.e. Live Data and View Model. In this article, the author introduces the proficient way to receives the latest available data If an activity or fragment is recreated due to a configuration change (for instance, device rotation).
Optimize Conversion Rate Using A/B Testing
With Huawei Analytics Kit, A/B testing can be a fantastic method to obtain valuable insight regarding visitor behavior and to improve applications or website conversion rate.
Multi-dimensional Event Analysis|HUAWEI Analytics Kit (1)
HUAWEI Analytics Kit is a one-stop data analysis platform for mobile app developers that utilizes data to drive daily app operations, bringing out dynamic details in a comprehensive, timely, and efficient manner.
Change your Data Storage in a Published App
This article explains how to generate a work order for changing this data storage once your app has been released with a different one than the one you need.
Related articles you can refer:
[AppsUP] Collection of Integration Cases for Account Kit
[AppsUP] Collection of Integration Cases for Map Kit
[AppsUP] Collection of Integration Cases for Push Kit
If you want to know other cases about this kit, let your comment below or ask your questions in HUAWEI Developer Forum.

Four Highlights in HUAWEI Analytics Kit 5.2.0 that Unlock the Power of Data

HUAWEI Analytics Kit 5.2.0 offers a one-stop solution for enterprises that are digitalizing their operations, with scenario-specific applications, as well as comprehensive capabilities spanning data collection, management, analysis, and usage. The Kit is dedicated to high-precision new user acquisition, refined operations, and unlocking the full of data for a wide range of enterprises.
Highlights in Analytics Kit 5.2.0 include:
l The addition of channel analysis reports to comprehensively evaluate the number and quality of new users acquired via different app stores, for improved ROI.
l An enhanced install attribution function for distinguishing between paid traffic and organic traffic on an intelligent basis, and tracking app installation sources, for high-precision new user acquisition.
l The release of a wealth of user profile tags, supporting targeted operations and precision marketing.
l The addition of an SDK for quick apps, for cohesive cross-platform user behavioral analysis.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1 Channel analysis to identify the number and quality of new users acquired via different app stores, for improved ROI.
Enterprises tend to release their apps across different app stores for more impressions, and to reach more users. Even as competition between mobile apps has intensified, we've learned to correctly evaluate the number and quality of new users acquired via different app stores, properly allocate budgets for each app store, and track the loyalty of users acquired via each app store, to boost ROI.
Channel analysis in Analytics Kit uses different data indicators and analysis models to precisely track data on key nodes for app usage from start to finish, as well as evaluate the number and quality of new users acquired via different app stores, helping you adjust your operations strategies accordingly.
To use channel analysis, all you have to do is add the meta-data parameter to the application block in the AndroidManifest.xml file. The sample code is as follows:
1
2
3
4
5
6
7
8<application
……
<meta-data
android:name="install_channel"
android:value="install_channel_value">
</meta-data>
……
</application>
Replace install_channel_value with the app installation source. For example, if the app is installed from HUAWEI AppGallery, replace this parameter value with AppGallery. After completing the configuration and releasing your app to each app store, you'll be able to view the data of each app store in terms of new users, active users, total users, and day-2 retentions of new users in the channel analysis report, as well as comprehensively evaluate the number and quality of new users acquired via different app stores.
Channel analysis can be used to analyze the data from channels such as HUAWEI AppGallery, as well as from Huawei devices. You can choose to configure other installation sources in the SDK and launch your app in a range of different app stores. Data from those app stores can also be obtained by Analytics Kit.
If through the report you find that the number of new users acquired via an app store is above average, but that the number of day-2 retentions of new users is far lower than on other app stores, you can then determine the cause for the low day-2 retention rate. To do this, compare the assets placed in this app store with those placed in other app stores, to exclude the possibility of misplaced materials and an incorrect placement time period. After doing this, you'll be able to prove that users acquired via this app store do not fall under the scope of target users, and that corresponding measures should be taken to reduce your investment in this app store.
In addition, the user behavioral characteristics in different app stores, for example, the preferred startup time, triggering frequency of a purchase event, and member level distribution of HUAWEI AppGallery users, can be analyzed in detail with the help of the user analysis, event analysis, and behavior analysis models.
2 Tracking app installation sources to target new users
Acquiring target users and determining the optimal channels for placement are high priorities for enterprises. Install attribution provided by Analytics Kit can distinguish between paid traffic and organic traffic, and track the marketing activities that cause new users to install your app. It enables you to view the number and proportion of users brought by each marketing channel, type of media, and task, and tailor marketing strategies to maximize value.
You'll need to design a promotional link based on the requirements outlined by HUAWEI AppGallery or HUAWEI Ads Kit, customize the UTM parameters (a set of parameters for tracking channel traffic), and configure the promotional link on Analytics Kit, before ultimately placing the link on the desired platforms. When a user clicks on the link to download the app, and opens it for the first time, the Analytics SDK will automatically call the API for HUAWEI AppGallery or Ads Kit to query the UTM parameters, and match the user with the suitable marketing channel, type of media, and task. An install attribution report is then generated.
* Principles of install attribution
* Example of the installation source configuration
In addition, you can create a promotional link for your app through App Linking, and customize UTM parameters to track the efficacy of the ad campaign. If a user who has installed the app clicks on the promotional link, the user will be redirected to the deep link specified by App Linking; if the user has not installed the app, the user will be redirected to the corresponding app store (or customized website) to install the app. After the app is installed, the user will be taken directly to the deep link upon opening the app.
The Analytics SDK automatically collects data related to the App Linking click event. If you create a promotional link through App Linking and set related tracking parameters, go to HUAWEI Analytics > Event analysis to view the multi-dimensional details related to the App Linking client event, including the marketing channel, marketing media, and marketing task name, for a comprehensive evaluation of how effective your ad or promotional activity has been.
3 Releasing user profile tags, for flexible and precise audience creation
Analytics Kit uses machine learning algorithms that are based on 30+ automatically collected events, 20+ automatically collected user attributes, and 10+ visualized data analysis reports, to release a wide range of user profile tags, such as app uninstalled, days since app uninstallation, average uses in last 7 days, first payment, with app account, consumption times in last 7 days, and consecutive active days.
You can flexibly select a tag to create an audience, and perform precise marketing with the help of other HMS services as well, including Push Kit, A/B Testing, Remote Configuration, and SMS marketing, or gain insight into behaviors and attributes of users within an audience based on other reports.
For example, if you want to improve the consumption frequency of paying users, you can select tags for paying users and consumption times tier in last 7 days, to create an audience consisting of paying users who have made relatively few purchases and who have not made any purchases over the previous seven days. Then, you can make use of functions like Push Kit and App Messaging to send out messages about coupons and the release of new products to the audience.
4 Supporting for quick apps
Quick apps are a new form of installation-free apps that have been well received by users due to their unique attributes, leading to reduced costs, a native experience, and high user retention rate. Many enterprises have launched quick apps of their owns, and to meet the requirements for comprehensive user behavioral analysis, Analytics Kit 5.2.0 offers an SDK for quick apps, in addition to the support for the Android, iOS, and Web platforms.
Analytics Kit 5.2.0 offers the following features, to ensure partners enjoy optimized data analysis products:
l Channel analysis and install attribution reports based on user requirements, resolving the challenge of user source tracking for new user acquisition.
l Wide-range of user profile tags for flexible audience creation and refined operations.
l Comprehensive user behavioral analysis on Android, iOS, Web, and quick apps.
With its user-centric approach, Analytics Kit will continue to explore new methods for extracting more value from data, and empowering enterprises with new capabilities.
To learn more, click here to get the free trial for the demo, or visit our official website to access the development documents for Android, iOS, Web, and Quick App

Four Highlights in HUAWEI Analytics Kit 5.2.0 that Unlock the Power of Data

HUAWEI Analytics Kit 5.2.0 offers a one-stop solution for enterprises that are digitalizing their operations, with scenario-specific applications, as well as comprehensive capabilities spanning data collection, management, analysis, and usage. The Kit is dedicated to high-precision new user acquisition, refined operations, and unlocking the full of data for a wide range of enterprises.
Highlights in Analytics Kit 5.2.0 include:
l The addition of channel analysis reports to comprehensively evaluate the number and quality of new users acquired via different app stores, for improved ROI.
l An enhanced install attribution function for distinguishing between paid traffic and organic traffic on an intelligent basis, and tracking app installation sources, for high-precision new user acquisition.
l The release of a wealth of user profile tags, supporting targeted operations and precision marketing.
l The addition of an SDK for quick apps, for cohesive cross-platform user behavioral analysis.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1 Channel analysis to identify the number and quality of new users acquired via different app stores, for improved ROI.​
Enterprises tend to release their apps across different app stores for more impressions, and to reach more users. Even as competition between mobile apps has intensified, we've learned to correctly evaluate the number and quality of new users acquired via different app stores, properly allocate budgets for each app store, and track the loyalty of users acquired via each app store, to boost ROI.
Channel analysis in Analytics Kit uses different data indicators and analysis models to precisely track data on key nodes for app usage from start to finish, as well as evaluate the number and quality of new users acquired via different app stores, helping you adjust your operations strategies accordingly.
To use channel analysis, all you have to do is add the meta-data parameter to the application block in the AndroidManifest.xml file. The sample code is as follows:
Code:
<application
……
<meta-data
android:name="install_channel"
android:value="install_channel_value">
</meta-data>
……
</application>
Replace install_channel_value with the app installation source. For example, if the app is installed from HUAWEI AppGallery, replace this parameter value with AppGallery. After completing the configuration and releasing your app to each app store, you'll be able to view the data of each app store in terms of new users, active users, total users, and day-2 retentions of new users in the channel analysis report, as well as comprehensively evaluate the number and quality of new users acquired via different app stores.
Channel analysis can be used to analyze the data from channels such as HUAWEI AppGallery, as well as from Huawei devices. You can choose to configure other installation sources in the SDK and launch your app in a range of different app stores. Data from those app stores can also be obtained by Analytics Kit.
If through the report you find that the number of new users acquired via an app store is above average, but that the number of day-2 retentions of new users is far lower than on other app stores, you can then determine the cause for the low day-2 retention rate. To do this, compare the assets placed in this app store with those placed in other app stores, to exclude the possibility of misplaced materials and an incorrect placement time period. After doing this, you'll be able to prove that users acquired via this app store do not fall under the scope of target users, and that corresponding measures should be taken to reduce your investment in this app store.
In addition, the user behavioral characteristics in different app stores, for example, the preferred startup time, triggering frequency of a purchase event, and member level distribution of HUAWEI AppGallery users, can be analyzed in detail with the help of the user analysis, event analysis, and behavior analysis models.
2 Tracking app installation sources to target new users​Acquiring target users and determining the optimal channels for placement are high priorities for enterprises. Install attribution provided by Analytics Kit can distinguish between paid traffic and organic traffic, and track the marketing activities that cause new users to install your app. It enables you to view the number and proportion of users brought by each marketing channel, type of media, and task, and tailor marketing strategies to maximize value.
You'll need to design a promotional link based on the requirements outlined by HUAWEI AppGallery or HUAWEI Ads Kit, customize the UTM parameters (a set of parameters for tracking channel traffic), and configure the promotional link on Analytics Kit, before ultimately placing the link on the desired platforms. When a user clicks on the link to download the app, and opens it for the first time, the Analytics SDK will automatically call the API for HUAWEI AppGallery or Ads Kit to query the UTM parameters, and match the user with the suitable marketing channel, type of media, and task. An install attribution report is then generated.
* Principles of install attribution
* Example of the installation source configuration
In addition, you can create a promotional link for your app through App Linking, and customize UTM parameters to track the efficacy of the ad campaign. If a user who has installed the app clicks on the promotional link, the user will be redirected to the deep link specified by App Linking; if the user has not installed the app, the user will be redirected to the corresponding app store (or customized website) to install the app. After the app is installed, the user will be taken directly to the deep link upon opening the app.
The Analytics SDK automatically collects data related to the App Linking click event. If you create a promotional link through App Linking and set related tracking parameters, go to HUAWEI Analytics > Event analysis to view the multi-dimensional details related to the App Linking client event, including the marketing channel, marketing media, and marketing task name, for a comprehensive evaluation of how effective your ad or promotional activity has been.
3 Releasing user profile tags, for flexible and precise audience creation​Analytics Kit uses machine learning algorithms that are based on 30+ automatically collected events, 20+ automatically collected user attributes, and 10+ visualized data analysis reports, to release a wide range of user profile tags, such as app uninstalled, days since app uninstallation, average uses in last 7 days, first payment, with app account, consumption times in last 7 days, and consecutive active days.
You can flexibly select a tag to create an audience, and perform precise marketing with the help of other HMS services as well, including Push Kit, A/B Testing, Remote Configuration, and SMS marketing, or gain insight into behaviors and attributes of users within an audience based on other reports.
For example, if you want to improve the consumption frequency of paying users, you can select tags for paying users and consumption times tier in last 7 days, to create an audience consisting of paying users who have made relatively few purchases and who have not made any purchases over the previous seven days. Then, you can make use of functions like Push Kit and App Messaging to send out messages about coupons and the release of new products to the audience.
4 Supporting for quick apps​Quick apps are a new form of installation-free apps that have been well received by users due to their unique attributes, leading to reduced costs, a native experience, and high user retention rate. Many enterprises have launched quick apps of their owns, and to meet the requirements for comprehensive user behavioral analysis, Analytics Kit 5.2.0 offers an SDK for quick apps, in addition to the support for the Android, iOS, and Web platforms.
Analytics Kit 5.2.0 offers the following features, to ensure partners enjoy optimized data analysis products:
l Channel analysis and install attribution reports based on user requirements, resolving the challenge of user source tracking for new user acquisition.
l Wide-range of user profile tags for flexible audience creation and refined operations.
l Comprehensive user behavioral analysis on Android, iOS, Web, and quick apps.
With its user-centric approach, Analytics Kit will continue to explore new methods for extracting more value from data, and empowering enterprises with new capabilities.
To learn more, click here to get the free trial for the demo, or visit our official website to access the development documents for Android, iOS, Web, and Quick App
Our official website
Demo for Analytics Kit
Our Development Documentation page, to find the documents you need:
Android SDK
iOS SDK
Web SDK
Quick APP SDK
If you have any questions about HMS Core, you can post them in the community on the HUAWEI Developers website or submit a ticket online.
We’re looking forward to seeing what you can achieve with HUAWEI Analytics!
More Information
To join in on developer discussion forums
To download the demo app and sample code
For solutions to integration-related issues
Checkout in forum

Four Highlights in HUAWEI Analytics Kit 5.2.0 that Unlock the Power of Data

HUAWEI Analytics Kit 5.2.0 offers a one-stop solution for enterprises that are digitalizing their operations, with scenario-specific applications, as well as comprehensive capabilities spanning access, data management, analysis, and usage. The Kit is dedicated to high-precision new user acquisition, refined operations, and unlocking the full of data for a wide range of enterprises.
Highlights in Analytics Kit 5.2.0 include:
The addition of channel analysis reports to comprehensively evaluate the number and quality of new users acquired via different app stores, for improved ROI.
An enhanced install attribution function for distinguishing between paid traffic and organic traffic on an intelligent basis, and tracking app installation sources, for high-precision new user acquisition.
The release of a wealth of user profile tags, supporting targeted operations and precision marketing.
The addition of an SDK for quick apps, for cohesive cross-platform user behavioral analysis.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1 Channel analysis to identify the number and quality of new users acquired via different app stores, for improved ROI.​Enterprises tend to release their apps across different app stores for more impressions, and to reach more users. Even as competition between mobile apps has intensified, we've learned to correctly evaluate the number and quality of new users acquired via different app stores, properly allocate budgets for each app store, and track the loyalty of users acquired via each app store, to boost ROI.
Channel analysis in Analytics Kit uses different data indicators and analysis models to precisely track data on key nodes for app usage from start to finish, as well as evaluate the number and quality of new users acquired via different app stores, helping you adjust your operations strategies accordingly.
To use channel analysis, all you have to do is add the meta-data parameter to the application block in the AndroidManifest.xml file. The sample code is as follows:
<application
……
<meta-data
android:name="install_channel"
android:value="install_channel_value">
</meta-data>
……
</application>
Replace install_channel_value with the app installation source. For example, if the app is installed from HUAWEI AppGallery, replace this parameter value with AppGallery. After completing the configuration and releasing your app to each app store, you'll be able to view the data of each app store in terms of new users, active users, total users, and day-2 retentions of new users in the channel analysis report, as well as comprehensively evaluate the number and quality of new users acquired via different app stores.
Channel analysis can be used to analyze the data from channels such as HUAWEI AppGallery, as well as from Huawei devices. You can choose to configure other installation sources in the SDK and launch your app in a range of different app stores. Data from those app stores can also be obtained by Analytics Kit.
If through the report you find that the number of new users acquired via an app store is above average, but that the number of day-2 retentions of new users is far lower than on other app stores, you can then determine the cause for the low day-2 retention rate. To do this, compare the assets placed in this app store with those placed in other app stores, to exclude the possibility of misplaced materials and an incorrect placement time period. After doing this, you'll be able to prove that users acquired via this app store do not fall under the scope of target users, and that corresponding measures should be taken to reduce your investment in this app store.
In addition, the user behavioral characteristics in different app stores, for example, the preferred startup time, triggering frequency of a purchase event, and member level distribution of HUAWEI AppGallery users, can be analyzed in detail with the help of the user analysis, event analysis, and behavior analysis models.
2 Tracking app installation sources to target new users​Acquiring target users and determining the optimal channels for placement are high priorities for enterprises. Install attribution provided by Analytics Kit can distinguish between paid traffic and organic traffic, and track the marketing activities that cause new users to install your app. It enables you to view the number and proportion of users brought by each marketing channel, type of media, and task, and tailor marketing strategies to maximize value.
You'll need to design a promotional link based on the requirements outlined by HUAWEI AppGallery or HUAWEI Ads Kit, customize the UTM parameters (a set of parameters for tracking channel traffic), and configure the UTM parameters in AppGallery Connect, before ultimately placing the link on the desired platforms. When a user clicks on the link to download the app, and opens it for the first time, the Analytics SDK will automatically call the API of HUAWEI AppGallery or Ads Kit to query the UTM parameters, and obtain the marketing channel, type of media, and task used to acquire this user. An install attribution report is then generated.
* Principles of install attribution
* Example of the installation source configuration
In addition, you can create a promotional link for your app through App Linking, and customize UTM parameters to track the efficacy of the ad campaign. If a user who has installed the app clicks on the promotional link, the user will be redirected to the deep link specified by App Linking; if the user has not installed the app, the user will be redirected to the corresponding app store (or customized website) to install the app. After the app is installed, the user will be taken directly to the deep link upon opening the app.
The Analytics SDK automatically collects data related to the App Linking click event. If you create a promotional link through App Linking and set related tracking parameters, go to HUAWEI Analytics > Event analysis to view the multi-dimensional details related to the App Linking client event, including the marketing channel, marketing media, and marketing task name, for a comprehensive evaluation of how effective your ad or promotional activity has been.
3 Releasing user profile tags, for flexible and precise audience creation​Analytics Kit uses machine learning algorithms that are based on 30+ automatically collected events, 20+ automatically collected user attributes, and 10+ visualized data analysis reports, to release a wide range of user profile tags, such as app uninstalled, days since app uninstallation, average uses in last 7 days, first payment, with app account, consumption times in last 7 days, and consecutive active days.
You can flexibly select a tag to create an audience, and perform precise marketing with the help of other HMS services as well, including Push Kit, A/B Testing, Remote Configuration, and SMS marketing, or gain insight into behaviors and attributes of users within an audience based on other reports.
For example, if you want to improve the consumption frequency of paying users, you can select tags for paying users and consumption times tier in last 7 days, to create an audience consisting of paying users who have made relatively few purchases and who have not made any purchases over the previous seven days. Then, you can make use of functions like Push Kit and App Messaging to send out messages about coupons and the release of new products to the audience.
4 Supporting for quick apps​Quick apps are a new form of installation-free apps that have been well received by users due to their unique attributes, leading to reduced costs, a native experience, and high user retention rate. Many enterprises have launched quick apps of their owns, and to meet the requirements for comprehensive user behavioral analysis, Analytics Kit 5.2.0 offers an SDK for quick apps, in addition to the support for the Android, iOS, and Web platforms.
Analytics Kit 5.2.0 offers the following features, to ensure partners enjoy optimized data analysis products:
 Channel analysis and install attribution reports based on user requirements, resolving the challenge of user source tracking for new user acquisition.
 Wide-range of user profile tags for flexible audience creation and refined operations.
 Comprehensive user behavioral analysis on Android, iOS, Web, and quick apps.
With its user-centric approach, Analytics Kit will continue to explore new methods for extracting more value from data, and empowering enterprises with new capabilities.
To learn more, click here to get the free trial for the demo, or visit our official website to access the development documents for Android, iOS, Web, and Quick App.
Does it shows data in real time?
Basavaraj.navi said:
Does it shows data in real time?
Click to expand...
Click to collapse
Hi, HMS Core Analytics Kit supports to show the data of past 30 min in real time. You can check more details of HMS Core Analytics Kit via this link: https://developer.huawei.com/consum...ntroduction-0000001050745149?ha_source=hmsxds
Thank you.

HDC 2021: HUAWEI DTM Helps Developers Track Data Without Coding

From October 22 to 24, the HUAWEI DEVELOPER CONFERENCE 2021 (HDC.Together) was held in Songshan Lake, Dongguan. At the HMS Core 6.0: App Services technical session, the product executive of HUAWEI Dynamic Tag Manager (DTM) gave a speech on codeless tag management, and detailed the functions and advantages of DTM, attracting much attention from the audience.
As a tag management system, DTM can help developers flexibly manage data tracking tags for their apps without coding, empowering them to dynamically track specific events and report data to third-party analytics platforms with ease. Such a feature piqued the interests of many developers who attended the conference.
To explain how data is collected and reported without coding, let's look at the DTM service process in the figure above. DTM consists of a cloud portal and client. Developers can create a configuration file on the portal, which is then downloaded by the DTM SDK integrated into their apps. When a user clicks an ad or button in the app, the DTM SDK will collect, process, and send data based on the configuration file. The data can then be sent to HUAWEI Analytics or third-party analytics platforms as required. The configuration process is highly flexible, and even operations personnel with no coding experience can quickly create a configuration file on their own, reducing the workload of programmers.
During the HMS Core 6.0: App Services technical session, the product executive demonstrated how to use DTM with an online shopping app. When a user taps Add to Shopping Cart, the shopping app reports an event containing relevant data to a third-party analytics platform. To implement this feature, we can create a configuration file on DTM, which consists of three parts:
When to report data: This part determines when data will be reported, such as when a user taps the Add to Shopping Cart button.
What data to send: This part configures which data to be sent to the analytics platform, such as product name, color, and version.
Where data is sent to: This part specifies one or more analytics platforms to which the data is reported, for example, HUAWEI Analytics and HUAWEI Ads.
After such an event is generated, the DTM SDK will quickly collect and send the event to the specified analytics platforms based on the configuration file.
The DTM product executive also introduced another big advantage of DTM, which is visual event tracking. With visual event tracking, the native app or web app screen can be replicated on the DTM portal, allowing marketers and developers to directly add tracking events and parameters by clicking relevant elements on the portal page. This has the effect of considerably improving data collection efficiency.
DTM empowers developers to obtain and distribute data with ease by configuring rules or adding visual events.​
Efficient Ad Conversion Tracking with DTM
During the session, a product expert from HUAWEI Ads gave a presentation on how HUAWEI Ads and DTM work together to track ad conversions efficiently, and shared his experience of using DTM.
Figure: Presentation on how HUAWEI Ads and DTM work together to track ad conversions efficiently​
According to Huawei's statistical data, around 35% of web advertisers now use DTM to promote ad conversions, helping significantly reduce their workloads and improve efficiency. Before using DTM, web advertisers needed to add tracking code to individual web pages, and test and release the code, which is usually a time-consuming process. Following the adoption of DTM, web advertisers can now configure, test, and release tracking events using DTM, reducing the overall process time by 80%. In addition, when tracking events need to be changed, web advertisers can directly do so on the DTM portal without having to write additional code or release an app update, sharply shortening the development period. It comes as no surprise that event tracking with DTM is now the first choice for HUAWEI Ads web advertisers to track conversions on web pages.
Refined Operations with DTM
Figure: Huawei personnel explain DTM functions to developers​
DTM garnered much attention for itself at this year's HDC, thanks to its flexibility, efficiency, low cost, support for multiple platforms, and ability to provide mobile app and web page data tracking without coding. Ultimately, the key advantage of DTM is that it allows operations personnel to easily configure and modify rules for reporting events to various analytics platforms, which not only helps reduce development costs but also allows operations personnel to quickly obtain a wide range of data and adjust their operations strategies accordingly.
To learn more about DTM, please visit:
>> DTM official website
>> DTM development guide
>> DTM codelab
If you have any questions, submit a ticket online.
Thanks for sharing!

Categories

Resources