AbdFatah / analytics-issues

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

iOS SDK v1.5.1 hits not getting reported, but are successfully received #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): iOS v1.5.1

Issue summary:
We have an iOS app that has been around for over a year, and have been sending 
GA data successfully all this time.  A recent app update required an update to 
the GA iOS SDK (for armv7s support).

Now no analytics data is showing up in GA.

Running GANTracker in debug mode shows that the hit is being sent to GA, and is 
successfully received.  Also, listening to the GANTrackerDelegate methods shows 
that hits are successfully sending to GA.

Tried using the v2.0 SDK, with the same GA profile (we don't want to lose all 
that valuable historical data), also with no success.

Steps to reproduce issue:
1. start with a pre-existing iOS app & GA profile
2. update iOS SDK to 1.5.1
3. run app, & watch GA reporting on website (should eventually show up in 
real-time screens, past 30 min)

Expected output:
hits should be recorded and reported in GA, but they do not show up in 
real-time reporting (waiting for 30 min), or in normal reporting (even after 48 
hrs).

Actual results:
no hits from the revised app are being reported.

Notes:

This behavior is happening on an iPhone 5 running iOS 6.0.1, and an iPad 1 
running iOS 5.1.

Here's our tracking start-up code:
    [[GANTracker sharedTracker] startTrackerWithAccountID:@"UA-xxxxxxx-x" dispatchPeriod:20 delegate:nil];

And our page/screen tracking code:
    [[GANTracker sharedTracker] trackPageview:@"/test" withError:nil];

Here's a sample URL that's getting sent:
http://www.google-analytics.com/__utm.gif?utmwv=4.9.1mi
    &utmn=285417115
    &utmcs=UTF-8
    &utmsr=320x568
    &utmsc=24-bit
    &utmul=en-us
    &utmp=%2Ftest
    &utmac=UA-xxxxxxx-x
    &utmcc=__utma%3D1.1272938968.1354911164.1354911164.1354912321.2%3B
    &utmht=1354912412555
    &utmqt=9976

Original issue reported on code.google.com by jimatart...@gmail.com on 7 Dec 2012 at 9:42

GoogleCodeExporter commented 9 years ago
Same thing happens to me.

Original comment by mi...@wearewip.com on 16 Dec 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Same thing is happening for us

Original comment by ss...@epictions.com on 2 Jan 2013 at 2:01

GoogleCodeExporter commented 9 years ago
Pertains to legacy SDK 1.x, closing as obsolete. Please update to v3.x of the 
Android or iOS SDKs.

Original comment by awa...@google.com on 8 Nov 2013 at 10:57