@dan.woda Actually, one last follow up to that. When and why might loginsCount
be undefined? I am assuming just during the time between when they signed up and when they logged in for the first time.
Can I expect that stats
is already initialized, or do I need to check that? If in a rule, if loginsCount
is undefined is it okay to set it to 1 and assume this is the user’s first login?