Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/214.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在android应用程序中使用Mixpanel获取用户名_Android_Mixpanel - Fatal编程技术网

在android应用程序中使用Mixpanel获取用户名

在android应用程序中使用Mixpanel获取用户名,android,mixpanel,Android,Mixpanel,我已经将Mixpanel API集成到我的项目中。当用户登录时,我已使他们成为唯一用户,如下所示 //To track the login success event JSONObject properties = new JSONObject(); try { properties.put("Page","Login");

我已经将Mixpanel API集成到我的项目中。当用户登录时,我已使他们成为唯一用户,如下所示

    //To track the login success event
                        JSONObject properties = new JSONObject();
                        try {
                            properties.put("Page","Login");
                            properties.put("Button","Login Success");
                        } catch(JSONException e) { }
                        mMixpanel.getPeople().identify(emailText.getText().toString().trim());

                        mMixpanel.track("Login Success", properties);
在一些用户登录后,我在Mixpanel web应用程序中使用我的帐户进行了检查。 1.如何获取名称字段?
2.安卓设备栏如所附图片所示。这是什么?有人能在这两个方面提供帮助吗?

您必须添加如下人员属性:

属性。放置(“$name”,“在此处写入名称”)

还有其他属性,如:$created、$first_name、$last_name、$created、$email

您需要指定这些属性