@toto So you’re saying if you only import data for March, it displays correctly, but if you import it into a DB that already contains older data, it does not?
In my case I just checked the log_visit
table, detecting that, despite the import_logs.py
script claiming that lines were recorded, none actually are. E.g.:
MariaDB [org_piwik]> select count(distinct log_visit.idvisitor) from log_visit where DATE(log_visit.visit_last_action_time) > '2020-02-24' and log_visit.idsite IN (4,6);
+-------------------------------------+
| count(distinct log_visit.idvisitor) |
+-------------------------------------+
| 0 |
+-------------------------------------+
1 row in set (2.116 sec)
I’m planning on enabling further debugging as per Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3 to hopefully figure out why these requests are not tracked/recorded.