Skip to main content

Dear sir,
usually we are using the following code from Segment to delete users (Ex. Customer.io):

analytics.track({
userId: oldData.id,
event: 'User Deleted',
});

This can work if used to delete customer.io user by adding a specific action to the mappings, but I can’t see how can I delete Mixpanel user using the same Segment code.
can you help to suggest a way to delete mixpanel users using the same trigger?

Hi ​@Husam Kahalah - currently we don’t support mapping to delete a user in Mixpanel via Segment. There is an option to build insert function using this Mixpanel endpoint https://developer.mixpanel.com/reference/delete-profile. The other option would be to delete the user using this endpoint directly. I’ll also include this link as an additional resource: https://segment.com/docs/privacy/user-deletion-and-suppression/#regulations. Hope this helps. 


Reply