Piwik with Server side (PHP) includes

Hello!

I would like to use Piwik on a website that uses PHP to provide server-side includes.

The site has one index file that loads server-side included content into itself into the “content” section based on variables in the URL.

As best as I can tell, Piwik requires its javascript code to be in every “page”. In my case there is just one page, yet a different URL for each link (i.e., the “about us”, “services” and “contact page”, etc. all use the index file, but a PHP snippet file contains the actual content for each page).

How can I use Piwik to be able to tell the difference between pages (i.e., different content) and to provide statistics for each since the website is setup as I have described?

Thank you very much!