Hello, so I'm reading the docs about identities an...
# support
b
Hello, so I'm reading the docs about identities and how rudderstack auto merges the "user". say if I have a different user on a browser, and have a different one on another browser -- if those users perform an action it looks like that they are recorded/merged into one "profile" or identity. Those users have different emails. (as per docs they are being merged as one? prolly because of the device id?). is there a way to stop/prevent that? Thanks !
p
Hi @broad-carpet-90114, merging two different emails doesn't happen automatically by RudderStack, it needs to be explicitly merged using the merge api: https://www.rudderstack.com/docs/features/identity-resolution/#merging-identifiers-with-rudderstack
b
interesting @plain-parrot-49913. 🤔 but we never call the merge api. looks like if I do 2 identify calls (different browsers) the
email
in the profile properties just get updated to whoever calls the
identity
api last. is there a way so calling
identity
will create a different user (if it doesn't exist yet?) if the userId given is a new one?
q
@broad-carpet-90114 are you still looking for help on this one?
b
all good now, thanks for the help! I ended up using
endSession
(on logout) to make sure that each email in the same browser gets treated differently