-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Person processing 2 - handle group and setPersonProperties #1124
Conversation
Size Change: +2.54 kB (0%) Total Size: 950 kB
ℹ️ View Unchanged
|
why would we store them? I'm guessing we'll still want to send group selection, e.g. that it's group_0 = x or whatever, but the properties can't be used anywhere
why not make that switch into personful mode too? |
My understanding from reading the code is that they can be used locally be feature flags. Tagging @neilkakkar who can answer definitively 👋
This way means that they can be used locally for feature flags. Could make them both just fail if we're in |
That is true for both person and group properties, as an optimisation when events haven't been ingested. Unclear to me whether they'll be able to create flags like these with person-less processing, but ok to keep both props for flags as is on client side - these are independent of anything sent to capture. |
It would make sense to me that they shouldn't be able to, so I'll update this PR to this effect |
Use for alias, identify, group, setGroupPropertiesForFlags, setPersonProperties, setPersonPropertiesForFlags
Haven't been closely following the updates here, but is this flow possible?:
Eventually on ingestion I think property X will be dropped, so if the same anon user comes back again in a fresh session (is this even possible?) the flag will be false. But in the same session the flag will be true. |
It depends on which person processing mode you're in.
This is possible, if we store the distinct id in the cookie / localstorage then it'll persist for a while, and if the user returns after gap they'll get a fresh session id |
reasonable, thanks! |
Changes
Calling any of the following functions will activate person processing if set to
identified_only
, and fail if set tonever
:Checklist