purple-motorcycle-5125
06/11/2023, 12:30 PMreact-native
• destination: Appsflyer Cloud Mode
Context
Our react-native app does not require login
• user traits not available (e.g. email)
To send events to Appsflyer, we need send appsflyerId inside context.externalId object
We can only set externalId in an .identify call
Rudder react-native will use deviceId as the anonymousId
Rudder Standard Event Docs tells us to call identify when we want to:
• After a user registers on your website or app
• After a user logs in to your site or app
• When a user updates their information, e.g., residential address, email ID
• When you load a page accessible by a logged-in user: Although this is optional, many tools (such as Intercom, for example) require an initial identify call to know who the user is when they first start the session.
Issue
We're a little confused on how to deal with users who are not logged in.
Should we be calling rudder.identity even if a user is not logged in our react-native app?quiet-wolf-72320
06/13/2023, 7:16 AM