Google analytics 谷歌分析测量协议命中不正确?

Google analytics 谷歌分析测量协议命中不正确?,google-analytics,urlencode,measurement-protocol,Google Analytics,Urlencode,Measurement Protocol,我正在尝试发送命中有效载荷,作为我的iOS android应用程序的Google Analytics测量协议帖子的一部分 下面是我为会话控制发送的一条消息: &dp=scenes%2Estudio%2EScene&geoid=TESTING&z=818790&sr=480x270&ul=en&sc=start&ds=simulator&dl=scenes%2Estudio%2EScene&dr=iOS&tid=UA%

我正在尝试发送命中有效载荷,作为我的iOS android应用程序的Google Analytics测量协议帖子的一部分

下面是我为会话控制发送的一条消息:

&dp=scenes%2Estudio%2EScene&geoid=TESTING&z=818790&sr=480x270&ul=en&sc=start&ds=simulator&dl=scenes%2Estudio%2EScene&dr=iOS&tid=UA%2Dxxxxxxx%2D1&ti=TESTING&cid=TESTING&aip=1&an=FE&cd=scenes%2Estudio%2EScene&aid=xxx%2Eyyyy%2Ezzz%2E&v=1&av=16%2E5%2E2
下面是我为一个异常事件发送的消息:

&dp=scenes%2Emenu%2EScene&geoid=TESTING&z=217660&sr=480x270&ul=en&exf=1&ds=simulator&dl=scenes%2Emenu%2EScene&dr=iOS&aid=xxx%2Eyyy%2Ezzz%2E&ti=TESTING&cid=TESTING&tid=UA%2D117928712%2D1&exd=%2FUsers%2Fchomsky%2Fapps%2Ffunbox%2Fapps%2Fxxx%2Flib%2Fscamp%2Fdebug%2FmenuButtons%2FFE%2Elua%3A147%3A+822Error&aip=1&an=FE&cd=scenes%2Emenu%2EScene&v=1&av=16%2E5%2E2&t=exception
我已经用hit验证器()检查了这两个,它说它们是有效的(尽管我稍微修改了它们,所以它不包含我的个人信息,因此是x、y和z)

当我将其发送到时,它会返回以下消息:

Output multiple:    return {
                      bytesEstimated=-1,
                      bytesTransferred=682,
                      isError=false,
                      name="networkRequest",
                      phase="ended",
                      requestId=userdata,
                      response="{\
                      \"hitParsingResult\": [ {\
                        \"valid\": true,\
                        \"parserMessage\": [ {\
                          \"messageType\": \"INFO\",\
                          \"description\": \"IP Address from this hit was anonymized to 114.35.138.0.\",\
                          \"messageCode\": \"VALUE_MODIFIED\"\
                        } ],\
                        \"hit\": \"/debug/collect?dp=scenes.studio.Scene\\u0026geoid=TESTING\\u0026z=818790\\u0026sr=480x270\\u0026ul=en\\u0026sc=start\\u0026ds=simulator\\u0026dl=scenes.studio.Scene\\u0026dr=iOS\\u0026tid=UA-xxxxxx-1\\u0026ti=TESTING\\u0026cid=TESTING\\u0026aip=1\\u0026an=FE\\u0026cd=scenes.studio.Scene\\u0026aid=xxx.yyy.zzzz.\\u0026v=1\\u0026av=16.5.2\"\
                      } ],\
                      \"parserMessage\": [ {\
                        \"messageType\": \"INFO\",\
                        \"description\": \"Found 1 hit in the request.\"\
                      } ]\
                    }\
                    ",
                      responseHeaders={
                        ["Access-Control-Allow-Origin"]="*",
                        ["Alt-Svc"]="hq=\":443\"; ma=2592000; quic=51303433; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=\":443\"; ma=2592000; v=\"43,42,41,39,35\"",
                        ["Cache-Control"]="private",
                        ["Content-Encoding"]="gzip",
                        ["Content-Type"]="application/javascript; charset=utf-8",
                        Date="Wed, 25 Apr 2018 09:38:44 GMT",
                        Server="MPVS",
                        ["Transfer-Encoding"]="Identity",
                        ["X-Content-Type-Options"]="nosniff",
                        ["X-Frame-Options"]="SAMEORIGIN",
                        ["X-XSS-Protection"]="1; mode=block" 
                      },
                      responseType="text",
                      status=200,
                      url="https://www.google-analytics.com/debug/collect" 
                    }   
在我看来,它回来200没有问题


但是,当我将相同的点击发送到,以便我可以在分析网站的控制台中看到它时,我看不到出现请求。它表示我的应用程序上现在有一个用户(是我!)但是我看不到我正在发送的任何异常或会话控制事件——它显示今天没有收到任何类型的事件。这是发生的原因吗?我的点击中是否遗漏了什么,或者我不知道去哪里看吗?

只需等待24-48小时!一切就绪。

记住,数据在s中显示需要24-48小时标准报告。如果它出现在实时报告中,那么它就会受到影响。你只需等待,看看标准报告中会出现什么。太好了!如果它在几天内没有出现,谢谢@daimtopping这个问题。