I am developing an ios app that will have limited internet connectivity but I still need to track the users activity using Google Analytics. Is local storage the only option to store the users activity then check for a connection and send the data to GA? Is there a plugin out there already I have missed?
I recommend searching StackOverflow for something like "using Google Analytics in Cordova PhoneGap app" for help with this issue. There are other plugins available for storing data locally, which might work better than local storage. Search the web for "Cordova local storage plugins" to find some articles describing some of your options.
Thanks Paul. After some more research, the latest version of cordova google-analytics-plugin works offline as well - https://github.com/danwilson/google-analytics-plugin/issues/426