问题描述
如何在发送请求的时候访问一个segment page event的messageID?
analytics.page("Home");
网络请求如下所示:
{timestamp: "2021-03-23T17:16:04.699Z",…}
anonymousId: "12f80ff1-d78e-4d9a-a950-cfb051e8f4ed"
category: ""
context: {page: {path: "/",referrer: "",search: "",title: "",…},…}
integrations: {}
messageId: "ajs-de98fbd7a71de273dfbc02f342ee9f5e"
name: ""
properties: {}
sentAt: "2021-03-23T17:16:04.702Z"
timestamp: "2021-03-23T17:16:04.699Z"
type: "page"
userId: "12091906-01011992"
writeKey: "oQrIdeZq3zOxttwxMGmqqgvZLKXplhtW"
_Metadata: {bundled: ["Segment.io"],unbundled: [],bundledIds: []}
尝试访问请求负载的 messageID 部分,我得到:
messageId: "ajs-de98fbd7a71de273dfbc02f342ee9f5e"
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)