If I update a user property value to null on segment identify, Amplitude doesn't change user property value and it shows previous value. It seems to be an issue on Amplitude’s API side. What can I do to clean/empty value??
If I update a user property value to null on segment identify, Amplitude doesn't change user property value and it shows previous value. It seems to be an issue on Amplitude’s API side. What can I do to clean/empty value??
This is a side effect of how user properties are updated in Amplitude: by default you only need to set them once or when they change, so when the value of the property is null, Amplitude assumes it has not changed and keeps the previous value.
I would suggest using some non-null value in the user property for these users. “Undefined” or something like this. You can still filter these values out of any charts you make, and it also allows you to differentiate between users that had the property set at some point and those that have never had it set in the first place.
If a user property is set to an empty object (after having been set to some normal value, say, `true`), does it behave the same way as if trying to update with `null`? Or will Amplitude update the value to an empty object?
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.