[Huawei Developers] Efnan Akkus:
1) What is analytics? Why is it used?

How your app is used by users? which pages get more traffic?on which page customers leave the app?

If you want to understand that and direct your future developments accordingly

Analytics is just for you. Understanding user’s habits will help you to make your app better.

If your app is at a certain level or you want to move your app and business forward, you need to use analytics.

To date, there are many services that offer solutions for analytics. Huawei handled analytics as a priority on HMS.

So why would I prefer Huawei Analytics?

Easy to integrate and use

It is very easy to integrate and use the analytics dashboard after integrating Huawei Analytics.

Moreover, you can customize your tables on the dashboard as you wish and you can easily see the data you want to see, not imposed on you.

Reach Huawei users

As you know, google services are not used in the latest Huawei devices. When you integrate Huawei Analytics, you will reach all Huawei users and all other devices users. So Huawei Analytics a connective, not a divider.

Power of HMS Core

Analytics gets its power from HMS Core.

It is very easy to reach all the documents you need for integration or usage of dashboard.When there is a technical problem you can find technical support very easily.

Powerful Analysis Capabilities

[IMG="image1"]https://miro.medium.com/max/1500/1*5f9-C53BymuNvHs-tjjHkA.png[/IMG]

2) How to Integrate Huawei Analytics?

For integrate Huawei Analytics kit to our application, first of all, it is necessary to register in the Huawei developer community

After adding your app to AppGallery Connect, we need to enable Analytics service to usage.

[IMG="image2"]https://miro.medium.com/max/1050/1*e-U3uP6rfDPSltjog7Sf8w.png[/IMG]

After completing the enabling process, we go to the manage API tab from the project settings, activate the analytics service and add the json file on the project settings page to our project and add HMS SDK Dependencies to your project(Note: The order of these processes is important. You should update your json file in case of any service change.).

Add build dependencies to dependencies.

implementation 'com.huawei.hms:hianalytics:4.0.0.303'

Then all you have to do is go to the class you want to collect and start collecting the data.

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//Enable SDK log recording
HiAnalyticsTools.enableLog();
HiAnalyticsInstance instance = HiAnalytics.getInstance(this);
//Or, use context initialization
//Context context = this.getApplicationContext();
//HiAnalyticsInstance instance = HiAnalytics.getInstance(context);
//instance.setUserProfile("userKey","value");
}

You can customize the data to be collected.

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//Enable SDK log recording
HiAnalyticsTools.enableLog();
HiAnalyticsInstance instance=HiAnalytics.getInstance(this);
//Or, use context initialization
//Context context = this.getApplicationContext();
//HiAnalyticsInstance instance = HiAnalytics.getInstance(context);
//instance.setUserProfile("userKey","value");
}

As you can see, we can write just a few lines of code and connect our project with Huawei Analytics. So where and how do we evaluate the data we collect, let’s look at it

3) Viewing Analytics Data

You have a 4 section in welcome page. Overview, Distirbution Analysis, Operation Analysis and Advance Analysis. By default, the Overview page of an app displays its KPIs in all channels (AppGallery and AppTouch), including App impressions, Details page views, New downloads, and In-app purchase amount.

[IMG="image3"]https://miro.medium.com/max/1050/1*uJa3XkDOWox4VDukB2UR8A.png[/IMG]

The Distribution Analysis page displays the app usage and sales data. Use Downloads & installs to measure the installation and usage of your app. Use In-App Purchases and Paid application details to measure the sales of your app.

[IMG="image4"]https://miro.medium.com/max/1050/1*t010reHrlPuOMrzldUTICg.png[/IMG]

With Operation Analysis, you can view the financial reports of your application and set up your future strategies based on this.

[IMG="im6"]https://miro.medium.com/max/1050/1*3tDNfZlpdqQQUntTvZADbA.png[/IMG]

Advanced Analysis is a platform where you can create personalized tables, filter your users and view them according to categories, and instantly track active users and all other data.

[IMG="im8"]https://miro.medium.com/max/1050/1*xGuZQslW_xAYTrLHlmtG6g.png[/IMG]

With Event Analysis Gains insight into user behaviour details. Activity analysis providing gains insight into user loyalty. Funnel analysis gains insight the phase in which user lost.

[IMG="im9"]https://miro.medium.com/max/1050/1*tRFbVdqZaQbCDMBUdkjTLg.png[/IMG]

Huawei Analytics gives us uncountable opportunities to do. As you can see here, your limit is your imagination.

Thanks for reading!

Related Links

Thanks to Mehmet Batuhan Ulper