Hello matt, thank you very much for your answer. After posting the comment, I have read a lot of similar topics, but was unable to find a solution.
However, the visit from Binq is actually the cached page view. Here is the Apache log entry for a Piwik script call:
83.83.xxx.xxx - - [26/Oct/2014:12:40:59 -0700] "GET /pwk/piwik.js HTTP/1.1" 200 23150 "http://cc.bingj.com/cache.aspx?q=search+query&d=xxxxxxxx&mkt=nl-NL&setlang=nl-NL&w=xxxxxxx" "Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0"
So I don’t expect correct representation of such ‘visits’.
But there is a strong issue with showing visit info for visitors from Yandex. Almost all of such visits are shown as ‘Direct entry’.
For examle, log entries for a visit:
176.15.xxx.xxx - - [25/Oct/2014:13:09:46 -0700] "GET /path/page HTTP/1.1" 200 2233 "http://yandex.ru/yandsearch?text=search+query&lr=213" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36"
176.15.xxx.xxx - - [25/Oct/2014:13:10:04 -0700] "GET /pwk/piwik.js HTTP/1.1" 200 23114 "http://mydomain.com/path/page" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36"
176.15.xxx.xxx - - [25/Oct/2014:13:10:05 -0700] "GET /pwk/piwik.php?action_name=page%20%E2%80%93%20site%20name&idsite=1&rec=1&r=396474&h=0&m=10&s=11&url=http%3A%2F%2Fmydomain.com%2Fpath%2Fpage&_id=683bc85c37780e29&_idts=1414267811&_idvc=1&_idn=1&_refts=0&_viewts=1414267811&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=0&gears=0&ag=0&cookie=1&res=1280x1024>_ms=0 HTTP/1.1" 200 198 "http://mydomain.com/path/page" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36"
I checked the log_visit table in Piwik database and found that referer_name and referer_url fields for the visit entry (and for other visits from Yandex) are empty.
Both referer page and target page are non-HTTPS.
I tried to use Firebug to catch possible redirects but probably I am not experienced enough to do that. All that I know, all visits from Yandex are performed via their counter redirect (http://yandex.ru/clck/jsredir).
I wonder, do I have wrong configured website or Piwik installation, or Piwik can’t properly process Yandex visits.