How to Choose a Mapping ID for Mixpanel
When integrating Stripe and Mixpanel, selecting the appropriate mapping ID ensures consistent user tracking across both platforms.
1. Metadata (Recommended)
Best for: Consistency across domains using your own User ID.
Prerequisite: Your User ID must be passed as metadata to Stripe.
How to Find Metadata in Stripe
- Go to your Stripe Dashboard
- Navigate to Customers > Select a Customer
- Scroll to the Metadata section in the bottom right
- Look for the property that holds the User ID (e.g.,
user_idorcustomer_id)
How to Select in Vendo
- Go to Data Import and click on the Payment Connection
- Choose Map Mixpanel User ID > Metadata
- Enter the specific metadata property (e.g.,
user_id)
2. Email
Best for: When email is the primary identifier for your customers.
Prerequisite: Email must be used consistently across Stripe and Mixpanel.
How to Select in Vendo
- Go to Data Import and click on the Payment Connection
- Choose Map Mixpanel User ID > Email
- Confirm the email property from Stripe matches the one in Mixpanel
Note: This method may not be ideal if customers use different emails on different platforms.
3. Stripe Customer ID
Best for: Cases where the Stripe Customer ID is already in use as a user identifier in Mixpanel.
Prerequisite: The Stripe Customer ID must be mapped to a user property in Mixpanel.
Note: This method is less common due to potential complications if customers interact with your platform across multiple domains.