alooi14 / analytics-issues

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

When I launch one app on one device I see 2 users connected on the realtime #294

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I may be doing something wrong, here the logs :

I/GAV2    (13002): Thread[GAThread,5,main]: connecting to Analytics service
I/GAV2    (13002): Thread[GAThread,5,main]: connect: bindService returned false 
for Intent { act=com.google.android.gms.analytics.service.START (has extras) }
W/GAV2    (13002): Thread[GAThread,5,main]: Service unavailable (code=1), will 
retry.
I/GAV2    (13002): Thread[GAThread,5,main]: No campaign data found.
I/GAV2    (13002): Thread[Service Reconnect,5,main]: connecting to Analytics 
service
I/GAV2    (13002): Thread[Service Reconnect,5,main]: connect: bindService 
returned false for Intent { act=com.google.android.gms.analytics.service.START 
(has extras) }
W/GAV2    (13002): Thread[Service Reconnect,5,main]: Service unavailable 
(code=1), using local store.
I/GAV2    (13002): Thread[Service Reconnect,5,main]: falling back to local store
V/GAV2    (13002): Thread[GAThread,5,main]: dispatch running...
V/GAV2    (13002): Thread[GAThread,5,main]: ...nothing to dispatch
I/GAV2    (13002): Thread[GAThread,5,main]: PowerSaveMode initiated.
W/GAV2    (13334): Thread[main,5,main]: Need to call initialize() and be in 
fallback mode to start dispatch.
I/Inflikr (13334): Send to GAV2 view: 
kr.infli.activity.InflikrActivity/grid/contacts
W/GAV2    (13334): Thread[AsyncTask #4,5,main]: dispatch call queued.  Need to 
call GAServiceManager.getInstance().initialize().
I/Inflikr (13334): Send to GAV2 timing: inflikr
I/GAV2    (13334): Thread[GAThread,5,main]: connecting to Analytics service
I/GAV2    (13334): Thread[GAThread,5,main]: connect: bindService returned false 
for Intent { act=com.google.android.gms.analytics.service.START (has extras) }
W/GAV2    (13334): Thread[GAThread,5,main]: Service unavailable (code=1), will 
retry.
I/GAV2    (13334): Thread[GAThread,5,main]: No campaign data found.
I/GAV2    (13334): Thread[GAThread,5,main]: putHit called
I/GAV2    (13334): Thread[GAThread,5,main]: putHit called
I/GAV2    (13334): Thread[Service Reconnect,5,main]: connecting to Analytics 
service
I/GAV2    (13334): Thread[Service Reconnect,5,main]: connect: bindService 
returned false for Intent { act=com.google.android.gms.analytics.service.START 
(has extras) }
W/GAV2    (13334): Thread[Service Reconnect,5,main]: Service unavailable 
(code=1), using local store.
I/GAV2    (13334): Thread[Service Reconnect,5,main]: falling back to local store
I/GAV2    (13334): Thread[GAThread,5,main]: Sending hit to store
I/GAV2    (13334): Thread[GAThread,5,main]: PowerSaveMode initiated.
I/GAV2    (13334): Thread[GAThread,5,main]: PowerSaveMode terminated.
I/GAV2    (13334): Thread[GAThread,5,main]: Sending hit to store
V/GAV2    (13334): Thread[GAThread,5,main]: dispatch running...
I/GAV2    (13334): Thread[GAThread,5,main]: User-Agent: GoogleAnalytics/2.0 
(Linux; U; Android 4.2.2; en-us; Nexus 7 Build/JDQ39)
I/GAV2    (13334): Host: ssl.google-analytics.com
I/GAV2    (13334): GET 
/collect?ul=en-us&ht=1367558011576&sr=800x1205&a=1524732026&sc=start&aid=kr.infl
i&cid=2dd60071-7a63-48cf-b7a2-5428bfa915c7&av=3.6&v=1&t=appview&an=Inflikr+for+F
lickr&tid=UA-39390334-1&_u=.nUWllneeMB&_v=ma1b5&cd=kr.infli.activity.InflikrActi
vity%2Fgrid%2Fcontacts&qt=9285&z=471 HTTP/1.1
I/GAV2    (13334): Thread[GAThread,5,main]: User-Agent: GoogleAnalytics/2.0 
(Linux; U; Android 4.2.2; en-us; Nexus 7 Build/JDQ39)
I/GAV2    (13334): Host: ssl.google-analytics.com
I/GAV2    (13334): GET 
/collect?utl=%3Ccontacts%3E&ul=en-us&ht=1367558013509&sr=800x1205&a=1084711623&u
tc=inflikr&aid=kr.infli&cid=2dd60071-7a63-48cf-b7a2-5428bfa915c7&av=3.6&v=1&t=ti
ming&an=Inflikr+for+Flickr&utt=2164&utv=kr.infli.task.InflikrLoadPhotoListTask&t
id=UA-39390334-1&_u=.H&_v=ma1b5&cd=kr.infli.activity.InflikrActivity%2Fgrid%2Fco
ntacts&qt=7617&z=472 HTTP/1.1
V/GAV2    (13334): Thread[GAThread,5,main]: sent 2 of 2 hits
I/GAV2    (13334): Thread[GAThread,5,main]: PowerSaveMode initiated.

Here my config : 

<?xml version="1.0" encoding="utf-8"?>
<resources>

    <bool name="ga_autoActivityTracking">false</bool>
    <bool name="ga_reportUncaughtExceptions">true</bool>

</resources>

I attach the web screenshot of GA.

Thanks

Original issue reported on code.google.com by emmanuel...@gmail.com on 3 May 2013 at 5:19

Attachments:

GoogleCodeExporter commented 9 years ago
For more informations, I am using the version 2.0beta5. When my activity launch 
I send one view and one timing from the tracker. If I remove the timing I see 
only one user at startup, as soon I as navigate in the app and send another 
screen I see another user in the realtime.
Thanks

Original comment by emmanuel...@gmail.com on 3 May 2013 at 5:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I also receive these warnings in the logs. Any update on this?

Original comment by aSmarty....@gmail.com on 7 Jul 2013 at 10:38

GoogleCodeExporter commented 9 years ago
I had same issue!
Does anyone solve it?

Original comment by j...@feltmeng.com on 11 Jul 2013 at 10:29

GoogleCodeExporter commented 9 years ago
i Have 2 same problm plz resolve thank u

Original comment by mishra8...@gmail.com on 25 Jul 2013 at 7:02

GoogleCodeExporter commented 9 years ago
I am using GAV3 which is newly launched in Aug'13.I have followed the migration 
guide given by Google but still getting the same issue.
Below link is followed while integrating GA in my App.
https://developers.google.com/analytics/devguides/collection/android/v3/

Any Help on this will be highly appreciated.

09-15 19:42:22.722: W/ActivityManager(59): Unable to start service Intent { 
act=com.google.android.gms.analytics.service.START (has extras) }: not found
09-15 19:42:22.741: W/GAV3(1530): Thread[GAThread,5,main]: Service unavailable 
(code=1), will retry.
09-15 19:42:22.771: I/GAV3(1530): Thread[GAThread,5,main]: No campaign data 
found.
09-15 19:42:23.701: D/dalvikvm(259): GC_EXPLICIT freed 60 objects / 2880 bytes 
in 781ms
09-15 19:42:27.790: W/ActivityManager(59): Unable to start service Intent { 
act=com.google.android.gms.analytics.service.START (has extras) }: not found
09-15 19:42:27.790: W/GAV3(1530): Thread[Service Reconnect,5,main]: Service 
unavailable (code=1), using local store.

Original comment by saurabhv...@gmail.com on 15 Sep 2013 at 2:27

GoogleCodeExporter commented 9 years ago
I am also facing the same issue. Any solutions ?

Original comment by codeseed...@gmail.com on 30 Sep 2013 at 5:31

GoogleCodeExporter commented 9 years ago
I am also with same issue....

10-02 12:13:29.870: W/GAV3(10557): Thread[GAThread,5,main]: Service unavailable 
(code=1), will retry.
10-02 12:13:29.870: W/ActivityManager(277): Unable to start service Intent { 
act=com.google.android.gms.analytics.service.START (has extras) }: not found
10-02 12:13:29.880: I/GAV3(10557): Thread[GAThread,5,main]: No campaign data 
found.
10-02 12:13:34.880: W/GAV3(10557): Thread[Service Reconnect,5,main]: Service 
unavailable (code=1), using local store.

Original comment by fzuri...@gmail.com on 2 Oct 2013 at 10:22

GoogleCodeExporter commented 9 years ago
I do not see any analytics data on analytics console - Anyone has a solution 
yet ?

10-31 23:50:06.168: V/GAV3(7620): Thread[GAThread,5,main]: connecting to 
Analytics service
10-31 23:50:06.188: V/GAV3(7620): 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) }
10-31 23:50:06.188: W/GAV3(7620): Thread[GAThread,5,main]: Service unavailable 
(code=1), will retry.
10-31 23:50:06.192: V/GAV3(7620): Thread[GAThread,5,main]: Loaded clientId
10-31 23:50:06.192: I/GAV3(7620): Thread[GAThread,5,main]: No campaign data 
found.
10-31 23:50:11.200: V/GAV3(7620): Thread[Service Reconnect,5,main]: connecting 
to Analytics service
10-31 23:50:11.200: V/GAV3(7620): 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) }
10-31 23:50:11.200: W/GAV3(7620): Thread[Service Reconnect,5,main]: Service 
unavailable (code=1), using local store.
10-31 23:50:11.200: V/GAV3(7620): Thread[Service Reconnect,5,main]: falling 
back to local store
10-31 23:50:11.208: V/GAV3(7620): Thread[GAThread,5,main]: Dispatch running...
10-31 23:50:11.232: V/GAV3(7620): Thread[GAThread,5,main]: ...nothing to 
dispatch
10-31 23:50:11.232: V/GAV3(7620): Thread[GAThread,5,main]: PowerSaveMode 
initiated.

