Hey team, I'm looking into group tracking and have...
# questions
r
Hey team, I'm looking into group tracking and have two use cases to consider: 1. Events tied to a specific person at the company 2. Company-wide events not tied to a specific person Based on the documentation I found, it seems like we can track events for the first use case using the following code:
Copy code
// Tracks an event named 'Plan Purchase',
// with group_id = 'Company' and group_key = 'Mixpanel'
mixpanel.track('Plan Purchase', {
    distinct_id: 'unique client id',
    'Plan Type': 'Premium',
    Company: 'Mixpanel',
});
This would allow us to track events where a user at Mixpanel purchased a Premium Plan. However, I'm still trying to figure out how we can track company-wide events not tied to a specific person. Any ideas?