Hi.
I need to get all properties of Mixpanel project via Custom Query API.
Is there a way to get a list of all the properties of all the events?
Best answer by will
View originalHi.
I need to get all properties of Mixpanel project via Custom Query API.
Is there a way to get a list of all the properties of all the events?
Best answer by will
View originalfunction main() {
return Events({
from_date: '2018-01-01',
to_date:'2018-08-21'
})
.groupBy(["name"], function(accums, events){
let props = []
_.each(events, function(event){
props = _.union(_.keys(event.properties), props)})
_.each(accums, function(accum){
props = _.union(accum, props)
})
return props
})
}
@taliabrown that should do it for you :)
This is perfect
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.