I have two separate apps that are tracking the same set of events. I’d like to know if it’s possible to send data from both apps to a single Mixpanel project so that I can analyze all the events together in one place. If this is supported, could you please let me know the best practices for implementing this?
Hi Sam U., 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
Yes, it's absolutely possible to send data from multiple apps to a single Mixpanel project, and this is actually a common practice that allows you to analyze all events together.
Best Practices for Implementation
1. Use Development and Production Projects
Mixpanel recommends setting up at least two projects - one for development data and another for production data. This helps keep test data separate from actual user behavior data.
Setting Up Mixpanel suggests:
We recommend that you minimally setup two Mixpanel projects, one for Development data and another for Production data. This is to ensure that you keep development test data separate from actual live user behavioral data.2. Consistent Event Naming and Properties
Ensure that both apps use the same event names and property structures for similar actions. If they don't, you can use Lexicon to merge events and properties:
Lexicon: Describe your events and data using a dictionary explains:
By merging "Purchase" and "purchase item" into a single event named "Purchase", you would no longer need to query each event separately since Mixpanel would recognize both "Purchase" and "purchase item" as a unique event.3. Proper User Identification
Implement consistent user identification across both apps to ensure that user profiles are properly merged:
Identifying Users (Simplified) recommends:
Call .identify
upon a registration/login or when an app is re-opened in a logged-in state
Track the unique identifier as a super property and user property to assist in troubleshooting4. Consider Using Data Views
If you need to analyze data from each app separately sometimes, you can use Data Views:
Data Views and Data Classification explains:
You can create a Data View (a mini Mixpanel project within a Mixpanel project) that will only display events and properties you'd like that specific Data View to contain.5. QA Your Implementation
Before sending live data to your production project, conduct thorough QA tests:
Check Your Implementation advises:
You should implement and test all your tracking using the development project; and before pushing live data to your production project, you should conduct Quality Assurance (QA) tests to ensure correctness, consistency, and accuracy.If you already have separate projects and want to merge them, Mixpanel provides a way to do this: Merge Mixpanel Projects outlines the process:
1. Stop sending data to the old project(s). 2. Begin sending all data to the new project. 3. Once the old project has completely stopped receiving data, export that data via the raw data export API and import the data into the new project via Mixpanel's import API.By following these best practices, you'll be able to effectively analyze data from both apps in a single Mixpanel project.
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.