Keyword URLs refer to wrong country!


#1

Installed Piwik today on one of my websites. I have a CO.UK website. With traffic mainly coming from google UK and yahoo UK and some other European countries the keyword URLs show with .com extension like…

http://google.com/search?q=xxxxxxx

http://search.yahoo.com/search?p=xxxxxx

I’m surprised that I couldn’t find back something about this issue (unless I searched in the wrong place) which imo is an important issue especially for non-USA users.

Is this something that will be fixed in a future release? is there a temporary workaround? Should I register this as a feature request?


(Matthieu Aubry) #2

I think it is a good feature request, the search engine detection was recently rewritten and it might be possible to have an option to see by local search engines, or global


#3

In the meantime to make this work and referring to… General - Analytics Platform - Matomo

could I add for example in SearchEngines.php following lines


www.google.co.uk’ => array(‘Google.co.uk’, ‘q’, ‘search?q={k}’),
www.google.fr’ => array(‘Google.fr’, ‘q’, ‘search?q={k}’),
www.google.de’ => array(‘Google.de’, ‘q’, ‘search?q={k}’),
www.google.be’ => array(‘Google.be’, ‘q’, ‘search?q={k}’),

Would this work or is more involved to make it work?