Content tracking for all files in folder

Hey people,

I couldn’t find my answer on this forum or anywhere else so i’m going to give it a try here;

I’m using a basic script that uses some php files to automaticly load video and images from a certain folder on the server. What i would like to know is how many times each file in that folder has been displayed.

I’m guessing it has something to do with the ‘trackContentImpression’ method(??)

Where do i have to look to get this done? I’m totally new to Piwik and searched every where but couldn’t find my answer.

All help will be welcome!