漏斗中的数据不正确

时间:2017-10-19 11:04:08

标签: android firebase firebase-analytics firebase-remote-config

我为两组用户记录了两个不同的事件。它们在远程配置中指定(50%随机percintile)。事件不应出现在一个用户身上,但在渠道中重叠。什么可以做错了?

OnCompleteListener<Void> onCompleteListener = new OnCompleteListener<Void>() {
            @Override
            public void onComplete(@NonNull Task<Void> task) {
                if (task.isSuccessful()) {
                    mFirebaseRemoteConfig.activateFetched();



                    Boolean shuldShowPremiumDialoginNotification = mFirebaseRemoteConfig.getBoolean("premiumDialogInNotifications");
                    KLog.e(shuldShowPremiumDialoginNotification);
                    SharedPrefsManager.setShowPremiumDialogInNotifiactions(SettingsActivity.this, shuldShowPremiumDialoginNotification);
                    if (shuldShowPremiumDialoginNotification)
                        mFirebaseAnalytics.logEvent("premium_dialog_show_T", null);
                    else
                        mFirebaseAnalytics.logEvent("premium_dialog_show_F", null);


                } else KLog.e("remote config error " + task.getException().getMessage());
            }
        };

        if (mFirebaseRemoteConfig.getInfo().getConfigSettings().isDeveloperModeEnabled()) {
            // This forces Remote Config to fetch from server every time.
            mFirebaseRemoteConfig.fetch(0).addOnCompleteListener(this, onCompleteListener);
        } else {
            mFirebaseRemoteConfig.fetch().addOnCompleteListener(this, onCompleteListener);
        }
}

enter image description here

1 个答案:

答案 0 :(得分:2)

没有错 - 我认为重要的是要了解Firebase Analytics中的漏斗是否打开&#34;漏斗,而不是封闭的漏斗。意味着他们真的不是&#34;有多少人遇到事件A然后遇到事件B&#34;各种图表 - 他们更喜欢,&#34;让我们并排显示事件A和事件B&#34;各种报道。

这就是你在这里看到的。大约有745名用户看到了dialog_T事件,776个用户说出了dialog_F事件,这与您在远程配置设置中看到的内容完全匹配。