You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Trying to get at the out of the Mixpanel Distinct ID to create a varible that can then be passed to other functions.
the function below returns undefined, but i have already had a different mixpanel event fire prior to this. Any thoughts?
const getMPID = () => {
Mixpanel.sharedInstanceWithToken(mixpanelToken()).then(() => {
Mixpanel.getDistinctId((id: any) => {
Mixpanel.identify(id);
});
});
};
The text was updated successfully, but these errors were encountered: