Hacker News new | ask | show | jobs
by FridgeSeal 764 days ago
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.

1 comments

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.