question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ais-instant-search doesn't support insightsMiddleware?

See original GitHub issue

Bug 🐞

What is the current behavior?

ais-instant-search doesn’t support insightsMiddleware

https://www.algolia.com/doc/guides/getting-insights-and-analytics/search-analytics/click-through-and-conversions/how-to/send-click-and-conversion-events-with-instantsearch/js/#connect-instantsearch-with-the-insights-middleware

What is the expected behavior?

Support middlewares.

Does this happen only in specific situations?

What is the proposed solution?

Create a new props: insightsMiddleware

What is the version you are using?

3.4.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jonathan-birdcommented, Feb 17, 2021

@Haroenv You are an absolute lifesaver!! I’ll send you a virtual bottle of wine from Australia 😄

1reaction
jonathan-birdcommented, Feb 17, 2021

@Haroenv https://codesandbox.io/s/vue-instantsearch-broken-page-query-param-5z5qg?file=/src/Insights.js

To replicate, add “?page=5” to the URL, you will see it removes it.

Go to insights.js, comment out the this.instantSearchInstance.use(insightsMiddleware);, save, then add it again and you will see ?page=5 stays in the URL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

middleware | Vue InstantSearch - Algolia
The middleware function returns an object with onStateChange , subscribe , and unsubscribe functions. The middleware function doesn't perform any actions itself ...
Read more >
How to make Algolia instant search with Vue query records ...
I want the queries to be made only when the user starts typing, that way, it doesn't block the rendering. vue.js · algolia...
Read more >
Send Insights API events to Algolia with InstantSearch.js
Your browser can't play this video. Learn more. Switch camera.
Read more >
vue-instantsearch | Yarn - Package Manager
Bug Fixes · highlight: don't remove whitespace-only nodes (#827 (1358b6a), closes #826 · range-input: fix range input min and max values fallbacks (#835...
Read more >
What is IaaS? Infrastructure as a Service | Microsoft Azure
What is IaaS? Learn about infrastructure as a service (IaaS) cloud computing. Discover the advantages of using an instant computing infrastructure online.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found