Currently, the Piwik report integration uses the general site ID, which means that any usage tracked for collection-specific site IDs is not included. We should add support for allowing collection owners to view reports for their collections, and to prevent anyone else other than highly privileged users to view other users' reports.
Potential implementation. It requires some manual configuration on both the Drupal and Piwik sides however.
Create an account on the Piwik server for Islandora users who can view collection-specific reports
On the Piwik server, give the user sufficient privileges on the Piwik sites corresponding to their Islandora collections
Code task: Add a "Islandora Piwik API key" field to each Drupal user's profile. The user should be able to edit this field so they can add/update their own key
User (or admin) populates this field with the corresponding Piwik user's API key
Code task: Add form elements to admin/reports/islandora_piwik_reports to allow a user to choose which collection (i.e., Piwik site ID) they want to view reports for
Code task: If the API key stored in the user's profile allows access to the Piwik site ID, show the user the reports; if not, deny access
Currently, the Piwik report integration uses the general site ID, which means that any usage tracked for collection-specific site IDs is not included. We should add support for allowing collection owners to view reports for their collections, and to prevent anyone else other than highly privileged users to view other users' reports.