Original comment by dipendu....@gmail.com on 1 Nov 2013 at 5:25

GoogleCodeExporter commented 9 years ago
Having the same issue... no solution so far.

Original comment by dread2k9@gmail.com on 7 Nov 2013 at 12:49

GoogleCodeExporter commented 9 years ago
Logs regarding failed connections to Analytics service are expected and do not 
impact data collection or any reporting, including real-time reporting, in any 
way. They can be safely ignored.

RE: real-time showing two active users on startup, if the original posters are 
still experiencing this issue, can you let us know and provide additional 
examples of logs?

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

GoogleCodeExporter commented 9 years ago
The same problem:
11-20 15:06:30.818: I/GAV3(8021): Thread[GAThread,5,main]: Campaign found: 
utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testCo
ntent&utm_campaign=testCampaign
11-20 15:06:35.823: W/GAV3(8021): Thread[Service Reconnect,5,main]: Service 
unavailable (code=1), using local store.

Original comment by zigzag....@gmail.com on 20 Nov 2013 at 8:14

GoogleCodeExporter commented 9 years ago
Closing this issue for now since we cannot reproduce the original issue with 
Real-Time reporting.

Please note that the service unavailable log messages are expected and do not 
indicate anything is wrong with your implementation. These logs do not impact 
data collection or your Google Analytics reports in any way.

Original comment by awa...@google.com on 18 Dec 2013 at 5:46

GoogleCodeExporter commented 9 years ago
Are people using v.3 declaring 

<string name="ga_logLevel">verbose</string>

on analytics.xml?

developers.google.com shows the snippet as a boolean, but it should be on a 
string like above. I was having same error output and it was a debugger 
problem, not a tracking problem.

Original comment by juanmarc...@google.com on 22 Feb 2014 at 10:37