Skip to main content

How to set up Mixpanel

Authentication

Mixpanel requires service account credentials:
  1. Log in to your Mixpanel account
  2. Navigate to SettingsProject SettingsService Accounts
  3. Create a new service account or use an existing one
  4. Gather the following credentials:
    • Username: Service account username
    • Secret Key: Service account secret
    • Project ID: Your Mixpanel project ID (found in Project Settings)
  5. Enter these credentials in Cargo when connecting

Mixpanel data models

Fetch events

Pull product analytics events from Mixpanel into Cargo. Configuration:
  • From date: Start date for fetching events
Features:
  • Incremental sync: Only fetches new events since the last sync
  • Minimum interval: 12 hours between syncs
Use cases:
  • Trigger workflows based on product usage patterns
  • Identify highly engaged users for sales outreach
  • Build lead scoring models using product analytics
  • Create segments based on feature adoption

Event data

Mixpanel events typically include:
FieldDescription
eventEvent name
distinct_idUser identifier
timeEvent timestamp
propertiesCustom event properties

Best practices

  • Use consistent distinct_id values that map to your CRM contacts
  • Define key activation and engagement events in Mixpanel
  • Set appropriate sync intervals based on your workflow needs
  • Combine Mixpanel data with enrichment data for complete lead profiles