Hi! I'm setting up data sources within Growthbook....
# ask-questions
e
Hi! I'm setting up data sources within Growthbook. Our app uses both MixPanel and SQL Server for storage. I'm curious what the intended use case is for the Mixpanel metric integration. When setting up an mssql data source connection, one can define identifiers, experiment assignment queries, and metrics. However, the Mixpanel connection only has query settings, but it's unclear to me what features use these query settings. In the experiments view, if an experiment has a Mixpanel datasource, one is unable to add any metrics. Is there anyway to define metric queries in a Mixpanel data source connection? This is particularly relevant/interesting to me because I'd like to know how, if at all, one can utilize a Mixpanel source for a tracking callback if Mixpanel doesn't support metric definitions and there is no way to join data across different data source connections (i.e., use Mixpanel for experiment tracking and mssql for eval. metrics).
s
We don't advise using Mixpanel as a direct datasource, since it's been placed in maintenance mode. Instead, you'd want to exclusively use your data warehouse, exporting Mixpanel data to it. We have more guidance here: https://docs.growthbook.io/guide/mixpanel
e
I did see that. Some of those migration decisions are out of my immediate control, so I'm just trying to explore options within our current environment. How did the connection support metrics before it was placed in maintenance mode?
If the answer is it doesn't/didn't that is OK too!
s
Just wanted to make sure you had seen the current status! We have some guidance on how to write metric queries for Mixpanel here: https://docs.growthbook.io/app/metrics/legacy#2-javascript-mixpanel-only
e
Thank you! This is perfect 🙂
🙌 1