A Mixpanel data importer Node app for the data that you already have and you want to export to Mixpanel as events.
- [option 1]data that you have in your database or filesystem which you can export as a json file.
- [option 2]data you can retrieve from any API endpoint.
- [option 1]export your data which you want to import to Mixpanel as an event as a json file. Please take a look at data.json and this module.
- [option 2]call the API endpoint and get your event data as json format. please take a look at this module.
- You definitively want to change the input variables such as EVENT_NAME, etc on app.js. please take a look at comments.
- Please don't forget to update the Mixpanel token and api key here
The rest is ready :) Just call npm start.
Check the Mixpanel documenation if you want to understand the code better.
Implementing a GUI probably by using Electron and add more features. Any one interested in building this with me, please feel free to join :)