Dashboard and widgets for specific URLs


#1

I need to put an analytics dashboard or widget on website I’m developing which shows a logged in user the stats for their home page - a bit like Facebook offer for Pages. The user can only access and see their home page if they are logged into the site.

So if my instance of Piwik is collecting stats for www.somedomain.com I’d like to track the stats for

www.somedomain.com/user1homepage
www.somedomain.com/user2homepage
www.somedomain.com/user3homepage

and put a widget on each page that shows the stats for that page. Is there some way to specify the user*homepage url in the widget url parameters to act as a filter on the main site stats?

Any ideas? I’d rather use something like Piwik that write something from scratch.

Dave


(Matthieu Aubry) #2

You can either

  1. create a different “piwik website” and put a different tracking code on each page.
  2. or you can load the widgets “segmented” to the particular page, eg. &segment=pageUrl==http://URL_HERE
    See Segmentation - Compare segments of visitors - Analytics Platform - Matomo

#3
  1. works just fine for what I need. Segmentation looks pretty powerful.
    Thanks
    Dave