kalnyc67 / analytics-issues

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

Google Analytics can't idenfity my device name When my device with GoogleMobile Service(GMS) #536

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
use the same test apk in the same machine.when the GMS exist,the device name is 
not set. when not GMS,the name is correct.when no GMS I find the name in 
User-Agent .
here the logs:

when GMS exist:

11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: Loading Tracker 
config values.
11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: [Tracker] trackingId 
loaded: UA-56647519-1
11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: [Tracker] sample 
frequency loaded: 100.0
11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: [Tracker] auto 
activity tracking loaded: true
11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: ExceptionReporter 
created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler
11-14 06:47:51.293 V/GAV4    ( 9081): Thread[main,5,main]: Uncaught exceptions 
will be reported to Google Analytics.
11-14 06:47:51.303 V/GAV4    ( 9081): Thread[client_id_fetcher,5,main]: Loaded 
client id from disk.
11-14 06:47:56.303 V/GAV4    ( 9081): Thread[GAThread,5,main]: connecting to 
Analytics service
11-14 06:47:56.313 V/GAV4    ( 9081): Thread[main,5,main]: service connected, 
binder: android.os.BinderProxy@2666da28
11-14 06:47:56.313 V/GAV4    ( 9081): Thread[GAThread,5,main]: connect: 
bindService returned true for Intent { 
act=com.google.android.gms.analytics.service.START 
cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }
11-14 06:47:56.313 V/GAV4    ( 9081): Thread[main,5,main]: bound to service
11-14 06:47:56.313 V/GAV4    ( 9081): Thread[main,5,main]: Connected to service
11-14 06:47:56.323 I/GAV4    ( 9081): Thread[GAThread,5,main]: No campaign data 
found.
11-14 06:47:56.323 V/GAV4    ( 9081): Thread[GAThread,5,main]: Initialized GA 
Thread
11-14 06:47:56.323 V/GAV4    ( 9081): Thread[GAThread,5,main]: Loaded clientId
11-14 06:47:56.333 V/GAV4    ( 9081): Thread[GAThread,5,main]: putHit called
11-14 06:47:56.333 V/GAV4    ( 9081): Thread[GAThread,5,main]: Sending hit to 
service   PATH: https:  PARAMS: ul=zh-cn,  ht=1415947671304,  sr=768x976,  
a=310124046,  sc=start,  sf=100.0,  aid=com.example.testga,  
cid=c63cbda6-41bf-4a37-8e39-eb50d2fbe2da,  av=1.0,  v=1,  t=screenview,  
an=TestGA,  tid=UA-56647519-1,  _u=.2nKK8,  cd=com.example.testga.MainActivity,

when no GMS:

11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: Loading Tracker 
config values.
11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: [Tracker] trackingId 
loaded: UA-56647519-1
11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: [Tracker] sample 
frequency loaded: 100.0
11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: [Tracker] auto 
activity tracking loaded: true
11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: ExceptionReporter 
created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler
11-14 01:41:28.571 V/GAV4    ( 1616): Thread[main,5,main]: Uncaught exceptions 
will be reported to Google Analytics.
11-14 01:41:28.581 V/GAV4    ( 1616): Thread[client_id_fetcher,5,main]: Storing 
clientId.
11-14 01:41:33.571 V/GAV4    ( 1616): Thread[GAThread,5,main]: connecting to 
Analytics service
11-14 01:41:33.571 V/GAV4    ( 1616): Thread[GAThread,5,main]: connect: 
bindService returned false for Intent { 
act=com.google.android.gms.analytics.service.START 
cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }
11-14 01:41:33.571 W/GAV4    ( 1616): Thread[GAThread,5,main]: Service 
unavailable (code=1), will retry.
11-14 01:41:33.571 I/GAV4    ( 1616): Thread[GAThread,5,main]: No campaign data 
found.
11-14 01:41:33.571 V/GAV4    ( 1616): Thread[GAThread,5,main]: Initialized GA 
Thread
11-14 01:41:33.571 V/GAV4    ( 1616): Thread[GAThread,5,main]: Loaded clientId
11-14 01:41:33.571 V/GAV4    ( 1616): Thread[GAThread,5,main]: putHit called
11-14 01:41:38.571 V/GAV4    ( 1616): Thread[Service Reconnect,5,main]: 
connecting to Analytics service
11-14 01:41:38.571 V/GAV4    ( 1616): Thread[Service Reconnect,5,main]: 
connect: bindService returned false for Intent { 
act=com.google.android.gms.analytics.service.START 
cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }
11-14 01:41:38.581 W/GAV4    ( 1616): Thread[Service Reconnect,5,main]: Service 
unavailable (code=1), using local store.
11-14 01:41:38.581 V/GAV4    ( 1616): Thread[Service Reconnect,5,main]: falling 
back to local store
11-14 01:41:38.581 V/GAV4    ( 1616): Thread[GAThread,5,main]: Sending hit to 
store  PATH: https:  PARAMS: ul=zh-cn,  ht=1415945488583,  sr=800x1232,  
a=1260689447,  sc=start,  sf=100.0,  aid=com.example.testga,  
cid=4076090d-8d6f-423e-b032-13c5c5a4cb16,  av=1.0,  v=1,  t=screenview,  
an=TestGA,  tid=UA-56647519-1,  _u=.2nKK8,  cd=com.example.testga.MainActivity, 

11-14 01:41:38.691 V/GAV4    ( 1616): Thread[GAThread,5,main]: PowerSaveMode 
initiated.
11-14 01:41:38.711 V/GAV4    ( 1616): Thread[GAThread,5,main]: PowerSaveMode 
terminated.
11-14 01:41:38.711 V/GAV4    ( 1616): Thread[GAThread,5,main]: Dispatch 
running...
11-14 01:41:38.711 V/GAV4    ( 1616): Thread[GAThread,5,main]: User-Agent: 
GoogleAnalytics/3.0 (Linux; U; Android 4.4.4; zh-cn; VIT T4200 Build/KTU84P)
11-14 01:41:38.711 V/GAV4    ( 1616): Host: ssl.google-analytics.com
11-14 01:41:38.711 V/GAV4    ( 1616): GET 
/collect?ul=zh-cn&ht=1415945488583&sr=800x1232&a=1260689447&sc=start&sf=100.0&ai
d=com.example.testga&cid=4076090d-8d6f-423e-b032-13c5c5a4cb16&av=1.0&v=1&t=scree
nview&an=TestGA&tid=UA-56647519-1&_u=.2nKK8&_v=ma4.0.3&cd=com.example.testga.Mai
nActivity&qt=10140&z=1 HTTP/1.1
11-14 01:41:46.321 V/GAV4    ( 1616): Thread[GAThread,5,main]: sent 1 of 1 hits
11-14 01:41:46.351 V/GAV4    ( 1616): Thread[GAThread,5,main]: PowerSaveMode 
initiated.

Thanks

Original issue reported on code.google.com by jx01...@gmail.com on 14 Nov 2014 at 7:42

Attachments: