Skip to content

Commit

Permalink
Merge pull request #96 from visenze/feature/result_load_docs
Browse files Browse the repository at this point in the history
[API-8940] Add sending result_load event instruction
  • Loading branch information
thehung111 authored Jan 5, 2023
2 parents d734e6b + 0f8e40b commit 562ab35
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 562ab35

Please sign in to comment.