如何阅读Android应用的Google Analytics事件数据?

时间:2014-04-11 07:26:39

标签: android google-analytics

我想在我的Android应用中跟踪用户操作和用户设置,所以我添加了以下代码(当用户按下特定按钮时执行):

if (user_name != "") has_name = 1;
...
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_name", (long) has_name).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_address", (long) has_address).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_operator", (long) has_operator).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_passport", (long) has_passport).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_phonenumber", (long) has_phonenumber).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_mo_consent", (long) has_mo_consent).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_other_docs", (long) has_other_docs).build());
easyTracker.send(MapBuilder.createEvent("ui_action", "send_mail", "has_screenshot", (long) has_screenshot).build());

easyTracker.send(MapBuilder.createEvent("ui_action", "complaint_region", email_to, null).build()); 

现在我看到特定日期的以下结果 -

EVENT ACTION:send_mail»EVENT CATEGORY:ui_action ea:send_mail-ec:ui_action

活动类别:ui_action»活动行动:complaint_region ec:ui_action_ea:complaint_region

我无法理解 - 不应该是事件总数complaint_region乘以8(send_mail的事件标签数量)等于send_mail总事件数? 76*8 != 1038

主要问题 - 所有用户按下按钮的次数是多少? 76

1 个答案:

答案 0 :(得分:0)

我发现了问题所在 - 我在应用程序的最新版本中添加了complaint_region事件,当时许多用户仍然使用以前的版本。所以,正确答案是 -

~120用户按下按钮~130次。