cmackay / google-analytics-plugin

Cordova Google Analytics Plugin for Android & iOS
Apache License 2.0
89 stars 43 forks source link

Possible for broken usage? No data in dashboard #17

Closed bend0303 closed 9 years ago

bend0303 commented 9 years ago

Hey, Looks like its all working well, but I can't see data in my dashboard (as there are nothing reporting) I'm using The latest cordova+ionic and working on iphone 6 ios 8.

Can you please let me know what might be wrong?

This is the output: 2014-11-24 11:49:26.599 Analoc[732:208232] VERBOSE: GoogleAnalytics 3.07 -GAIBatchingDispatcher persist:: Saved hit: { parameters = { "&_u" = ".tenL"; "&_v" = "mi3.0.7"; "&aid" = "com.analoc.mobile"; "&an" = Analoc; "&av" = "0.0.1"; "&cd" = home; "&cid" = "8ffa0b3c-4332-478f-9bf2-09e730972a7b"; "&sr" = 375x667; "&t" = appview; "&tid" = "UA-57038556-1"; "&ul" = he; "&v" = 1; "&z" = 14135326611471499096; gaiVersion = "3.07"; }; timestamp = "2014-11-24 09:49:26 +0000"; } 2014-11-24 11:49:36.599 Analoc[732:208232] VERBOSE: GoogleAnalytics 3.07 -GAIRequestBuilder requestGetUrl:payload:: building URLRequest for https://ssl.google-analytics.com/collect 2014-11-24 11:49:36.600 Analoc[732:208232] VERBOSE: GoogleAnalytics 3.07 -GAIBatchingDispatcher dispatch: Sending hit(s) GET: https://ssl.google-analytics.com/collect?av=0.0.1&cid=8ffa0b3c-4332-478f-9bf2-09e730972a7b&tid=UA-57038556-1&cd=home&t=appview&ul=he&aid=com.analoc.mobile&_u=.tenL&sr=375x667&v=1&_v=mi3.0.7&an=Analoc&ht=1416822566588&qt=10010&z=14135326611471499096 2014-11-24 11:49:37.190 Analoc[732:208182] INFO: GoogleAnalytics 3.07 -GAIBatchingDispatcher didSendHits:response:data:error:: Hit(s) dispatched: HTTP status 200 2014-11-24 11:49:37.193 Analoc[732:208232] INFO: GoogleAnalytics 3.07 -GAIBatchingDispatcher deleteHits:: hit(s) Successfully dispatched 2014-11-24 11:49:37.196 Analoc[732:208232] INFO: GoogleAnalytics 3.07 -GAIBatchingDispatcher didSendHits:: 1 hit(s) sent

cmackay commented 9 years ago

The default dashboard does not provide realtime data so you will have to wait for the data to show up. If you go to the realtime section within google analytics you should see hits registering typically within a few seconds after an analytics event is logged. Try looking in the realtime section to see if your views/events are logged.