Search code examples
cordovagoogle-analyticsgoogle-analytics-apicordova-plugins

Does Real time section in Google Analytics work with Phonegap?


I've created a mobile app with cordova, and installed the GA plugin, the trackEvent function seem to work with success. But now, after 2 hours, I see nothing in the real time overview / events, and nothing in Behavior -> Events of GA.

I've read the it can take up to a day for the stats to be shown, but I see nothing (for few hours) in the real time section (0 active users, and events).

Does the real time work for mobile apps? How long am I supposed to wait? If I get no errors, and I'm sure my GA id is good, what is the next step for debugging? thanks


Solution

  • I found the answer. It does work, and it's immediat. Needed to define a mobile app in google, and i had some bugs in my code. Dont forget to disable the filters in google. And get the newest version pf thr GA plugin.