Hi everyone, I have 2 questions
Q1 registering user prop.
according to the docs custom user props can be created in 2 different ways:
- Manually in the UI
- Calling the analytics.identify() with the user prop
Can a user prop be registered using as a payload of an event or we have to do 1 or 2 to register it
Q2 Updating the user prop
Once I register a user prop, for example, email what are the ways of updating it client side? I know we can call analytics.identify() again with the new value, and I’m almost sure we can do that by firing any event with property email being set to a new value and this will change the user.email attribute. Is that right?
Q3 Collision
What happens if we have a user.email property (user property called email) that gets populated using identify() either on signup or when a user decides to change their email.
Now imagine someone instruments and event User Invited {email: “xxxx”} What would happen in the case of collision where we have an event with the prop email and a user property email?
AFAIK in Amplitude we can update user props as long as the name is correct by simply adding them to any event, right?
Thank you so much as always
Luka