google-analytics - Universal Analytics : UserId, session 统一并注销

标签 google-analytics single-page-application universal-analytics google-analytics-firebase measurement-protocol

documentation about Session Unification似乎声明当打开时,如果请求从没有 userId 到有一个实际的,它认为是同一个用户;但如果请求突然停止包含 userId 参数,则将其视为注销,并且这些请求不被视为同一用户的一部分。

session 统一开启,参见步骤 4:

enter image description here

那么,如果在两个具有 userId 的请求之间发出没有 userId 的请求,会发生什么?

  • {clientId:1, userId:5}
  • {clientId:1}
  • {clientId:1, userId:5}

  • 请求 #2 中缺少 userId 是否会导致 GA 中的用户时间线被拆除?请求#3 是否被视为用户的一部分?

    最佳答案

    在您的示例中, session #1 和#3 中的点击/事件将被合并,但不会来自#2。因此,userId 5 将在 user-id View 中显示 2 个 session 。在“全部” View 中,您将拥有 3 个 session 和 1 个用户。

    关于google-analytics - Universal Analytics : UserId, session 统一并注销,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25082459/

    相关文章:

    android - 无法将任何客户端添加到您的 Firebase 项目

    google-analytics - 谷歌通用分析电子商务附加信息

    Azure CDN Microsoft 标准规则引擎重写单页面应用程序的 URL

    facebook - 如何在Google Analytics(分析)中向自定义报告添加自定义维度

    google-analytics - 使用 Google Tag Manager 进行子域跟踪

    Javascript:从google搜索引擎引用的document.referrer中获取访问者的搜索关键字

    google-analytics - Google Universal Analytics 增强型链接归因

    cordova - 将 ASP.NET MVC4 SPA AntiForgeryToken 转换为 PhoneGap

    javascript - IdentityServer3 和 Javascript 的隐式流程 - 如何处理 client_secret