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

Site Search always loggs with results #9823

Open
gemarv opened this issue Feb 22, 2016 · 3 comments
Open

Site Search always loggs with results #9823

gemarv opened this issue Feb 22, 2016 · 3 comments
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.

Comments

@gemarv
Copy link

gemarv commented Feb 22, 2016

Site searches won't show up under "Search Keywords with No Results", but always unter "Site Search keywords" even if there are 0 results.
I tried logging with
piwikTracker.trackSiteSearch(keyword, false, searchCount)
and
_paq.push(['setCustomUrl', location.href.toLowerCase()+ '&search_count=' + 0]);

Tracking ist sent by
https://webstatistik.****.de/piwik/piwik.php?search=lalala&search_count=0&idsite=1&rec=1&r=635623&h=14&m=34&s=19&url=*******&_id=69edc544661c9f07&_idts=1441199127&_idvc=241&_idn=0&_refts=1456141849&_viewts=1456141849&_ref=https%3A%2F%2Fwww.google.de&send_image=0&pdf=0&qt=0&realp=0&wma=1&dir=0&fla=1&java=0&gears=0&ag=1&cookie=1&res=1920x1200&gt_ms=902

and gets logges by Piwik, but in the wron Report. I preferr tracking via trackSiteSearch, as the search enginge uses ajax to deliver results. I updated Piwik to 2.16.0, but still got the problem.

@tsteur
Copy link
Member

tsteur commented Feb 23, 2016

I can reproduce this:

image

I think it's probably expected behaviour currently but it seems not correct. I'd expect to see it only in the report "With no results" too. However, I think the "Site Search Keywords" is currently designed to show all keywords and the report below with "no results" is basically only a filtered view of the report containing all keywords.

ping @mattab

@mattab
Copy link
Member

mattab commented Mar 15, 2016

It works as expected: Site Search keywords lists all searches. Search Keywords with No Results lists all keyword without any search result (it is a filter of the Site Search keywords table. Maybe we could add a report footer note to explain this?

@mattab mattab added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Mar 15, 2016
@tsteur
Copy link
Member

tsteur commented Mar 15, 2016

Yes footer note or changing report title will help

@tsteur tsteur added the Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement. label Mar 15, 2016
@mattab mattab modified the milestones: 2.16.x (LTS), Mid term Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Help wanted Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Projects
None yet
Development

No branches or pull requests

3 participants