[AppsUP] Collection of Integration Cases for Analytics Kit - Huawei Developers

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.

Related

[AppsUP] Collection of Integration Cases for Map Kit

More information about AppsUP contest, you can visit HUAWEI Developer Forum​
The AppsUP contest has already been online. You must not miss the impressive contest. In the last post, I have collected cases about Account Kit. Today I want to share the collection of Map Kit with you. Expect they will benefit you a lot.
HMS Map Kit Elucidated: Using React Native
HMS MAP Kit plays vital role in digital cartography. And introduct how to implement the HMS Map in react native application
How to integrate HMS Map Kit, add marker and draw circle
At this tutorial, the author will guide you how to integrate HMS Map to the project. And, also add a marker and draw a circle on the map.
How to implement HMS Map Kit – Xamarin
Huawei Maps support more functions than the Xamarin.Forms. Map like Traffic maps, Map events, Custom pins, Pin drag & drop, Draw lines, Draw Circles and more…To use HUAWEI Map Kit Xamarin SDK
Direction API With Huawei Map Kit (Solution)
HUAWEI Map Kit provides an SDK for map development. It covers map data of more than 200 countries and regions and supports dozens of languages. With this SDK, you can easily integrate map-based functions into your apps. This article will introduce you to how to use the Direction API of Huawei Map Kit.
Map Kit JavaScript API - Solution for cross platforms and web apps
There is another capability of Map Kit which is JavaScript API which provides the basic map display, map interaction, route planning, place search, geocoding, and other functions to meet requirements of most developers. This API can be used for web apps and any JS based cross platforms such as Ionic or Cordova.
Complete Guide [Site kit + Map Kit]
Customers of Huawei maps are business who use maps API like Ecommerce, real estate portals, travel portals etc. and end users who user the Huawei maps application through different devices. End users also experience the maps interface through different search experiences like the local business searches, hotel searches, and flight searches. This article will tell you how to Integrate Map Kit.
How to draw a route and show route steps with HMS Direction API
This tutorial will guide you how to use HMS Direction API, draw a route with polyline and show direction steps.
Setup Map on an Android Application in smart way
Now days, most of the application integrate Maps. This article will give you the process on how to do. Millions of users look up directions, plan their commutes, and catch a ride.as well as touch on the many things available through maps to enhance the user experience in mobile apps.
Add Clustering on Huawei Map. (Solution)
In this Article we will go through and develop Map Clustering feature in Huawei Map. Map clustering is not the Native feature of Huawei Map, we need to use add separate library in our project to achieve the map clustering feature.
[Maps + Directions] Plotting a route between two cities on a map
In this short tutorial, I will guide you step by step on how to plot a route between 2 cities (namely Toronto and Montreal in Canada) on a map using HMS Maps Kit and retrieving the data from Huawei Directions API.
HMS SITE MAP ( PART 1 )
HUAWEI Site Kit provides developers with convenient and secure access to diverse, place-related services. This article will tell you how to integrate HMS Core Site Kit into your apps along with AutoCompleteTextView, TextWatcher and Html format.
HMS SITE MAP ( PART 2 )
This article will tell you how to show a map using Map Kit after fetching the Latitude and Longitude from the details selected. Also you are going to see how to use the Site APIs and Map APIs using POSTMAN.
HMS SITE MAP ( PART 3 )
This article is also going to tell you how to use the Site APIs and Map APIs using POSTMAN.
All About Maps - Episode 1: Showing Routes from GPX files on Maps
This project aim to demonstrate how to implement the same map related use cases with different map providers in one codebase. This project will use Mapbox Maps, Google Maps, and Huawei HMS Map Kit.
All About Maps - Episode 2: Moving Map Camera to Bounded Regions
This episode talk about bounded regions, and the how to add a feature to the project so that camera is moved to a bounded region generated from a central point with a radius value.
Drawing on Map made easy with Huawei Map kit – Part 1
With the Huawei Maps SDK for Android, you can add maps to your application. You can also use API calls to add markers, polygons, and overlays to a basic map, and to change the user's view of a particular map area.
Drawing on Map made easy with Huawei Map kit – Part 2
In last article we learnt how to draw polyline, ground overlay, marker clusters and dragging the image. In this article we will draw polygon and customize hte map style.
I will regularly update this post in the following days. Keep an eye on this.
Any doubts or questions about Map Kit, let me know in the reply.

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!

Analytics Kit 6.3.0: More Industries, More Reports

