google-analytics - GA 显示错误事件跟踪代码消息

标签 google-analytics

从这些天起,Google Analytics 开始为我的几个项目显示消息“错误的事件跟踪代码”。即使是一个移动应用程序配置文件。

消息:
“登陆页面报告有一个(未设置)条目。验证属性 Mobilni Aplikace 的跟踪代码发送了 _trackPageview 命中,并且在发送任何事件之前执行此操作。”

我在这些项目中没有做任何改变,所以我不明白 Google Analytics 想要什么。

有人有类似的问题吗?

谢谢

最佳答案

Google Analytics 最近添加了一种方法来通知您问题,因此您无需更改任何内容即可导致此问题。它可能是预先存在的。

编辑:解决方案 1 和 2 可能会有所帮助,但有效的是“解决方案 3”——升级到 Universal Analytics 并增加 session 长度。

解决方案 1 - 发送较少的跟踪数据

如果 Google Analytics 媒体资源用于没有 Google Analytics Premium 的高流量网站您每个月的点击次数限制为 1000 万次,包括事件 Data Limits - Analytics Help .在这种情况下,分析可能记录了用户的 eventpageview被忽略以使您的帐户保持在限制范围内。

如果您可能对这个限制感到不满,请尝试发送更少的事件跟踪 通过重新发明或完全删除某些事件跟踪。如果您公然违反数据限制,则通过设置 Sample Rate 仅跟踪一部分用户。在您的 analytics.js(或 ga.js)代码中。

解决方案 2 - 查找有问题的事件代码

如果您没有超过数据限制,您将在页面浏览之前发送一个事件。

调试“(not set) 出现在属性报告中的条目”的方法在此页面What the value (not set) means - Analytics Help 中进行了描述。 .

验证此问题:

转到问题所在的 Analytics 媒体资源,然后单击 行为报告 > 网站内容 > 着陆页

If you see landing page = (not set), this is generally due to a session with no page or screen view level hits included.

It’s possible to have a session that doesn’t include a page or a screen view, but does include another kind of interaction hit type, like an Events or Ecommerce hit type.



调试这个问题:

确定导致问题的命中类型:

use the advanced filter (found at the top of the data table) to restrict the data to include page/screen views matching exactly 0



对于这 3 份报告中的每一份:
  • 行为 > 事件
  • 获取 > 社交 > 插件
  • 转化 > 电子商务报告

  • 注意:“页面/屏幕浏览量”维度可能在这些报告下的高级过滤器中消失了,当我发现更多信息时,我会更新这个答案。

    解决方案 3 - session 在用户离开站点之前到期

    您可以在 Session Settings 中为您的属性(property)配置访问者的 session 长度下 Tracking Info .

    The default length of time for a session or campaign. An individual session or campaign for a given user ends after the amount of time specified here has passed (counting from the start of the session or campaign), so long as the session or campaign has not been stopped though another means. Learn more about Learn more about session and campaign timeout handling.



    如果用户的 session 过期但他们还没有离开页面并且另一个事件触发,则在事件触发之前不会有页面查看。在这种情况下,您的网站将属于此类别:

    The length of a session and campaign depends on your site and business. Here are a few ideas to get you started thinking about session and campaign timeouts: Lengthen the session time if you have a lot of content and expect users to take a long time engaging with that content. Conversely, shorten the session time if the site has a small amount of content. 5



    Session Settings下增加 session 长度因此这些事件仍将具有相关联的综合浏览量。

    注意:如果您使用 Universal Analytics,则只能配置 session 长度。

    关于google-analytics - GA 显示错误事件跟踪代码消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24741556/

    相关文章:

    javascript - Google Analytics - 使用 GET 而不是 POST

    google-analytics - 在提交之前清除交易和项目以防止在 Google Analytics 中出现重复的电子商务数据?

    google-analytics - 为什么Google跟踪代码管理器不触发设置为在“所有页面”上触发的代码?

    google-analytics - Google 跟踪代码管理器 : gtm. dom 和 gtm.load 丢失

    google-analytics - 如何在 RMarkdown 生成的 GitHub 页面中包含 Google Analytics?

    google-analytics - 如何跟踪移动应用和网站流量?

    r - 在rga中过滤Google Analytics(分析)API

    google-analytics - 使用Google跟踪代码管理器进行Google Analytics(分析)网站搜索

    google-analytics - 除了 Google 标签管理器之外,还执行 Google Analytics 功能

    android - Google Analytics 在 setAppOptOut(true) 之前不发送事件