Can I use groupIDs without userID´s
Hi Kasper K., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
Based on the knowledge sources provided, it appears that group identifiers (groupIDs) in Mixpanel are typically used in conjunction with user identifiers (distinct_ids). However, there is a specific use case where you can use group identifiers without associating them with individual users.According to the Mixpanel documentation on hot shard limits, there are scenarios where events should not be attributed to specific users or groups. In such cases, you can use an empty string value as the distinct_id: "If your use case is similar to this, and the event should not be attributed to specific users or groups, you can change your implementation to send those events with an empty string value ""
. Upon ingestion, Mixpanel will randomly store these events in different shards so you will not incur a performance hit if this is your intended use case."This approach allows you to track events without associating them with specific users or groups. However, it's important to note that this is a specific use case and not the typical way Group Analytics is implemented in Mixpanel.For most Group Analytics use cases, you would typically use both user identifiers and group identifiers together to associate users with groups and analyze data at both individual and group levels. If you're looking to implement Group Analytics in the standard way, you should refer to the specific SDK documentation for your platform, as the implementation details may vary.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.