I've tried using Google Mobile Analytics for a phonegap application. I know that Google Analytics supports Context Experiments, but I couldn't find anything about Google Mobile Analytics doing the same.
My project needs to do A/B Testing and I've been looking around if this is possible using PhoneGap since all my assets/css/js will be shipped together in the appstore and will not be obtained via a remote server.
A workaround I'm thinking about is to create 2 different html versions of one screen and ship all of these in one app.
Is this a wise move? If not, is there a better way?
Any A/B general web testing library cannot be used for a phonegap app for two main reasons:
Arise.io (an A/B testing framework for mobile) supports a phonegap version of its framework: https://arise.readthedocs.org/en/latest/phonegap.html
DISCLAMER: I am the founder of Arise.io
Since you are using Phonegap, you can pretty much use any JS library out there.
Making 2 versions of each HTML file will get cumbersome and a harder to manage. IMO, it is essentially doubling the work for yourself. Instead, I would recommend using a JS A/B testing library. Here are a few:
These will allow you to tweak variables in a Javascript file to reflect changes in your templates.
If your app requires the user to be connected at all times, I believe you might be able to tweak changes remotely without having the user update the app. If you go with the 2 HTML files approach, you will have to ship an update with each update.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With