Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Result Search Keywords decreasing #15640

Open
beamylake opened this issue Feb 28, 2020 · 3 comments
Open

No Result Search Keywords decreasing #15640

beamylake opened this issue Feb 28, 2020 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@beamylake
Copy link

Hello,

we are experiencing a bit strange problem:

We've implemented the No Results Search Keywords according to your documentation and at the first glance it seemed to work alright. But while having a look at the monthly results, we recognized that the monthly/weekly reports don't match the daily reports of the no-results-search keywords.

While troubleshooting this issue, I saw that the unique keywords, as well as the number of total searches for the no-results-search were decreasing over time.

With every run of the archiving cronjob, I could witness the change in the results. Sometimes several new unique keywords showed up, but with missing several keywords that have been in the report before.

For example, my first observation (about 9am in the morning) showed about 40 unique keywords and a total search count of 43 in the no-results-search report. About five hours later only 18 unique keywords and a total search count of 37 showed up in the same report.

Strangely enough, we've implemented the same thing on another webpage, where it works absolutely flawless.

We are using Matomo 3.13.3 and the rest of our setup is still as described in #15240
Please let me know, if you need more information.

Thanks a lot!

@tsteur
Copy link
Member

tsteur commented Feb 29, 2020

I'm not 100% sure but this might be expected behaviour if a few days later there maybe was a search result for a given keyword? Not sure if that's the case maybe. I suppose could be explained if sometimes searchCount=0 is not called maybe.

@beamylake
Copy link
Author

Hi,

thanks for your reply!

We are experiencing the decrease of keywords during a days period.
Keywords that showed up in the No Result table in the morning are disappearing during the day.
Chances, that search keywords which resulted in 0 searchresults in the morning deliver results in the afternoon, are very slim in our particular case.

Nevertheless if we are looking at the daily reports and summarize the values up - these numbers don't match the weekly or monthly reports at all.

That plus the observation that the search keywords are decreasing with every run of the archive cronjob lead me to think, that probably something is going wrong within Matomo.

Do you have any advice where we should have a look at?
Can you also please provide a link, where the default behaviour of the no result search keywords is described?

Thanks a lot in advance!

@tsteur
Copy link
Member

tsteur commented Mar 5, 2020

I've tried to reproduce this and as far as I understand what happens is that it should work nicely if always a custom URL with &search_count=0 or &search_count=5 is tracked. But if this is for example missing just once, then it seems to think there was a search result. It might really depend on the tracking code if there's a chance that on some pages or sometimes maybe the &search_count=$count is not appended.

@Findus23 Findus23 added the Bug For errors / faults / flaws / inconsistencies etc. label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

4 participants