Currently keywords are stored encoded in the mysql log table.
Code is around: https://github.com/piwik/piwik/blob/master/core/Tracker/Visit.php#L693
For some search engine, like yandex.ru, keywords are encoded in the URL. Piwik should have, for each search engine encoding keywords, the encoding used, and Piwik should only store utf-8 valid keywords in the log table.
This would fix two bugs:
- Russian keywords from the most popular russian search-engine ‘yandex.ru’ are shown like number of questions in the UI.
- Searching for a keyword using piwik in-table search, would also work for exotic keyword. Currently you search for "" piwik will look for such a keyword in the list, but it won’t look for the encoded value of this keyword. It expects the keyword to be stored at the right format.
If you encounter this bug, please report any example URL of a search in a search engine that doesn’t work well with Piwik. We need more example to solve this bug. thanks!
Keywords: 0.2.23
The text was updated successfully, but these errors were encountered:
The problem isn’t associated with referer search engine I think, same is happening for visits from google.com if the keywords are georgian. Here are most popular georgian search engines: google.ge, holmes.ge
(In 1014) – cleaning up the search engine parsing code, adding tests, recording UTF8 keywords in the DB rather than encoded (as tables are now utf8, refs #5730)
- adding tests in url.test.php and fixed double encoding in some edge cases
- fixed #589 Piwik fails to properly decode and store some chinese keywords (eg. from baidu.com)
- fixed #435 Exotic encoded keywords should be stored as utf-8 in the DB
- refs #575 hopefully fixed, will give it a few days of tests on piwik.org
Currently keywords are stored encoded in the mysql log table.
Code is around: https://github.com/piwik/piwik/blob/master/core/Tracker/Visit.php#L693
For some search engine, like yandex.ru, keywords are encoded in the URL. Piwik should have, for each search engine encoding keywords, the encoding used, and Piwik should only store utf-8 valid keywords in the log table.
This would fix two bugs:
- Russian keywords from the most popular russian search-engine ‘yandex.ru’ are shown like number of questions in the UI.
- Searching for a keyword using piwik in-table search, would also work for exotic keyword. Currently you search for "" piwik will look for such a keyword in the list, but it won’t look for the encoded value of this keyword. It expects the keyword to be stored at the right format.
If you encounter this bug, please report any example URL of a search in a search engine that doesn’t work well with Piwik. We need more example to solve this bug. thanks!
Keywords: 0.2.23
The text was updated successfully, but these errors were encountered: