Custom User Dashboard with custom URLs

We have a page where users create products and promote them over the net and then sell them through our shop.

Now we would like to give every user access to Piwik, but he should only see his relevant “products” / URLs. How can solve that? In principle you would have to insert another JavaScript code in each relevant page, or? Can you possibly make it via variable? Does anyone have interest in this project?