Skip to main content
All CollectionsStripe
How to Choose a Mapping ID for Mixpanel
How to Choose a Mapping ID for Mixpanel
Updated over 3 weeks ago

When integrating Stripe and Mixpanel, it’s essential to choose the right mapping ID to track users consistently across both the two platforms. Here are three options to consider:


1. Metadata (Recommended)

Best for: Consistency across domains using your own User ID.

Prerequisite:
Ensure that your User ID is being passed as metadata to Stripe. This approach is ideal because it uses your own User ID, making it persistent across different platforms and domains.

How to Find the Metadata in Stripe:

  1. Go to your Stripe Dashboard.

  2. Navigate to Customers > Select a Customer.

  3. Scroll to the Metadata section in the bottom right of the Customer screen.

  4. Look for the property that holds the User ID (e.g., user_id or customer_id).

How to Select This Property in Integration:

  • In Vendo, go to Data Import and click on the Payment Connection.

  • Choose Map Mixpanel User ID > Metadata

  • Enter the specific metadata property (like user_id).


2. Email (Alternative)

Best for: When email is the primary identifier for your customers.

Prerequisite:
Ensure that the email is used consistently across Stripe and Mixpanel as a unique identifier.

How to Select Email as Mapping ID:

  • 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 is straightforward but 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:
Make sure the Stripe Customer ID is mapped to a user property in Mixpanel.

How to Select Stripe Customer ID:

  • In Vendo, go to Integration Settings.

  • Choose Mapping ID > User ID > Stripe Customer ID.

  • Confirm that the Customer ID is properly synced between Stripe and Mixpanel.

Note: This method is less common due to potential complications if customers interact with your platform across multiple domains.


If you need further assistance, feel free to reach out to our support team!

Did this answer your question?