Last active
May 25, 2018 17:51
-
-
Save guuilp/4067619f25abbe732f56755aa87c2df9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void identifyUser(Context context, Activity activity, String email, String fullName, String nickName, String phone, String level){ | |
MixpanelAPI mixpanel = MixpanelAPI.getInstance(context, MIXPANEL_TOKEN); | |
mixpanel.getPeople().identify(App.connectionId); | |
mixpanel.getPeople().set(ANALYTICS_EMAIL, email); | |
mixpanel.getPeople().set(ANALYTICS_FULLNAME_MIXPANEL, fullName); | |
mixpanel.getPeople().set(ANALYTICS_NICKNAME, nickName); | |
mixpanel.getPeople().set(ANALYTICS_PHONE, phone); | |
mixpanel.getPeople().set(ANALYTICS_LEVEL, level); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment