Google analytics Google Analytics测量协议批量发送不工作

Google analytics Google Analytics测量协议批量发送不工作,google-analytics,measurement-protocol,Google Analytics,Measurement Protocol,我正在尝试将批量点击发送到Google Analytics Measurement Protocol,如下链接所示: 我的帖子数据如下: POST /batch/ HTTP/1.1 Host: www.google-analytics.com Cache-Control: no-cache v=1&tid=UA-XXXXXXXX-XX&cid=57409376.1490567764&t=transaction&ti=21594451&tr=29.4&a

我正在尝试将批量点击发送到Google Analytics Measurement Protocol,如下链接所示:

我的帖子数据如下:

POST /batch/ HTTP/1.1
Host: www.google-analytics.com
Cache-Control: no-cache

v=1&tid=UA-XXXXXXXX-XX&cid=57409376.1490567764&t=transaction&ti=21594451&tr=29.4&tt=0.0&ts=0.0&cm4=7.350000000000003&cu=BRL&pa=purchase&pr1id=58d279b0e4b069eb07461b&pr1nm=credito&pr1ca=Divers%C3%A3o&pr1qt=3&pr1cc=&pr1pr=9.8&pr1cm2=0.01&cd12=22882
v=1&tid=UA-XXXXXXXX-XX&cid=742537347.1490876083&t=transaction&ti=21594452&tr=24.9&tt=0.0&ts=0.0&cm4=4.979999999999997&cu=BRL&pa=purchase&pr1id=58cadfa0e4b094f81b742c&pr1nm=show&pr1ca=Divers%C3%A3o&pr1qt=1&pr1cc=&pr1pr=24.9&pr1cm2=0.01&cd12=28439
当我将其发送到Google Analytics时,它会返回HTML代码,如下所示:

<!DOCTYPE html>
<html class="google mmfb" dir="ltr" lang="en">
    <head>
        <script>
    (function(H){H.className=H.className.replace(/\bgoogle\b/,'google-js')})(document.documentElement)
</script>
    <meta charset="utf-8">
    <meta content="initial-scale=1, minimum-scale=1, width=device-width" name="viewport">
    <title>
  Google Analytics Solutions - Marketing Analytics &amp; Measurement – Google
</title>

(函数(H){H.className=H.className.replace(/\bgoogle\b/,'google-js'))})(document.documentElement)
谷歌分析解决方案-营销分析和;测量-谷歌
这只是我将批处理帖子发送到Analytics时得到的结果的一小部分。我的数据不会发送到分析。我在我的交易报告中没有看到点击


我遗漏了什么吗?

您需要删除结尾斜杠


端点是www.google-analytics.com/batch

您需要删除结束斜杠


端点是www.google-analytics.com/batch

非常感谢Michael。。。我知道我错过了什么非常感谢你Michael。。。我知道我错过了什么