nextra icon indicating copy to clipboard operation
nextra copied to clipboard

Support a callback function to capture search results.

Open Mike-Logit opened this issue 1 year ago • 1 comments

I can't find a way to add a callback function that gets called with the search results (from flexsearch) so that I can add some analytics/logs etc... about what the user searched for.

I checked the code but the theme config options are very limited, and the search function isn't accessible or open to extension.

I don't think it's supported but it would be great to have if possible. I don't think it would be too difficult to add.

Mike-Logit avatar Aug 06 '24 10:08 Mike-Logit

Hi, do you still need it? Is there an alternative in other search engine like algolia, or orama a with these callbacks functions?

dimaMachina avatar Oct 17 '24 00:10 dimaMachina

closing due no reply

dimaMachina avatar Nov 02 '24 12:11 dimaMachina