Mixpanel Community Icon

Optimizing Analytics for LMS: Tracking Users, Groups, and Events

·
·

I am a learning management system SaaS platform (LMS). I sell into a company. That Company has a core admin person or Buyer. But then all their staff are individual users, who use our platform to learn. What is the best mix of Groups, Users, Properties, Events etc to track our analytics

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Dharmin, 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

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    For your learning management system SaaS platform, Mixpanel's Group Analytics would be ideal for tracking both company-level and individual user activity. Here's how you can structure your analytics:

    Group Analytics Setup

    Since you're selling to companies with multiple users, Group Analytics is perfect for your B2B model. You should: 1. Set up a group key like company_id in your Mixpanel project settings to track company-level metrics 2. Create company profiles with relevant properties about your customersAs noted in the Mixpanel documentation: > "Mixpanel Group Analytics allows behavioral data analysis at a customized group level (such as account, device—or any other way you want to assess your business)." Group Analytics

    Recommended Structure

    Group Level (Company)

    - Group Key: company_id - Group Properties: - Company name - Industry - Number of employees/seats - Subscription type/plan - Contract value - Renewal date

    User Level (Individual Learners)

    - User Properties: - Role in company - Department - Join date - Learning preferences - Completed courses count - Company ID (to link users to their company)

    Events to Track

    1. Core Admin/Buyer Events: - Course creation - User invitations - Report generation - Billing interactions2. Learner Events: - Course enrollment - Course completion - Quiz attempts/scores - Video watch time - Resource downloads - Login frequency

    Implementation Approach

    When implementing, make sure to: 1. Set the group key on all relevant events: LBKS// Example using JavaScript SDK mixpanel.track('Course Completed', { 'course_id': '12345', 'score': 95, 'company_id': 'acme-corp' // This links the event to the company group });LBKS2. Connect users to their companies in user profiles: LBKS// Set company_id as a user property mixpanel.people.set({ 'company_id': 'acme-corp' });LBKS3. Create and update company profiles with relevant properties: LBKS// Update company profile mixpanel.groups.set('company_id', 'acme-corp', { 'name': 'ACME Corporation', 'industry': 'Technology', 'subscription_tier': 'Enterprise', 'seats': 500 });LBKSThis approach will allow you to analyze both individual user engagement and company-level metrics, which is crucial for B2B SaaS platforms like yours. You'll be able to identify which companies have the highest engagement, which features are most used across different company types, and how individual user behavior contributes to overall company success.Mixpanel Account Analytics specifically mentions this use case: "Once you've created Accounts using Group Analytics, you can also apply Group Properties to any account profile. This helps you break down your analyses in any report, board, or cohort in Mixpanel."

    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.