I have put events on the website that I would like to track using raw data by accessing the piwik database.
From what I understand, piwik_log_action seems to to be the table storing events and I should expect the details of the event to be in piwik_log_link_visit_action. But I’m not able to find event category/action that would relate to the event in these tables. Are they stored in one of the BLOB’s? Not sure.
Don’t want to modify the database, just read it. Ideally want to write SQL queries that will let me make any kind of report related to traffic or events. Going ahead, we want to put events on product impressions too (not just clicks, so we expect the db size to increase very quickly) and so was trying to check if I could directly query the db to extract insights.
I saw there is a reporting API too but haven’t tried it yet. Querying an API for large amounts of data might be slower than firing a SQL query I presume.