News for hackers. Stuff that matters.
Re:An open-source alternative to Mixpanel by a13n on Tuesday May 21, 2024 @09:27PM (#40436394)
The group-level / account-level stuff is pretty big for B2B SaaS companies to be able to consider using it. And it's tucked away on one of Mixpanel's higher price plans.
Re:An open-source alternative to Mixpanel by lindesvard on Wednesday May 22, 2024 @01:41AM (#40437690)
Have missed this feature. Would love to hear more and how I could implement this feature.

Is it a flag/field in the SDK that tells you I’m from a specific company or is it some black magic?

Re:An open-source alternative to Mixpanel by iamacyborg on Wednesday May 22, 2024 @02:19AM (#40437875)
It lets you associate users to companies so you can look at analytics from a user or company perspective.

ie, how many individuals are using this feature or what’s the average usage of this feature for a company.

Re:An open-source alternative to Mixpanel by FridgeSeal on Wednesday May 22, 2024 @05:40AM (#40439108)
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.

Re:An open-source alternative to Mixpanel by lindesvard on Wednesday May 22, 2024 @06:29AM (#40439355)
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.

Re:An open-source alternative to Mixpanel by a13n on Wednesday May 22, 2024 @01:03PM (#40443334)
Yeah generally the customer will specify which "group" a user belongs to when calling your SDK/API.

Mixpanel's docs: https://docs.mixpanel.com/docs/data-structure/advanced/group...

Segment's docs: https://segment.com/docs/connections/spec/group/

In B2B SaaS, it's a lot more important to understand which customers are using which features, not which users. One customer can have many users, and one user can belong to multiple companies.

This is pretty much a must have for B2B SaaS even though it's always tucked away in expensive plans with tools like Mixpanel and Amplitude.