Closed satyajitvure91 closed 1 month ago
@satyajitvure91 could you please share the link to a user where you notice this behaviour? I tried reproducing this issue but I wasn't able to.
How do we remove all user properties after setting them?
We are using this to set a user property amplitude.identify(Identify().set(KEY, value))
.
We are using this to remove all user properties amplitude.identify(Identify().clearAll())
.
Can we call amplitude.identify(Identify().clearAll())
asynchronously and does it have an on success callback we can use?
@satyajitvure91 could you please share the link to a user where you notice this behaviour? I tried reproducing this issue but I wasn't able to.
Here is the link the a user where we are seeing this behavior. https://app.amplitude.com/analytics/athenahealth-portfolio/project/205706/search/amplitude_id=492271097834
@satyajitvure91 could you please share the link to a user where you notice this behaviour? I tried reproducing this issue but I wasn't able to.
Here is the link the a user where we are seeing this behavior. https://app.amplitude.com/analytics/athenahealth-portfolio/project/205706/search/amplitude_id=492271097834
Hello, commenting on it to get attention.
@gusuly0rum - Can you please point me to the exact event which you expect the user properties to be cleared? I see there's a custom user property called messageId
which is set to 12345. Is that the one you expect to be cleared or is there some other property that you expect to be cleared?
@satyajitvure91 - I see that you closed this ticket. Was that intentional?
Expected Behavior
When calling amplitude.identify(Identify().clearAll()) on logout, I expect the user properties to not show up in the next session
Current Behavior
User property still gets attached in the following session's events
Steps to Reproduce
Use case: Set a user property by calling
amplitude.identify(Identify().set(KEY, value))
. In the same session when user clicks logout, below calls are made to reset amplitude and clear user propertiesEnvironment