Skip to content

Commit

Permalink
[API-8940] Add sending result_load event instr
Browse files Browse the repository at this point in the history
  • Loading branch information
thehung111 authored Jan 5, 2023
1 parent d734e6b commit 0f8e40b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/ProductSearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ To send events, first retrieve the search query ID found in the search results l
Then, create the event using 1 of the helper methods Event.createXXXEvent(). For `product_click`, `product_view` events, queryId, pid, imgUrl and pos are all required.

```java
Event.createResultLoadEvent(String queryId, String pid) // send result_load event

Event.createProductClickEvent(String queryId, String pid, String imgUrl, int pos)

Event.createProductImpressionEvent(String queryId, String pid, String imgUrl, int pos)
Expand Down

0 comments on commit 0f8e40b

Please sign in to comment.