yandexmobile / react-native-appmetrica

React Native bridge to the AppMetrica on both iOS and Android.
MIT License
52 stars 132 forks source link

How do I send profile_id through this bridge? #39

Closed nikitawolfik closed 4 years ago

nikitawolfik commented 4 years ago

We have some external events to calculate retention correctly, so we need to be able to set profile_id in the app, so the post api will allow to send events to the same users. How can we do that?

NesterovichAlexey commented 4 years ago

Hi! Use AppMetrica.setUserProfileID('YourProfileId');