Community Tip: Integrating Mixpanel with Cordova
Host Mixpanel Locally
Following the example in the sample app, you can load the Mixpanel library from your local device with the following code:
Note the only difference between the snippet above and the typical minified snippet is the file location for the Mixpanel library.
Mind the Queue
Need more help? Just ask!
By storing the Mixpanel library locally, and building your own queuing system to manage offline events, Mixpanel can be a powerful asset to any Cordova app. If you have any further questions or want further clarification, don’t hesitate to get in touch with us at email@example.com and speak with someone smart, quickly!