0

我关注文档-> https://www.algolia.com/doc/guides/building-search-ui/going-further/send-insights-events/js/#installing-the-search-insights-library

但是当我点击点击时,进入我的

const insightsMiddleware = instantsearch.middlewares.createInsightsMiddleware({
        insightsClient: aa,
        onEvent(e) {
       }
});

e =>

eventType: "click"
insightsMethod: "clickedObjectIDsAfterSearch"
payload:
eventName: "Search Result Clicked"
index: "MYINDEX"
objectIDs: Array(1)
0: "MYMODEL::24"
length: 1
__proto__: Array(0)
positions: Array(1)
0: 1
length: 1
__proto__: Array(0)
queryID: "MYQUERYID"
__proto__: Object
widgetType: "ais.hits"
__proto__: Object

我不明白为什么在我的网络选项卡中我没有请求 Algolia 服务

感谢帮助 :)

4

0 回答 0