Multisites in subdirectories are being tracked in the main site Matomo Dashboard

Hi everyone.

Hoping someone can offer some insight. We’ve installed Matomo on a Wordpress multisite install, but we’re running into an issue where other sites in the network are being tracked in the main domain’s Matomo dashboard.

Example:
main.domain
main.domain/rocket
main.domain/breakfast

All three have their own Matomo dashboards, but Rocket and Breakfast haven’t had any visits tracked. I discovered today that all the traffic from Rocket and Breakfast are in main’s dashboard as subdirectories that were visited.

It’s not a huge deal as the data is there, and we can segment it by the Page URL, but we were hoping to grant direct access to clients of each multisite their own data. Which we can’t do now, as they’d have access to everyone’s data.

Any suggestions are how to resolve this issue?