@siva538 opened this Issue on September 20th 2018

Hi Matomo team,

Thanks for the wonderful product. While the Search tracking considers "Category" for any of the captures in the application, the same cannot be reported/retrieved back using the API.

So looking for something like:

Actions.getSiteSearchKeywordsByCategory (idSite, period, date, category, segment = '')

instead of just

Actions.getSiteSearchKeywords (idSite, period, date, segment = '')

This actually makes sense to me because without Category, the keywords data is meaningless when I am searching in two different entities altogether like ex: a multi-module seller might sell Cars as well as bikes. Searches relevant to cars retrieval is needed for consuming the contents of what all the users are looking for, instead of a combined list of searches for both cars and bikes.

You may consider this as an enhancement request or bug. But would be helpful if you can consider this request.

Thanks in advance.

Kumar

@tsteur commented on September 20th 2018 Member

Makes sense. Maybe we instead rather add support for a itemCategory segment @mattab ? I'll change the title for now...

The segment would automatically search in all of the 5 categories.

Not sure how easy it is to add such a segment... I presume when there are many items per order, and the archiver does a left join, there might be a group by and a subquery missing or so. To be seen.

@siva538 commented on September 24th 2018

Sorry for interrupting on your discussion. I do not understand the reasoning behind introduction of "Segments" into this request.

The ask is, the way we are storing the tracking contents based on a category, during the time of tracking of Site Search, exactly the same way retrieval should support the "Category" based.

So requesting for enhancing of API to include the Category as well, without which the Keywords data doesn't mean anything in this -

Actions.getSiteSearchKeywords (idSite, period, date, segment = '')

@tsteur , @mattab - Please let me know if my understanding is incorrect.

@tsteur commented on September 24th 2018 Member

Using a segment you will be able to get this information. And you will be able to get even any other reports segmented by category.

@siva538 commented on September 25th 2018

Hi @tsteur . We have validated this with Segmentation today but no luck. Data is not coming up as expected in the "Site Search" reports. Please suggest what else I should be doing.

Powered by GitHub Issue Mirror