i have several questions deployment ga.
- where should add
[tracker sendview:@"view name"]
? (my assumption:-(void)loadview
) - how can log sessions? (only sending custom events?)
- should use everywhere inheritence
gaiviewcontroller
? (this not enough , seems ugly) - if use
[tracker sendview:@"view name"]
, happens? (did need re-sendview?)
- i suggest adding
[tracker sendview:@"view name"]
-viewwillappear
. receive event when app show user view, not time loaded. - sessions logged gai automatically. 2 hits said belong 1 session, if received in less 30 min default. also, you've mentioned, can manually create sessions.
- yes, either inherit
gaiviewcontroller
, or place-sendview
every controller class's code. 1 way use posing (see second answer), , makegaiviewcontroller
poseuiviewcontroller
. i'm not quite sure, if works, seems fit problem. - what mean "did need re-sendview?"? every time want gai log fact, user has moved view, call
-sendview
. tracker send info google, , information average number of transitions view session, or number of users, watching view.
also, find flurry more user-friendly, gai. think of creating own tracker class, send both gai , flury info.
Comments
Post a Comment