gpt4 book ai didi

android - Google Analytics v3 不显示实时数据

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:05:24 27 4
gpt4 key购买 nike

我非常仔细地遵循了下一条指示:

https://developers.google.com/analytics/devguides/collection/android/v3/

我在日志中看到了一些事件,但仍然无法获取实时数据

(这是我确保分析有效的方式)

堆栈跟踪:

921    4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: [EasyTracker] sample rate loaded: 100.0
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: [EasyTracker] dispatch period loaded: 1800
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: Dispatch period set with null handler. Dispatch will run once initialization is complete.
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: [EasyTracker] session timeout loaded: 30000
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: [EasyTracker] auto activity tracking loaded: true
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: ExceptionReporter created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler
09-09 08:26:57.931 4319-4319/com.company.appname V/GAV3: Thread[main,5,main]: [EasyTracker] report uncaught exceptions loaded: true
09-09 08:26:58.001 4319-4319/com.company.appname D/libEGL: loaded /system/lib/egl/libEGL_adreno200.so
09-09 08:26:58.001 4319-4319/com.company.appname D/libEGL: loaded /system/lib/egl/libGLESv1_CM_adreno200.so
09-09 08:26:58.001 4319-4319/com.company.appname D/libEGL: loaded /system/lib/egl/libGLESv2_adreno200.so
09-09 08:26:58.011 4319-4319/com.company.appname I/Adreno200-EGL: <qeglDrvAPI_eglInitialize:265>: EGL 1.4 QUALCOMM Build: Iabe52cfaeae4c5fab1acacfe6f056ba15fa93274
09-09 08:26:58.041 4319-4319/com.company.appname D/OpenGLRenderer: Enabling debug mode 0
09-09 08:26:58.101 607-624/system_process I/ActivityManager: Displayed com.company.appname/.activities.SplashActivity: +403ms
09-09 08:27:02.917 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: connecting to Analytics service
09-09 08:27:02.927 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: connect: bindService returned true for Intent { act=com.google.android.gms.analytics.service.START (has extras) }
09-09 08:27:02.927 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: Loaded clientId
09-09 08:27:02.927 4319-4336/com.company.appname I/GAV3: Thread[GAThread,5,main]: No campaign data found.
09-09 08:27:02.937 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: putHit called
09-09 08:27:05.910 4319-4346/com.company.appname V/GAV3: Thread[Failed Connect,5,main]: falling back to local store
09-09 08:27:05.930 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: Sending hit to store PATH: https: PARAMS: v=1, ul=en-us, t=appview, ht=1378704417947, sr=768x1184, an=appname, sc=start, tid=UA-30287113-8, aid=com.company.appname, cid=0d844bff-617e-4a52-8012-0d2777478ff7, av=3.2, _u=.K28, cd=com.company.appname.activities.SplashActivity,
09-09 08:27:05.940 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: PowerSaveMode initiated.
09-09 08:27:05.960 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: PowerSaveMode terminated.
09-09 08:27:05.960 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: Dispatch running...
09-09 08:27:05.970 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: User-Agent: GoogleAnalytics/3.0 (Linux; U; Android 4.3; en-us; Nexus 4 Build/JWR66V)
Host: ssl.google-analytics.com
GET /collect?ul=en-us&ht=1378704417947&sr=768x1184&sc=start&aid=com.company.appname&cid=0d000bff-617e-4a52-8012-0d2000478ff7&av=3.2&v=1&t=appview&an=appname&tid=UA-30000000-8&_u=.K28&_v=ma3.0.0&cd=com.company.appname.activities.SplashActivity&qt=8030&z=26 HTTP/1.1
09-09 08:27:06.530 4319-4336/com.company.appname D/dalvikvm: GC_FOR_ALLOC freed 311K, 3% free 11897K/12232K, paused 28ms, total 28ms
09-09 08:27:07.091 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: sent 1 of 1 hits
09-09 08:27:07.101 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: PowerSaveMode initiated.
09-09 08:27:07.101 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: putHit called
09-09 08:27:07.101 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: Sending hit to store PATH: https: PARAMS: v=1, ul=en-us, t=appview, ht=1378704426546, sr=768x1184, an=appname, tid=UA-30287113-8, aid=com.company.appname, cid=0d844bff-617e-4a52-8012-0d2777478ff7, av=3.2, _u=.9rs38, cd=com.company.appname.activities.SplashActivity,
09-09 08:27:07.111 4319-4336/com.company.appname V/GAV3: Thread[GAThread,5,main]: PowerSaveMode terminated.

更新:

分析有效,但实时数据无效

最佳答案

正如之前在评论中提到的:

  1. 要在移动设备中使用 Google Analytics V3,

    您必须使用移动应用配置文件(制作一个新的),而不是您已有的那个。

  2. 实时数据来了,但可能需要 1-4 分钟。请耐心等待。

关于android - Google Analytics v3 不显示实时数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18692095/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com