Problem z wysyłaniem analityki mobilnej Google na iPhone'a
Zintegrowałem analitykę mobilną Google z moją aplikacją na iPhone'a, ale z jakiegoś powodu odsłon i wydarzeń nie są wysyłane.
Umieszczam to w metodzie delegowania aplikacji applicationDidFinishLaunching (wyjąłem ciąg UA):
[[GANTracker sharedTracker] startTrackerWithAccountID: @ „UA-xxxxxx-x” dispatchPeriod: 10 delegatów: self]; Błąd NSError *; [[GANTracker sharedTracker] trackPageview: @ "/ home" withError: & error];To jest metoda delegowania:
- (void) trackerDispatchDidComplete: (GANTracker *) tracker eventsDispatched: (NSUInteger) eventsDispatched eventsFailedDispatch: (NSUInteger) eventsFailedDispatch {NSLog (@ "Google Analytics Dispatch: udało się:% i, nie powiodło się:% i", eventsDispatched, eventsFailedDispatch); }który drukuje wiadomość:
Google Analytics Dispatch: udało się: 0, nie powiodło się: 190Czy ktoś inny napotkał ten problem?