0

I want to collect the customer based search query in Magento 2. In the database, I can see the table, search_query but in the table I can't see the customer ID field. In order to get the customer based search query, what I have to do?

Could anyone please help me with this?

0

You can add a new column to search_query table, something like customer_id, then you should find a place where Magento log(fill) search_query table, add fill this previously added column.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.