While it is possible to delete any type of Mixpanel data, only certain data types can be removed from within the user interface.
People properties can easily be removed from a Mixpanel project.
Events and event properties can be deleted using the GDPR API.
Events and Event Properties
Event data is immutable in Mixpanel, which means it cannot be edited or deleted once it's been sent to your project.
With that said, there are actions that can be taken to exclude the data from your analysis or to remove event data in necessary situations.
Let the Events Inactivate
For all Mixpanel users, events and event properties that have not been sent to your project in 30 days will automatically be hidden from your reporting.
The events will still be available in the project's raw data, but will not be visible in the UI.
View more information about Mixpanel's Data Retention Policy to learn more about the retention of raw data.
Hide Events and Properties
All users can hide events, event properties, and people properties in your Mixpanel project through Lexicon.
Tips on Hiding Events and Properties
Events and properties are hidden on the project level, meaning if you hide an event or property, it will be hidden for all users of that project.
To completely stop events from being recorded in your Mixpanel project, you’ll need to remove the code that sends those events to Mixpanel.
- Events that have been hidden through Lexicon will still be visible in Live View and in the Activity Feed within User Profiles.
Deleting People Properties
If you’re just trying to delete a few specific people properties from certain people profiles, you can do so from the Explore report.
Hover over the people property in that user’s people profile, and click the trash icon. This will remove that property only for the specific user - it won’t delete the people property from all profiles.
If you need to delete more than a few people properties, it is possible to delete people properties programmatically through the Engage API using the $unset method.
Detailed instructions on deleting people profiles through the Engage API. Mixpanel also provides an API module to make it easy to unset a property from your profiles in bulk.
When unsetting people properties, keep in mind that if you continue to update properties from the implementation (and/or through previous versions of the app for mobile implementations), they will continue to re-populate the drop down even after they've been $unset.
You can also hide people properties from Lexicon.
Delete Sensitive Event Data
In certain situations, it may be necessary to delete events in order to protect the security and privacy of users, or to satisfy data delete requests. Use the form provided in a Mixpanel project to request the deletion of event data.