magento2-matomo
magento2-matomo copied to clipboard
First search query is executed without page_size by including the "search.result" block
Hello,
by including the "search.result" block in the "matomo_observer" observer, the first search query is performed without page_size and lists all products on one page. Only the second search query with the identical search term is paginated again. Can anyone else confirm this behavior?
We also had this issue in Magento 2.4.3 and prepared a fix for it in https://github.com/fnogatz/magento2-matomo/pull/61, but after re-testing on Magento 2.4.3-p2 - the issue is gone for some reason. We're not sure what change fixed the issue for us.