matomo-org/matomo

Site Search always loggs with results

Open

#9,823 opened on Feb 22, 2016

View on GitHub
 (3 comments) (0 reactions) (0 assignees)PHP (2,847 forks)batch import
Help wantedc: Usability

Repository metrics

Stars
 (21,513 stars)
PR merge metrics
 (Avg merge 8d 11h) (106 merged PRs in 30d)

Description

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.

Contributor guide