Hello Algolia team!
I’m trying to add analytics tags to my search following the doc Segment your analytics data | Algolia
In particular this example:
import { Configure } from 'react-instantsearch-hooks-web';
<Configure
analyticsTags={[YourAnalyticsTags]}
/>
However, type checker complains about it since Configure doesn’t allow analyticsTags key.
Looking in the code, Configure accepts PlainSearchParameters which is a restricted version of SearchParameters that doesn’t include analyticsTags and many other documented parameters.
However, if I ignore type error, I achieve the desired result and the tags are being added to the request params.
It looks like something worth either fixing or aligning with documentation.
Thanks!