Skip to content

Commit

Permalink
EventsSDK: Update Search Params in Test Site (#94)
Browse files Browse the repository at this point in the history
Update queryId and searchId params in Test Site to match expected
pattern.

R=mtian, hyu
TEST=manual

Ran test site and there was a successful response for the Send Search
Event buttonEventsSDK: Update Search Params in Test Site

Co-authored-by: Ethan Jaffee <ejaffee@yext.com>
  • Loading branch information
ejaffee01 and Ethan Jaffee committed Sep 25, 2023
1 parent a0e9486 commit e9f7879
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test-site/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ export function fireChatEvent() {

export function fireSearchEvent() {
analyticsProvider.report({
chat: undefined,
action: 'PRODUCT',
chat: null,
search: {
searchId: '1',
queryId: '1',
searchId: '11111111-1111-1111-1111-111111111111',
queryId: '11111111-1111-1111-1111-111111111111',
verticalKey: 'test-vertical-key',
isDirectAnswer: false,
versionLabel: 'PRODUCTION',
Expand Down

0 comments on commit e9f7879

Please sign in to comment.