Skip to content

Conversation

@raed667
Copy link
Collaborator

@raed667 raed667 commented Dec 3, 2024

What

In @algolia/recommend-js & @algolia/recommend-react we want to allow users to be able to send insights events.

For this to be possible we want each recommend widget to add the following data to the hits when possible:

__position?: number;
__indexName: string;
__queryID?: string;

Picking up the work done on #124 & #123

@raed667 raed667 requested a review from marialungu December 3, 2024 10:11
@raed667 raed667 requested a review from dhayab December 3, 2024 10:12
@github-actions
Copy link

github-actions bot commented Dec 3, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-12-18 10:33 UTC

Copy link
Member

@dhayab dhayab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only have a couple of nitpicky remarks, other than that it works for me 😃

@raed667 raed667 changed the title feat: Add queryID & postion as a preperation for Recommend Analytics feat: Add queryID & postion as a preperation for Recommend Analytics [RECO-2391] Dec 3, 2024
@raed667 raed667 marked this pull request as ready for review December 3, 2024 13:25
Copy link
Collaborator

@marialungu marialungu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raed667 raed667 merged commit c5e44de into next Dec 18, 2024
1 check passed
@raed667 raed667 deleted the feat/analytics/return-query-id branch December 18, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants