which is better, having separate projects for web and mobile app or a single project ?
Hi Zeyad Y., 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
The decision to use separate projects or a single project for your web and mobile app in Mixpanel depends on your specific business needs. Based on the knowledge sources, here are the key factors to consider:
Factors to Consider
Cross-platform user behavior tracking: - If you want to study how users move between your web and mobile platforms, or if users commonly begin flows on one platform and complete them on another, a single project would be better. - This allows you to analyze the complete user journey across platforms rather than having siloed data.Functionality differences: - If your web and mobile app offer fundamentally different functionality, separate projects might make more sense. - Having too many unique events and properties from different platforms in one project could clutter your analytics interface and dropdown menus.
Best Practices
According to Mixpanel's documentation, users generally "have more flexibility and get more valuable insights when combining the tracking of multiple platforms into a single project to study their overall user experience across platforms." Developer EnvironmentsIf you do choose a single project approach, follow these guidelines: - Use consistent event naming across platforms (e.g., don't call it "Sign in" on web and "Log in" on mobile) - Be careful with capitalization as "Purchase" and "purchase" will appear as different events - Implement proper user identification to track users across platforms - You can still differentiate between platforms using the Operating System propertyNote that regardless of your choice for production, it's recommended to maintain separate development and production projects to keep test data from cluttering your production data.Also be aware that if the same event is sent to multiple projects, it will count against your data allowance once per project, which could affect billing if you're on an MTU (Monthly Tracked Users) plan.
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.