Can Piwik Track and Show visits to pages tagged with a specific ID?


(pekka) #1

Hello,

I am looking for a specific feature and hope that you do not mind my asking for it here. I did try playing around with an empty installation but with zero data, it is of course very difficult to find out features.

In addition to general web site statistics, I would like to count all views of certain product pages. The product pages come from a database and are called using a URL with GET parameters.

Real world example:

  • There is a product page called, say, “products.php”
  • There is a range of products with serial numbers from 1 to 100
  • Each product is shown using “products.php?product=xxx”
  • I would like to be able to show in an intranet widget how many times the page for a certain product (e.g. the one with the number, say, 41) has been viewed in the past x number of months, weeks, days and so on.

Is something like this possible, or at least thinkable, in Piwik at the moment? I don’t necessarily need a finished solution, just a few pointers and whether it’s worth getting into at this point.

Your replies would be much appreciated. Thank you.

Best regards,
Pekka


(Matthieu Aubry) #2

it is definitely doable by calling the API for this page view, check out the API documentation on dev.piwik.org