Hacker News new | past | comments | ask | show | jobs | submit login

They usually use something akin to Segments “group” event type, which associated a user id with (depending on the platform) one or more “group ids”. These could correlate to company/team/region/etc.

Having implemented something similar-ish recently, we went the route of requiring callers to ”do the work” of telling us which group the user belongs to. Figuring it out is unnecessarily difficult and prone to issues.




I like this approach a lot. Only downside is that you cannot dynamically change groups and what not in a later stage.

But if each events were associated directly to a group (by the caller) this would be quite easy to implement.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: