Solved

Can't disable native event tracking when using React Native wrapper?

  • 8 March 2020
  • 2 replies
  • 234 views

We have successfully deployed Mixpanel in our React Native app using https://github.com/davodesign84/react-native-mixpanel


However, we are unable to disable specific types of default/native Mixpanel event tracking. We’ve been following the instructions found here (https://help.mixpanel.com/hc/en-us/articles/115004494803-Disable-Geolocation-Collection) and in related articles.

 

Specifically, we’d like to disable Country, Region, City, Carrier and Device tracking. This is to be compliant with new analytics requirements from Apple.


Hope someone can help - thanks in advance!

icon

Best answer by stephanie 16 March 2020, 22:15

Hi @Ramathing,

 

Unfortunately the wrapper you provided is a 3rd party application that Mixpanel did not create. With that in mind we are limited in the support we can provide for that package. 

I did some digging and saw that someone else also reported a similar issue on the repo here. It might be worth following up with the creator of the wrapper on the Github issue to get more help on it. 

If you end up posting a question in the Github issue, I would love to share your findings here so that future QBQ users can follow along!

View original

2 replies

Userlevel 6
Badge +4

Hi @Ramathing,

 

Unfortunately the wrapper you provided is a 3rd party application that Mixpanel did not create. With that in mind we are limited in the support we can provide for that package. 

I did some digging and saw that someone else also reported a similar issue on the repo here. It might be worth following up with the creator of the wrapper on the Github issue to get more help on it. 

If you end up posting a question in the Github issue, I would love to share your findings here so that future QBQ users can follow along!

Userlevel 6
Badge +3

We are excited to announce that we have shipped the React Native SDK!

Please use the following resources to use the SDK, and post in Sending data to Mixpanel if you have any questions!

Developer guide: https://developer.mixpanel.com/docs/react-native

Github link: https://github.com/mixpanel/mixpanel-react-native

Sample App: https://github.com/mixpanel/mixpanel-react-native/tree/master/MixpanelDemo

Reply


Mixpanel