I am running Piwik 1.11 for a fairly large site, and we recently added site search to our site, and are tracking it in Piwik. The site search report is showing up in Piwik as one would have expected, so all is working well.
However, in using Piwik, I have become quite proficient in running SQL queries directly against the Piwik database to get answers to questions not readily available within the Piwik web interface (e.g. what proportion of users visiting page A subsequently visited page B, etc). I would like to do the same for search, but I cannot figure out how search information is captured in the database.
Could someone help me along? I am assuming that this must be done using the piwik_log_action and piwik_log_link_visit_action tables somehow, but I cannot figure out how it is working or where the data is stored. Given that the reports are showing up in the web interface, I know the data is stored somewhere, I just cannot find where. I have searched all documentation, tried to find the information in the Piwik code, searched the forums, but I am stumped.
Very grateful for clues.
Staffan
However, in using Piwik, I have become quite proficient in running SQL queries directly against the Piwik database to get answers to questions not readily available within the Piwik web interface (e.g. what proportion of users visiting page A subsequently visited page B, etc). I would like to do the same for search, but I cannot figure out how search information is captured in the database.
Could someone help me along? I am assuming that this must be done using the piwik_log_action and piwik_log_link_visit_action tables somehow, but I cannot figure out how it is working or where the data is stored. Given that the reports are showing up in the web interface, I know the data is stored somewhere, I just cannot find where. I have searched all documentation, tried to find the information in the Piwik code, searched the forums, but I am stumped.
Very grateful for clues.
Staffan