我在我的应用程序中集成了Google Analytics(v4)。除了谷歌控制台中的事件记录外,一切正常,某些事件正在显示但有些事件没有显示。在Hits的调试信息中,没有错误信息,所有命中都获得相同的消息
D / GAv4:点击发送到设备AnalyticsService进行投放
我根据GA的建议提出我的活动请求,即
AppInit application = (AppInit) context.getApplicationContext();
mTracker = application.getDefaultTracker();
mTracker.send(new HitBuilders.EventBuilder()
.setCategory("Create")
.setAction("CreateNewBinder")
.setLabel("Save")
.build());
针对GA事件的3种不同调用的Logcat如下:
D / GAv4:要求命中交货:ht = 1472539419751,_ s = 22,_v = ma8.2.98, a = 1034701326,aid = com。**************。app,an = ***************,av = 4.1, CD = *************** HomeActivity, cid = 31855a2e-7905-4947-83bb-4ccd38447045,ea = CreateNewBinder, ec = Create,el = Save,sr = 1440x2392,t = event,tid = UA-44601745-10, ul = en-gb,v = 1
D / GAv4:要求命中交货:ht = 1472539419767,_ s = 23,_v = ma8.2.98, a = 1034701326,aid = com。**************。app,an = ***************,av = 4.1, CD = *************** HomeActivity, cid = 31855a2e-7905-4947-83bb-4ccd38447045,ea = TransferQueueProcessing, ec = Action,sr = 1440x2392,t = event,tid = UA-44601745-10,ul = en-gb,v = 1
D / GAv4:要求命中交货:ht = 1472539419768,_ s = 24,_v = ma8.2.98, a = 1034701326,aid = com。**************。app,an = ***************,av = 4.1, CD = *************** HomeActivity, cid = 31855a2e-7905-4947-83bb-4ccd38447045,ea = TransferQueueOnSuccess, ec = Action,sr = 1440x2392,t = event,tid = UA-44601745-10,ul = en-gb,v = 1
D / GAv4:点击发送到设备AnalyticsService进行交付 D / GAv4:点击发送到设备AnalyticsService进行交付 D / GAv4:点击发送到设备AnalyticsService进行交付
此处未记录第一个事件,但最后两个事件记录在谷歌控制台中,即使调试器显示所有三个请求的输出相同。
我在这里失去了为什么底部2个事件被记录但不是第一个。任何帮助将不胜感激
注意:我的配置正确,否则Google控制台上不应显示任何内容。我也等了2-3天,希望它们可能出现在控制台上,但没有好处
有点问同一个问题here但是没有回答