Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User profile are not showing on mixpanel dashborad #751

Closed
Usama75 opened this issue Aug 6, 2021 · 2 comments
Closed

User profile are not showing on mixpanel dashborad #751

Usama75 opened this issue Aug 6, 2021 · 2 comments

Comments

@Usama75
Copy link

Usama75 commented Aug 6, 2021

Here is my code how I am sending user profile. My events are listing in live view but profile of user are not showing under user tab.

try {
jsonObject.put("name", currentUser.szName);
jsonObject.put("email", currentUser.szEmail);
jsonObject.put("phone", currentUser.szPhoneNumber);

    } catch (JSONException e) {
        AnalyticsManager.instance.Error(e);
        e.printStackTrace();
    }
    mixpanelAPI.getPeople().set(jsonObject);
@cassiegamm
Copy link

Hi @Usama75,

Before you send profile updates, you must call getPeople().identify. The library uses a separate ID for User records, and you must set this value for profile updates to flush from the device.

Hope this solves the problem!

@Usama75
Copy link
Author

Usama75 commented Aug 9, 2021

yeah @cassiegamm Thanks!

@Usama75 Usama75 closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants