AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

GoogleAnalytics 2.0b4 -[GAITrackedViewController viewDidAppear:] (GAITrackedViewController.m:26) DEBUG: Tracked view controller missing view name. #318

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: iOS Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): 2.0 beta 4

Issue summary:
GoogleAnalytics 2.0b4 -[GAITrackedViewController viewDidAppear:] 
(GAITrackedViewController.m:26) DEBUG: Tracked view controller missing view 
name.

Steps to reproduce issue:
1. following instruction to install google analysis
2. add self.trackedViewName in viewDidAppear for those view that i need to 
collect
3. run it

Expected output:
Should be no this kind of warning

Actual results:
in console output, there's warning as described in title here

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by WangBou...@gmail.com on 2 Jul 2013 at 11:33

GoogleCodeExporter commented 9 years ago
Have the same issue.

Original comment by mykhailo...@gmail.com on 16 Jul 2013 at 9:57

GoogleCodeExporter commented 9 years ago
looking on the web further than this report I found that the documentation was 
wrong and "self.trackedViewName..." must be set in viewdidLoad

work fine for me now

Original comment by benoit.b...@adsdata.ca on 22 Jul 2013 at 5:06

GoogleCodeExporter commented 9 years ago
The iOS v2.x docs incorrectly showed self.trackedViewName being set in 
viewDidLoad.

These docs have since been updated to show self.trackedViewName being set 
correctly in viewDidAppear

Closing as fixed.

Original comment by awa...@google.com on 8 Nov 2013 at 11:03

GoogleCodeExporter commented 9 years ago
Use self.screenName="MyView" instead in viewDidAppear fixes the issue. :)

Original comment by mohd.a...@myworldofexpo.com on 13 Nov 2013 at 6:40