https://www.growthbook.io/ logo
b

busy-horse-73824

07/11/2022, 12:29 PM
Currently growthbook doesn't seem to work with custom Mixpanel events - is it possible to support those/some way I haven't seen before?
f

future-teacher-7046

07/11/2022, 12:31 PM
It should work with custom events. Are you trying to add a metric or something else?
b

busy-horse-73824

07/11/2022, 12:32 PM
ah hmm, yes a metric
will take a couple of screenshots
seems like it's all fine in the source data, just GB isn't picking it up in the query
I suspect custom events have to be specified in a slightly different way
f

future-teacher-7046

07/11/2022, 12:47 PM
Oh, ok. That's what Mixpanel calls computed events. Yeah, I don't think they expose those when querying with JQL. https://community.mixpanel.com/building-analysis-reports-14/is-it-possible-to-use-custom-events-in-jql-4485
b

busy-horse-73824

07/11/2022, 12:54 PM
ah unfortunate, it would therefore be good if a metric could be added as "user has done event name A or B or C" etc
f

future-teacher-7046

07/11/2022, 1:39 PM
Just added an issue for this. This won't 100% support your use case on its own since it looks like you have some conditions that only apply to specific event names. I think we can fix that by allowing custom JavaScript conditions. https://github.com/growthbook/growthbook/issues/432
b

busy-horse-73824

07/11/2022, 5:52 PM
That would be great - JS conditions. Might need to make sure there's a couple of examples so we can copy and adjust
2 Views