algolia / algoliasearch-helper-flutter

⚡️ Building block to create instant-search applications with Flutter
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/flutter/
Other
22 stars 15 forks source link

Is it possible to send segment events data directly to Algolia? #71

Open jeyaraman22 opened 1 year ago

jeyaraman22 commented 1 year ago

Use case while going through algolia documentation, came across this page, which mentions that we can configure the segment to send events data directly to algolia.

while sending events to segment we have to pass the algolia params as mentioned below: analytics.track('Product Clicked', { product_id: '507f1f77bcf86cd799439011', sku: 'G-32', category: 'Games', name: 'Monopoly: 3rd Edition', brand: 'Hasbro', variant: '200 pieces', price: 18.99, quantity: 1, coupon: 'MAYDEALS', position: 3, url: 'https://www.example.com/product/path', image_url: 'https://www.example.com/product/path.jpg',

/// Algolia-related properties index: 'my-algolia-index', eventType: 'click', queryID: 'fd0bbaadc287937s7671d00f1d053b88', objectID: '131280270' });

but we couldn't able to get any of the above required params from the flutter algolia plugins ( in my case I've used algolia_helper_flutter: ^0.2.3).

Ref link: https://www.algolia.com/doc/guides/sending-events/connectors/segment/

NOTE: All the segment and algolia configurations were properly done as per the documents.

Proposal Expectation: Need the algolia params to pass along with segment events data.

BruceWayne3344 commented 1 year ago

@jeyaraman22 , The documentation and updating for the most recent algolia_helper_flutter plugin is still incomplete. In the most recent update, we have support but it is not available since specific conventions and the publishing score are crucial. Once these issues are handled, we will have options for workarounds.  image

Abisheik-IAN commented 1 year ago

Hi @BruceWayne3344 @jeyaraman22 still the click analytics is not updated in the latest plugin update, the code in searchstate page is not merged properly. I have attached the image below, can we do anything regarding this?

Screenshot 2023-05-24 at 5 28 22 PM