It is quite frustrating! I spent several hours on trying to get it working yesterday, but it is still not working at all. I was able to find the bug, and it seems a few other people have the same problem.
This is what I found:
Failed to load resource: net::ERR_FILE_NOT_FOUND file://www.google-analytics.com/analytics.js
I tried troubleshooting but I gave up. I really want Google analytics to work, but I can't spend days trying to get to work, when I have to work on the apps I have. I have heard that there are no problems with phonegap, so when iOS8 comes out hopefully it will work on phonegap...