Closed derekmisler closed 4 years ago
@derekmisler Could you test "react-native-mixpanel": "github:lorenc-tomasz/react-native-mixpanel#1.1.12"
, please?
PR: https://github.com/davodesign84/react-native-mixpanel/pull/207
YES. Thank you, @lorenc-tomasz, that worked!
Mixpanel's documentation show 2 params for the
alias
method, for associating pre-identification events with an existing user: https://developer.mixpanel.com/docs/javascript-full-api-reference#section-mixpanel-aliasExample:
Currently, the
createAlias
andalias
methods of this package only allows a single param:The issue with defaulting to the
distinctId
(as seen here), is that Mixpanel creates a newdistinctId
for every pre-identified user, which prevents tracking across devices.I'm proposing we add support for the second
alias
param.