instantsearch
instantsearch copied to clipboard
Content injection between Hits for InstantSearch.js
We recently published a guide on how to inject custom content between hits, for React InstantSearch, and we'd like to gather interest in adapting this guide for InstantSearch.js.
What's Content injection between Hits?
Content injection consists of inserting data between search results. This pattern can be helpful for a variety of use cases:
- Displaying promotional or editorial content based on the search parameters, like the query or active refinements
- Inserting promoted brand banners between hits
- Showing customized suggestions based on the user profile
How to show your interest?
Simply add a "👍" reaction on this issue, and optionally subscribe to its notifications. We will share updates here.
Very keen for this to be implemented in the Vue version as well as the React library.
Also keen to see the React InstantSearch Hooks version.
I'd love to see this instantsearch.js please!
Yes please add this for instantsearch.js
+1 from me 👍
+1
+1 !
We need this function on the product category page to show some banner or content between two products.
While this isn't yet planned, I'm on support today so I have made a demo on content injection in InstantSearch.js, you can see that here: https://github.com/algolia/doc-code-samples/pull/412
really want this feature in instantsearch.js, we currently have tiles injected between search results which i added to my code a couple years ago, and we thought it would be available for the algolia JS version...