iphone - In Google Analytics report, Visits are coming but no data for PageViews are coming -
i have incorporated google analytics in iphn application. when checking reports, data visits coming no data pageviews , pages/visit coming. in appdelegate file inside application didfinishlaunchingwithoptions method have pasted code well-
[[gantracker sharedtracker] starttrackerwithaccountid:@"ua-20206851-1" dispatchperiod:10 delegate:nil];
i using code pageview tracking in viewdidload method-
nserror *error; if (![[gantracker sharedtracker] trackpageview:@"buildsviewcontroller.xib" witherror:&error]) { // handle error here }
even event tracking no data coming. using code that-
nserror *error; if (![[gantracker sharedtracker] trackevent:@"buttonclicked" action:@"production1" label:@"environment1" value:-1 witherror:&error]) { // handle error here }
here "trackevent" method name , have used string in "action" , "label". please tell why pageviews not coming
only way way see visits not pageviews , other metrics or reports if aren't waiting long enough data come in. ga takes 24 hours have data show in reports. don't trust numbers before @ least 24 hours have past.
Comments
Post a Comment