Skip to main content

Hello! We would like to pass a custom user property that will apply to a given user’s events for a short period of time, then eventually unset that property so that the user no longer has the property. We know that user properties do not apply retroactively but just want to confirm that unsetting a property also does not affect events retroactively as well.

For example, say we have a trial_type that describes a trial category that a user is in. Once they complete that trial, we’d like to remove trial_type from any subsequent events that the user performs but ensure that it was passed in previous events. Will the unset operation work in this case?

Hi @lance. I’m sure your understanding is correct, the unset command only applies from the point you use it, not retrospectively. For example, we have a similar thing with marketing campaign parameters, in our setup these get unset/ set each time a new campaign is identified for a given user…so we have visibility of the new campaign from that point but retain data for the previous campaign the user was on.


Reply