Google 分析显示实时事件但不显示实时转化

Google Analytics shows real time event but not real time conversion

我可以在 Google Analtyics 中看到实时事件,但我从未看到转换(转换不是实时看到的,几周后在报告中也看不到)。我在提交按钮上有一个监听器:

 document.getElementById('id123-button-send').addEventListener("click", myFunction);

function myFunction() {
   // alert ("Hello World!"); 
    (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

    ga('create', 'UA-65998846-1', 'auto', 'mytracker'); 
    ga('mytracker.send', 'pageview'); 
    ga('mytracker.send', 'event', 'Forms', 'Submit', 'Request a Free Estimate');
}

我的目标设置: 自定义事件,类型=事件,详细信息:

这会实时显示一个事件。

既然我在 Google Analytics(分析)中将其视为事件,那么如果目标设置正确,为什么它不会同时显示为转化? 我的下一个故障排除技巧是什么? 分析仪表板和外部 JS 代码:

目标定义:

您的目标似乎已配置为期望 value 为 1,但您并未在活动中发送:

ga('mytracker.send', 'event', 'Forms', 'Submit', 'Request a Free Estimate');

您应该将价值添加到您的事件调用中,或者将其从您的目标中删除。创建目标时请注意细则:

Set one or more conditions. A conversion will be counted if all of the conditions you set are true when an Event is triggered.

这意味着如果您想要捕获更多类似类型的目标,您可以设置尽可能少的类别本身,或者如果您想要非常具体地描述您想要捕获的目标,则可以设置尽可能多。

在 Google 分析目标设置中:

- 我从值字段中删除了“1”。
- 此外,我必须将 "Use the Event value as the Goal Value for the conversion" 设置为否。
- 然后我继续 "Assign a proprietary value to the conversion" 并将其设置为“1”。

查看实时仪表板查看事件触发,现在我也可以看到实时转换。

我的情况略有不同,但似乎与这个有关,实际上这个 post 给出了如何解决我的问题的想法。

我的场景:

  • 目标在 GA 中设置为事件
  • 事件在 GTM
  • 中 fired/configured

我能够在 GA 实时报告中看到转化,但在目标概览报告中看不到。

解决我问题的方法只是为 GTM 中的事件值分配 value=1

希望对遇到同样问题的人有所帮助。