Closed agustinlacuara closed 4 months ago
Experiencing the same issue, as you can see below there is no queryID
key in raw
object.
cc @aallam
Seems to be merged for next release! https://github.com/algolia/api-clients-automation/pull/2801
To access this new parameter, there is no need to update algolia_flutter_helper
package.
SearchResponse.queryId
is now working correctly!
I'm having trouble getting the queryId from HitsSearch in my Flutter App (Im using Flutter Helper and Algolia Insights as docs recommend).
In my pubspec.yaml:
This is how I set my HitsSearcher
Also added this in the paginationController to see if it works:
Now, the problem is that, as defined in the SearchResponse model from the Flutter Helper package, it should have (if the setup is ok) a response.queryID.
This parameter is optional in the model, but can't get it to be returned.
Also, I found out that _productSearcher has a field called queryId (which is also optional) and again, cant get it to be else than null.
So, after tryng to find queryId I found out that there are more than one place where it can be reached from. But from any of those I always get a null as queryId.
This is a mandatory input for the click and conversion events after search. Which are really important for the personalization. So i beleive there ir something missing from my configs. But docs for this functionality is still in progress i assume.
Expected behavior 💭
Environment: