In some cases, especially on a high traffic website, Matomo may show visits that have no pageviews or other actions listed, and the Visits log entry says “0 action”, and the Real-time report shows no actions for this visit. These “0 action” visits may also be created in some rare cases when using Content Tracking.
If you experience this issue, it is likely because several Tracking API requests are sent and received at around the same time by the Matomo Tracking API server, and these concurrent requests somehow execute at the same time, and each of them may create a Visit. This is not expected but it can occur in edge cases.
This issue of “0 action” visits may also occur if you’re using Heatmaps and you track a Heatmap on a page before you tracked a pageview with
How to workaround this issue?
If you’re using Heatmaps & Session recording, check that you are tracking a pageview on pages where you also track a Heatmap
If you use Content Tracking, or have a very high traffic website and you experience this issue regularly, you can reduce drastically how often these empty visit are generated by installing a new plugin: QueuedTracking. If you’re able to install and setup QueuedTracking then all requests for a given visitors will be queued and executed in a batch, likely resolving the issue.