How to Measure B2B Account Activity Instead of Individual User Activity in Mixpanel

For a B2B product, the unit that buys and renews may be an account rather than an individual user. Mixpanel Group Analytics lets you analyze behavior using a shared identifier such as company_id while retaining individual user identities.

Check your project’s access first: Group Analytics requires the relevant add-on. A normal property breakdown by company is not automatically equivalent to account-level unique counts, funnels, and retention.

Define the business account

My first question would be what one account represents in your application. A company might have several workspaces, and a consultant might belong to multiple companies. Choose the level that matches the decision.

QuestionPossible unit
Which paying customers are active?Billing account
Which teams complete setup?Workspace
Which people use the feature?Individual user

Document these relationships before selecting identifiers. Reusing an account’s display name as its key makes the model vulnerable to renaming and inconsistent spelling.

Keep user identity and account context distinct

Do not identify every employee with the same user ID simply to report on a company. That removes the distinction between people.

A proposed event could keep an individual customer ID and include account_id = acct_204 as the account context. Use the stable IDs from your application and confirm the correct account when a person switches workspaces.

Set up the group model deliberately

Mixpanel’s implementation guide describes defining project group keys and including the matching key on relevant events. Group profiles can store account attributes, while events need the correct group attribution for the intended activity history.

For example, an event generated by an employee inside workspace A should not inherit workspace B merely because B was the person’s most recent profile setting. The active business context matters at action time.

Choose the aggregation in the report

After implementation and validation, use the group identifier for the relevant report metric. Review the label and denominator before calling the result “active accounts.”

My suggested definition is accounts with at least one qualifying value action during the selected completed period. Document the qualifying actions and exclusions rather than relying on a generic login count.

Test the important edge cases

  1. Two users in one account perform qualifying activity: the account count should match one account.
  2. One user works in two accounts: each event should carry its intended context.
  3. A backend action occurs without an open browser: verify that its account key is still present.
  4. A user leaves an account: check that future events do not inherit stale membership.

Compare known test journeys with the application database and inspect raw event context.

Use both levels together

An account can remain active because of one enthusiastic user while the rest of the team has disengaged. Pair account activity with user participation and relevant product outcomes.

This helps customer-success and product teams distinguish broad adoption from a single-user dependency and choose a more useful follow-up.

For implementation checks before trusting the analysis, see how to test a Mixpanel implementation.

Need help with your Mixpanel implementation?

Optizent helps teams implement, audit, and troubleshoot analytics. Contact Optizent to discuss your tracking or reporting needs.

References

GET EXPERT ANALYTICS HELP

Need help getting reliable answers from Mixpanel?

Tell us about your tracking, funnels, retention, or reporting challenge. Optizent can help you implement, audit, and use Mixpanel with confidence.

We will use these details to respond to your request. Please do not include passwords, account access, or customer data.