algolia / instantsearch-android

A library of widgets and helpers to build instant-search applications on Android.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/android/
Apache License 2.0
155 stars 28 forks source link

feat(insights): add auto-sending hits view Insights events to HitsSearcher component #388

Closed VladislavFitz closed 1 year ago

VladislavFitz commented 1 year ago
Q A
Bug fix? no
New feature? yes
BC breaks? no
Related Issue FX-2239
Need Doc update yes

Describe your change

This pull request introduces a new feature to the HitsSearcher component, enabling automatic sending of hits view Insights events with object IDs received from search results hits. The addition simplifies tracking user interactions with search results and generating valuable analytics data.

Test cases have been added to ensure the correct behavior of the new feature when the flag is enabled or disabled.