react-native-mixpanel
                                
                                
                                
                                    react-native-mixpanel copied to clipboard
                            
                            
                            
                        Explore analytics (Mixpanel.set) not working
So I am trying to use the Explore section on Mixpanel but I need to identify and set user properties. The problem is my users are anonymouse so I just want access to the explore tab via users' disctinct ID.
I am calling identify and set but it is not working:
   Mixpanel.identify(); Mixpanel.set({"emailtest":"emailtest"});
I have also tried to call set without any parameters but it still doesn't work. I still get this message on Mixpanel: "You haven't sent us any user profiles yet. Don't worry: it's easy to get set up."
Everything else works fine. Any help will be appreciated :D
Try something like this:
Mixpanel.getDistinctId((id) => { Mixpanel.identify(id); Mixpanel.set({"emailtest":"emailtest"}); });