davide-scalzo/react-native-mixpanel

People Analytics (Mixpanel.set) - NOT WORKING !!

Closed this issue ยท 7 comments

react-native: 0.47.1
react-native-mixpanel: 0.0.16

@davodesign84 I am trying to set up People Analytics.
So I tried the following code :-

Mixpanel.identify(authModel.email);
Mixpanel.set({ $email: email, id: id });

But Mixpanel is not getting that data.
Response from Mixpanel :-

WE DON'T HAVE ANY DATA!
You haven't sent us any user profiles yet. Don't worry: it's easy to get set up

When I click Check button (Once you set a property, check to make sure we're receiving data) response I get :-

We have not received any data yet.

@sujay-bidchat try to change order:
Mixpanel.set({ $email: email, id: id }); Mixpanel.identify(authModel.email);

@shredder-rull Still not working for me ๐Ÿ‘Ž

Did you manage to resolve @sujay-bidchat ?

@sabbyt54 I was not able to resolve that issue. @shredder-rull Please check.

it's working for me...

Mixpanel.identify(${unique_id})
Mixpanel.set({
"$email": ${person.email},
});

try this....

For me identify seems to work well on iOS but not on Android :/

Any solutions?

Several people (including me) have observed that calling Mixpanel.set({ // the data }) a second time results in data flowing into Mixpanel properly for Android.

#196 (comment)