How to use Google Analytics with Phonegap without a plugin?

后端 未结 14 2029
北海茫月
北海茫月 2020-11-28 03:03

I am making an app and I want to get analytics from the users. I tried to use the Phonegap Plugin, but I didn\'t have any luck trying to implement it.

I was wonderin

14条回答
  •  庸人自扰
    2020-11-28 03:32

    I have implemented the segment.io - analytics.js library in a HTML5/meteor application.

    I have no analytics plugin in phonegap (3.1). Worked immediately for iOS.

    After implementation, analytics from the Android app did not display for about 4 hours. It then started working without changes to phonegap or meteor settings.

    Hopefully this helps someone avoid a few hours of looking for a mystery bug.

    Note: Make sure correct access origin is set up e.g. add

提交回复
热议问题