Hello guys.
I am trying to write a Can please anyone clarify how exactly setOnce
works? Documentation says
Sets a user property value only once. Subsequent setOnce operations on that user property will be ignored.
But it looks like that is applied to session only, i.e. if I am calling setOnce
for the user property on same session, subsequent calls during this session will be ignored (which is expected). But if I am calling setOnce
again for the same user on the next session, user property will be overwritten with the new value (which I wasn’t expecting). Use case is to set user property startDate
, which indicates when user has started to use our app.
So the questions are:
- Is it intended behaviour for
setOnce
? - If yes, is there any way to write a property for the user only once?
I am aware of Historical Count and Computed Properties, but those are unfortunately unavailable for free plans.
Thanks!