发送请求时如何访问段页面事件的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"