在android应用程序中使用Mixpanel获取用户名
我已经将Mixpanel API集成到我的项目中。当用户登录时,我已使他们成为唯一用户,如下所示在android应用程序中使用Mixpanel获取用户名,android,mixpanel,Android,Mixpanel,我已经将Mixpanel API集成到我的项目中。当用户登录时,我已使他们成为唯一用户,如下所示 //To track the login success event JSONObject properties = new JSONObject(); try { properties.put("Page","Login");
//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 您需要指定这些属性