• Resolved Juanzo

    (@jmzolezzi)


    Thanks for this useful plugin!

    I wonder, I’d like to use “Use Algolia with the native WordPress search template” so that search results show properly at our Blocksy site.

    Yet, I wonder if this option I’m able to track events and view Search Analytics inside our paid Algolia plan.

    Not sure if events need us to use the option “Use Algolia with Instantsearch.js”, or if instantsearch is also included in the other option.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi @jmzolezzi

    I have a hopeful hunch that the WP filter you need is https://github.com/WebDevStudios/wp-search-with-algolia/blob/main/includes/class-algolia-search.php#L116-L142

    That filter allows you to specify and customize API parameters for the “backend search” queries before they get sent to Algolia. Docs information about those can be found at https://www.algolia.com/doc/api-reference/search-api-parameters/

    They have sections for personalization as well as Analytics if you scroll towards the bottom. How to best implement your needs with this, I can’t say though so it may take some tinkering/trial/error but hopefully this is at least the entry way that’s needed.

    Thread Starter Juanzo

    (@jmzolezzi)

    Thanks for your reply @tw2113 !

    I only want to view Search Analytics reports at Algolia, to be able to view what our clients search on our site, hopefully without having to adjust anything in the code.

    Should we tweak or apply anything at the plugin to be able to accomplish this? Is this enabled automatically with “Use Algolia with Instantsearch.js”?

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Your best bet would be the filters here, because we don’t have analytics configuration set up for anything out of box.

    If you went with the instantsearch route, you’d still need to do some customization of the templates/widgets because we don’t have anything configured there either. We presently go with the solid foundation and make it as easy as possible to extend on a per-need basis.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Send events for Analytics using native WordPress search template’ is closed to new replies.