To provide you with a wealth of industry knowledge that helps digitalize your business, Analytics Kit 6.3.0 comes with reports on more industries.
Here's what's new:
l Added reports on four more industries, including securities, travel, language training, and exercise and health, as well as corresponding event tracking templates, for you to achieve precise operations.
l Added the page path analysis model, for you to quickly locate abnormal churn nodes.
l Added the function of viewing analysis reports using the AppGallery Connect app, for you to analyze data through a mobile device anytime and anywhere.
l Added SDKs for HarmonyOS and WeChat mini-programs, for you to analyze data in various scenarios.
l Added the event mapping capability to the intelligent data access function, for you to map custom events to predefined events.
Four More Industry Reports for Comprehensive Data Analysis
Analytics Kit 6.3.0 unlocks industry reports on securities, travel, exercise and health, and language training, which can be viewed through simple event tracking configuration using templates.
Securities industry analysis reports: They display your app's operations status from multiple aspects including data overview, trading, and news. By focusing on user experience and preferences, they can help you design marketing strategies for target users and scenarios.
Travel industry analysis reports: To help you boost the usage frequency and user stickiness of your app, they provide data indicators related to travel and hotel, so that you can offer one-stop services for a better user experience.
Exercise and health industry analysis reports: Consisting of data overview, payment analysis, behavior analysis, and community and after-sales data, they present comprehensive data to inform you of users' exercise habits and requirements, so that you can improve your app to enhance users' stickiness as well as willingness to pay, making your business unique and competitive.
Language training industry analysis reports: By displaying user preferences from various dimensions throughout the user lifecycle, they can help you identify what actions can be taken to drive business growth.
2. Page Path Analysis Model, for Key Insights into User Behavior
Analytics Kit 6.3.0 has added the page path analysis model, which takes each page as a conversion node. By focusing on abnormal pages with high churn rates, path analysis can deepen your understanding of user requirements for page redirection.
3. Data Analysis Reports at Your Service Anytime and Anywhere
You can view various data analysis reports through the AppGallery Connect app on mobile devices. As the data on mobile devices is synchronized with that on the web page, and displayed in a proper manner through adaptation, you can view data anytime and anywhere to detect abnormalities and formulate targeted plans.
4. SDKs for HarmonyOS and WeChat Mini-Programs, for Data Analysis on More Mobile Devices
By integrating the SDKs for HarmonyOS and WeChat mini-programs, you can analyze data for a range of scenarios. If your apps in the same project apply to multiple platforms, you can filter data by platform for a general overview of your project or detailed data of a specific app. You can also compare the user behavior of different platforms and apps with the comparison capability.
5. Event Mapping, Streamlining the Event Tracking Configuration
Intelligent data access has added the event mapping capability, allowing you to map custom events to predefined events of Analytics Kit, streamlining the event tracking configuration.
In addition, Analytics Kit 6.3.0 has optimized modules such as Event analysis, Audience analysis, and Intelligent data access, to support smoother data analysis.
To learn more about the updates, refer to the version change history. Click here to get the free trial for the demo, or visit our official website to access the development documents for Android, iOS, Web, Quick App, HarmonyOS, and WeChat Mini-Program.
Does it give domain-specific data?
Basavaraj.navi said:
Does it give domain-specific data?
Click to expand...
Click to collapse
Hi~
At present, we provide industry reports for different industries.Which domain-specific data are you referring to?

HMS Core Showcases Future-Facing Open Capabilities at MWC Barcelona 2022, Helping Develop Desired Apps

[Barcelona, Spain, February 28, 2022] At MWC Barcelona 2022 unveiled to the public today, HMS Core was exhibited at three booths in Hall 1 of Fira Gran Via. These booths showcase the brand-new open capabilities released in HMS Core 6 and highlight two types of services in particular: services tailored for graphics and video, 3D product display, and gaming; services designed for better operations and faster growth via sign-in, message pushing, payment, and data analysis. These services address the core needs of today's developers for creating ideal apps.
HMS Core 6, unveiled in October, 2021, supports a wide range of devices, operating systems, and usage scenarios. New kits — like 3D Modeling Kit, Audio Editor Kit, Video Editor Kit, and Keyring — address the needs in fields like app services, graphics, media, and security. To ensure a top-notch development experience across the board, other existing kits were substantially improved.
HMS Core Brings Innovative Services That Enrich Daily Use
Groundbreaking services were available at the booths, services that are designed for fields like graphics and video, 3D product display, and gaming. Such services include:
3D Modeling Kit, which turns object images shot from different angles using an RGB-camera phone into 3D models; AR Engine, which offers basic AR capabilities like motion tracking, environment tracking, body tracking, and face tracking, to help bridge real and virtual worlds via real-time ray tracing; Computer Graphics (CG) Kit, which comes with the Volumetric Fog plugin, to produce highly-realistic fog with real-time interactive lighting; Scene Kit, which offers a real-time ray tracing plugin that simulates reflections on lake water; and AR Measure from Huawei, which integrates AR Engine to accurately measure the length, area, volume of a cube, and height of the human body.
HMS Core Delivers Kits That Make End-to-End Operations Truly Seamless
HMS Core enables developers to deliver a better user experience via sign-in, message pushing, and payment. Thanks to HMS Core's powerful data analysis capabilities, developers are able to manage and promote their apps with remarkable ease, consequently realizing targeted operations and business success. Notable services include:
Account Kit provides quick and secure sign-in, sparing users the complex steps of account registration and sign-in authentication. Push Kit serves as a stable and targeted messaging service with extensive platform support. In-App Purchases (IAP) provides developers with access to different major mobile payment methods (both global and local). Analytics Kit serves as a one-stop data analysis platform to support data collection, data analysis, data insights, and business growth, within a strict user privacy framework.
FairPrice, a Singapore's shopping app that runs on Android, iOS, and Web platforms, has depended on Analytics Kit to make a comprehensive analysis of data from all platforms, so as to make informed product operations decisions throughout the entire user lifecycle.
Looking forward, HMS Core will remain committed to innovative and open solutions, facilitating app development with better services, improving app innovation and operations for a better user experience, and laying the foundation to an all-scenario, all-connected app ecosystem.

How to Target Ads Precisely While Protecting User Privacy

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

Categories

Resources