Setting up Multiple Sub Applications and tracking differently

I’m currently exploring piwik for my app analytics. My app comprises of multiple sub applications also.

This is how my app looks like and would like to spin off piwik dashboard for each subapps and sometime based on unique url and give access to specific users based on the subapps

A

  1. A1 app.com/a1
  2. A2
    a. A21 app.com/a2/a21
    b A22 app.com/a2/a22
    3 A3 app.com/a3

Currently whenever i access individual urls it will be logged in piwik and show the visit status. I would like to spin off a dashboard for app.com/a2/a21 and app.com/a2/a22 and give access to certain users. What’s the best way to achieve this. I don’t want to setup multiple piwik profile for each subapps as i want to consolidate it into one app.