Export your Mixpanel data with a Javascript
Mixpanel Data Export JS is a Javascript library for Mixpanel's data export API. Use it to create dashboards, visualisations or simply to pull your Mixpanel analytics data out of Mixpanel.
Example
$(document).ready(function() {
panel = new MixpanelExport({
api_key: "my_api_key",
api_secret: "my_api_secret"
});
result = panel.retention({
from_date: "2013-06-13",
to_date: "2013-06-29",
born_event: "Rendering items"
});
result.done(function (data) {
console.log(data);
});
});
```
Written by Mike Carter
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Library
Authors
mostafagazar
25.88K
javipacheco
19.22K
wellcaffeinated
4.924K
sergiotapia
3.942K
xivsolutions
3.068K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#