mixpanel / mixpanel-node

A node.js API for mixpanel
http://www.mixpanel.com
MIT License
477 stars 159 forks source link

Batch set user/group properties #205

Open TheSecurityDev opened 2 years ago

TheSecurityDev commented 2 years ago

I want to batch import a bunch of user properties without having to iterate and call people.set for each one, since it looks like that would generate many network requests unnecessarily.

I see in the documentation it's possible to batch update user properties here: https://developer.mixpanel.com/reference/profile-batch-update

But I don't see that this is possible with this library.

vigzmv commented 1 year ago

This will be very useful to know

fayaadbsa commented 1 year ago

any updates for this feature? I think this would be helpful

mattcasey commented 9 months ago

Would love this. Right now we are updating profiles in background jobs, thousands at a time. It would probably help Mixpanel's servers if we were not hitting them so much!