gzog / analytics-issues

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

Can not get user timing #396

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): ios sdk 3.03 (updated today to 3.03a)

Issue summary:
I am sending user timing whithin my app, but I can not see them on my google 
analytics account (the screen measurement via GAITrackedViewController is OK)

Expected output:
I expect to see some data in Behavior / App Speed.

Actual results:
There is no data in Behavior / App Speed.

Notes:
Here is the code I use to send the user timing :

NSTimeInterval duration = [now timeIntervalSinceDate:begin];
id tracker = [[GAI sharedInstance] defaultTracker];
[tracker send:[[GAIDictionaryBuilder createTimingWithCategory:@"category"
interval:@(duration*1000) name:@"name" label:@"dummy"] build]];

I tried running with [[GAI sharedInstance].logger 
setLogLevel:kGAILogLevelVerbose]; and I see in the log that everything seems to 
be successfully sent.

Original issue reported on code.google.com by c...@f4-group.com on 10 Feb 2014 at 2:26

GoogleCodeExporter commented 8 years ago
Any update on this? Does not work on my side either.

Original comment by thman...@googlemail.com on 26 May 2014 at 10:43

GoogleCodeExporter commented 8 years ago
Any update? I have exactly the same issue.

Original comment by x...@mountainmediahub.com on 2 Jul 2014 at 8:10

GoogleCodeExporter commented 8 years ago
Same here with 3.0.9, any update ?

Original comment by hubert.s...@gmail.com on 7 Nov 2014 at 4:52

GoogleCodeExporter commented 8 years ago
The sample snippet was recently updated:
https://developers.google.com/analytics/devguides/collection/ios/v3/usertimings

NSTimeInterval is a double, and an integer is expected.

Original comment by pfrise...@google.com on 7 Nov 2014 at 5:59

GoogleCodeExporter commented 8 years ago
I was already converting my NSTimeInterval to an NSUInteger.
Anything else is required ?

Original comment by hubert.s...@fairplayinteractive.tv on 12 Nov 2014 at 10:57