我已按照此處的步驟操作:https://segment.io/libraries/analytics.js,但未偏離其說明。Segment.IO請求失敗,狀態爲取消
這裏是頭從請求之一:
Request URL:http://api2.segment.io/v1/t
Request Headersview source
Content-Type:text/plain
Origin:http://staging.mywebsite.com
Referer:http://staging.mywebsite.com/
User-Agent:Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
Request Payloadview source
{userId:null, sessionId:ccea006ec74cc613, event:Loaded a Page,…}
apiKey: "eijofijoi4r"
callbackId: 350
context: {}
event: "Loaded a Page"
properties: {url:http://staging.mywebsite.com/, referrer:,…}
sessionId: "ccea006ec74cc613"
userId: null
無論是Preview
和Response
沒有數據可用。其他屬性值得一提:
Method: POST
Status: (cancelled)
Type: Pending
有什麼可引起(cancelled)
狀態的原因是什麼?
我可以採取哪些措施來收集更多信息?