Newly created Analytics properties do not register hits (iOS) -
this going drive me nuts.
i set new property track ios app, , started setting ga client sdk on client app. however, property dashboard not register hits app.
i console output when sending hit:
(gaibatchingdispatcher.m:431): saved hit: { parameters = { "&_crc" = 0; "&_u" = ".ooko9l"; "&_v" = "mi3.0.9"; "&a" = 1865856373; "&aid" = "com.xxx.xx"; "&an" = xx; "&ate" = "<null>"; "&av" = "0.9.71a"; "&cd" = "screen name"; "&cid" = "549985f5-53de-44f7-8ddf-39f8ecc4bf79"; "&idfa" = "<null>"; "&sr" = 320x568; "&t" = screenview; "&tid" = "ua-xxxx-x"; "&ul" = en; "&v" = 1; "&z" = 18323534810575848962; gaiversion = "3.09"; }; timestamp = "2014-10-23 12:48:47 +0000"; }
and next console output @ times of dispatch:
googleanalytics 3.09 -[gairequestbuilder requestgeturl:payload:] (gairequestbuilder.m:195): building urlrequest https://ssl.google-analytics.com/collect googleanalytics 3.09 -[gaibatchingdispatcher dispatchwithcompletionhandler:] (gaibatchingdispatcher.m:536): sending hit(s) get: https://ssl.google-analytics.com/collect?av=0.9.71a&a=1865856373&cd=akustikhane+custom&t=screenview&_crc=0&ul=en&cid=549985f5-53de-44f7-8ddf-39f8ecc4bf79&tid=ua-xxxx-x&_u=.ooko9l&sr=320x568&v=1&aid=com.xxx.xx&an=xx&_v=mi3.0.9&ht=1414068527552&qt=5882&z=18323534810575848962 googleanalytics 3.09 -[gaibatchingdispatcher didsendhits:response:data:error:completionhandler:] (gaibatchingdispatcher.m:161): hit(s) dispatched: http status 200 googleanalytics 3.09 -[gaibatchingdispatcher deletehits:] (gaibatchingdispatcher.m:443): hit(s) dispatched googleanalytics 3.09 -[gaibatchingdispatcher didsendhits:sendmore:] (gaibatchingdispatcher.m:174): 1 hit(s) sent
...which pretty much tells me there nil wrong client-side. checked business relationship id utilize one thousand times , correct.
the code utilize send hits follows additional info:
//initialization [gai sharedinstance].trackuncaughtexceptions = yes; [gai sharedinstance].dispatchinterval = 10; [[[gai sharedinstance] logger] setloglevel:kgailoglevelverbose]; [[gai sharedinstance] trackerwithtrackingid:@"ua-xxxx-x"]; //sending nail [[[gai sharedinstance] defaulttracker] set:kgaiscreenname value:[nsstring stringwithformat:@"%@ custom", view]]; [[[gai sharedinstance] defaulttracker] send:[[gaidictionarybuilder createscreenview] build]];
the weirdest part when set business relationship id older ga property of mine, same code registers hits on property dashboard without problems. not new property. created new property in exact same way old one. (it's set mobile, , belongs same account) can't see reason fail. there doesn't seem problems view associated either.
this see:
have encountered before? can property set in wrong way somehow? help appreciated.
something gets me every time - default ga dashboard set show events date yesterday. check if you've set it'll show events today well?
you can check in upper right corner on calendar input.
as can see doesn't include today default.
ios google-analytics google-analytics-api
No comments:
Post a Comment