Gotchas when using Piwik for per-page analytics?

Hi there!

I’m creating a website where users will want to see traffic stats for the content they generate, and I’m looking into doing this using piwik widgets.

I’ve set my system up so that when a user creates some content, i use the API to create a site in Piwik called something like 'http://mydomain/user/123/content/456", and when that page is rendered I write the tracking code, and display a traffic widget.

I can think of a few potential gotchas with this

  1. performance with eventually tens of thousands of small sites in Piwik
  2. Dashboard full of 10000s of sites

I’m hoping 1. should be OK as Piwik works with large installations already

2 - is there some way to mark sites not to be included in the dashboard so I can find the few sites I am interested in?

many thanks!

harry

You should use segmentation with &segment=pageUrl==ENCODED_URL segment: Segmentation - Compare segments of visitors - Analytics Platform - Matomo