Tracking event error in Algolia
- salmanParticipant1 month ago #45772
Uncaught Error: Undefined engine “engine_algolia_events” for index:
When adding items to cart or clicking over the add to cart button generating this error.
I examined and found the event.wpsolr_v is going empty string in get client function.
Please let me know, Is there anything i missed in the configuration or not?
I have already enabled Capture visitor interactions.
- This topic was modified 1 month ago by salman.
wpsolrKeymaster1 month ago #45775Here is a fix that should solve your issue: https://www.dropbox.com/s/1psvstywx6nzv6q/wpsolr-enterprise.23.9-fix-algolia-events-1.zip?dl=1
Please download and install it to replace your current WPSolr Enterprise release.
salmanParticipant1 month ago #45782The user searches using autocomplete; clicking on a product leads to the product page, and then he adds the product to the cart using the add-to-cart button. The event fires and sends the event name ‘addedToCartObjectIDs’ without having object IDs.
{
“eventType”: “conversion”,
“eventName”: “addedToCartObjectIDs”,
“eventSubtype”: “addToCart”,
“index”: “AlgoliaSearch”,
“objectIDs”: [
“”
],
“userToken”: “21961c3e-dca4-4e19-a31b-707773b18f63”,
“timestamp”: 1722873728372
}salmanParticipant1 month ago #45790When I click over product links or images in autocomplete, the click event works fine with 200 responses in Algolia, but when I press the add to cart button, the conversion throws an HTTP 422 Error.
{
“eventType”: “conversion”,
“eventName”: “addedToCartObjectIDs”,
“eventSubtype”: “addToCart”,
“index”: “AlgoliaSearch”,
“objectIDs”: [
“”
],
“userToken”: “21961c3e-dca4-4e19-a31b-707773b18f63”,
“timestamp”: 1722875941359
}
You must be logged in to reply to this topic.